Matthew Raymer
26b98d8b0a
wip: Improve deep link validation and error handling
...
- Add comprehensive route validation with zod schema
- Create type-safe DeepLinkRoute enum for all valid routes
- Add structured error handling for invalid routes
- Redirect to error page with detailed feedback
- Add better timeout handling in deeplink tests
The changes improve robustness by:
1. Validating route paths before navigation
2. Providing detailed error messages for invalid links
3. Redirecting users to dedicated error pages
4. Adding parameter validation with specific feedback
5. Improving type safety across deeplink handling
2025-03-18 09:19:35 +00:00
6c538de762
fix 'give' query and restore confirmClaim method
2025-03-16 17:06:01 -06:00
Matthew Raymer
c9536dd643
refactor: Replace console logging with logger utility
...
- Add logger import across multiple view components
- Replace console.error/warn/log with logger methods
- Update error handling to use structured logging
- Improve type safety for error objects
- Add crypto-browserify polyfill for browser environment
The changes improve logging by:
1. Using consistent logging interface
2. Adding structured error logging
3. Improving error type safety
4. Centralizing logging configuration
5. Fixing browser compatibility issues
Affected files:
- Multiple view components
- vite.config.ts
- Build configuration
2025-03-11 09:35:55 +00:00
Matthew Raymer
a9fd33fff6
test: enhance deep link testing with real JWT examples
...
Changes:
- Add real JWT example for invite testing
- Add detailed JWT payload documentation
- Update test-deeplinks.sh with valid claim IDs
- Add test case for single contact invite
- Improve test descriptions and organization
This improves test coverage by using real-world JWT examples
and valid claim identifiers.
2025-03-01 12:28:48 +00:00
Matthew Raymer
651bab8853
docs: improve endorserServer.ts documentation and types
...
Changes:
- Add comprehensive JSDoc headers with examples
- Improve function documentation with param/return types
- Add module-level documentation explaining purpose
- Clean up testRecursivelyOnStrings implementation
- Add type annotations to cache functions
- Simplify serverMessageForUser implementation
This improves code maintainability by adding clear documentation
and improving type safety throughout the endorser server module.
2025-02-27 13:00:53 +00:00
Matthew Raymer
79ef59c5a9
refactor: migrate interfaces to dedicated directory
...
Reorganizes TypeScript interfaces into a modular structure:
- Create dedicated interfaces directory with specialized files
- Split interfaces by domain (claims, common, limits, records, user)
- Update imports in endorserServer.ts to use new interface locations
- Replace 'any' types with 'unknown' for better type safety
- Add proper type imports and exports
This improves code organization and maintainability by:
- Centralizing interface definitions
- Reducing file size of endorserServer.ts
- Making interface relationships more explicit
- Improving type safety with stricter types
2025-02-24 11:21:08 +00:00
Matthew Raymer
b5b5d45b99
feat(logging): enhance debug logging across app
...
Improves application logging and error tracking:
- Add structured logging in main.common.ts for app initialization
- Enhance API error handling with detailed context in services
- Add deep link debugging in Capacitor platform
- Improve plan service logging with retry information
- Update endorser server logs for better cache debugging
Technical changes:
- Replace console.error with info for non-critical cache misses
- Add component context to global error handler
- Add detailed logging for plan loading and retries
- Improve deep link route matching logs
- Add mount state logging for Capacitor
This improves debugging capabilities across web and mobile platforms.
2025-02-20 10:36:47 +00:00
Matthew Raymer
15783cdbe6
(chore): cleaning up formatting and relative references
2025-02-06 14:08:54 +00:00
Matthew Raymer
52cbe81f23
(chore): merge mostly pathway changes
2025-02-06 13:34:48 +00:00
bb5913fef4
make member view available to onboard meeting organizer and reorganize buttons
2025-02-05 20:07:25 -07:00
6a070a1715
fix linting (and change a little wording in onboarding page)
2025-02-03 16:36:13 -07:00
3a56d83dd6
add onboarding pages for the list and members, and refine the setup
2025-02-03 12:18:13 -07:00
Matthew Raymer
2a7178db53
Merge changes
2025-02-03 13:27:36 +00:00
5943df756a
make screen where user can create a group onboarding meeting
2025-02-02 17:06:51 -07:00
888e87f6c6
add instructions for contacting potential links to hidden people
2025-01-29 21:01:35 -07:00
e6242e2491
fix the marker storage & clearing logic, and add the second profile map when used
2025-01-21 18:03:32 -07:00
59b433830d
add page for user profile view and update endpoints; rename any "rowid" to "rowId"
2025-01-20 12:43:05 -07:00
c1058499c7
add discovery of people's profiles, and update profile endpoints for latest server version
2025-01-18 20:02:20 -07:00
Matthew Raymer
aa4edb9742
Fixes for APP_SERVER definition issue
2025-01-12 03:47:33 +00:00
Matthew Raymer
6903a02df6
Merge fixes
2025-01-11 12:45:43 +00:00
e97bc4893e
change all copied contact URLs to contact-import, and handle multiples & singles separately
2025-01-09 20:10:00 -07:00
181de625ba
add sanity checks for importing bulk contacts, eg. when there is a truncated link
2025-01-07 20:56:39 -07:00
2e7700731b
switch so personal contact JWT is link to this server (not endorser.ch), make empty-did URL show user's info
2025-01-06 08:52:10 -07:00
Matthew Raymer
8b77d2b573
Refatored vite.config to be a bit more streamlined before adding alternate build options. This did end up requiring me to remove @ from imports for some reason. Tests came out fine.
2025-01-05 08:38:15 +00:00
caf46ab383
add more debug information on errors caught from server
2024-12-28 16:29:57 -07:00
e286a8f002
change the contact-sharing data into a JWT for the contact-import page
2024-12-23 20:07:14 -07:00
bf6035ec47
fix the verificationMethod type in the local ETHR DID resolver
2024-12-23 20:05:33 -07:00
8bf9640c10
add number of confirmers to certificate & show DID info when appropriate
2024-12-20 15:49:42 -07:00
124ff65aa2
add copy-link on the claim view page & enable certificate
2024-12-18 16:31:27 -07:00
6749c1ec2d
refine claim certificate view
2024-12-18 16:05:43 -07:00
dd6598cd99
tweak verbiage
2024-12-13 13:42:21 -07:00
156950c7f0
add invite-one-accept screen dedicated to accepting invitations
2024-12-13 13:27:22 -07:00
af197f7c11
catch more errors if something catastrophic happens to encrypted data
2024-12-10 20:02:49 -07:00
251649e6fe
switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
2024-12-08 19:34:31 -07:00
1714f4d087
refactor some verbiage & look-and-feel
2024-11-30 13:16:58 -07:00
8db7ac3f6f
refactor project screen: add action to record a give from it, and add checks to give confirmation buttons
2024-11-28 11:26:51 -07:00
2758af6e6e
finish separation of daily reminder message, bump version to 0.3.34
2024-11-24 13:09:40 -07:00
f57d3b7707
add minute to notification scheduling & fix a bug, plus other tweaks
2024-11-15 20:39:08 -07:00
c004706425
add pages to see all the offers to user and offers to user's projects
2024-11-05 19:03:12 -07:00
0d880d1edc
add "+" to numbers if hit limit (>50), fix linting
2024-11-05 09:06:04 -07:00
195ba6c759
add new projects to front page
2024-11-04 19:57:39 -07:00
67b2b7199a
fix tests (from project-page switch 4 commits ago) and fix linting
2024-11-03 15:23:03 -07:00
4168c37074
add large notice when user has a new offer to them
2024-11-03 10:39:28 -07:00
53abf964b2
add basic page-by-page onboarding help
2024-10-23 08:27:16 -06:00
149481d468
finish the loading of an invite RegisterAction when clicking on a link
2024-10-06 20:01:07 -06:00
1bfdcab90b
add page for one-on-one invites (incomplete)
2024-10-05 18:35:59 -06:00
1fccf0fa92
change give provider to a single value
2024-09-30 18:33:15 -06:00
9925800fbd
allow details on a give for a providing project (so we can attach a picture)
2024-09-30 18:11:07 -06:00
7c70e699d8
switch BVC-meeting-end gift to be from the plan, and add display of providers on claim-view page
2024-09-28 17:31:58 -06:00
a271d9c206
add link directly into contact page to add a new contact via "contactJwt" query parameter
2024-09-27 18:41:11 -06:00