Matthew Raymer
2660b91995
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
3 months ago
Trent Larson
6f4fbc697f
fix 'give' query and restore confirmClaim method
3 months ago
Matthew Raymer
e0aded04b4
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
3 months ago
Matthew Raymer
f4c5567471
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.
4 months ago
Matthew Raymer
89d970da1d
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.
4 months ago
Matthew Raymer
c708716675
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
4 months ago
Matthew Raymer
cee7a6ded3
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.
4 months ago
Trent Larson
62ae603778
fix linting
4 months ago
Matthew Raymer
d9085ced6d
(chore): cleaning up formatting and relative references
4 months ago
Trent Larson
fe71c3f754
make member view available to onboard meeting organizer and reorganize buttons
5 months ago
Trent Larson
64830eeb05
fix linting (and change a little wording in onboarding page)
5 months ago
Trent Larson
5ff91186e2
add onboarding pages for the list and members, and refine the setup
5 months ago
Trent Larson
2a23587c3b
make screen where user can create a group onboarding meeting
5 months ago
Trent Larson
d57aee203f
add instructions for contacting potential links to hidden people
5 months ago
Trent Larson
802130d3b6
fix the marker storage & clearing logic, and add the second profile map when used
5 months ago
Trent Larson
5763fe4e49
add page for user profile view and update endpoints; rename any "rowid" to "rowId"
5 months ago
Trent Larson
f3f8aeefc3
add discovery of people's profiles, and update profile endpoints for latest server version
5 months ago
Matthew Raymer
f8db626d14
Fixes for APP_SERVER definition issue
5 months ago
Trent Larson
6514f52b92
change all copied contact URLs to contact-import, and handle multiples & singles separately
5 months ago
Trent Larson
07c4e58e87
add sanity checks for importing bulk contacts, eg. when there is a truncated link
5 months ago
Trent Larson
702e44872f
switch so personal contact JWT is link to this server (not endorser.ch), make empty-did URL show user's info
6 months ago
Matthew Raymer
be8ba12df6
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.
6 months ago
Trent Larson
c98859fc7e
add more debug information on errors caught from server
6 months ago
Trent Larson
a99a0fb5cc
change the contact-sharing data into a JWT for the contact-import page
6 months ago
Trent Larson
762dfa0f2a
fix the verificationMethod type in the local ETHR DID resolver
6 months ago
Trent Larson
e67ae23879
add number of confirmers to certificate & show DID info when appropriate
6 months ago
Trent Larson
2cb70f8497
add copy-link on the claim view page & enable certificate
6 months ago
Trent Larson
6d1681cb07
refine claim certificate view
6 months ago
Trent Larson
5a56f9ab30
tweak verbiage
6 months ago
Trent Larson
0a314934b8
add invite-one-accept screen dedicated to accepting invitations
6 months ago
Trent Larson
6ffbcfa9a1
catch more errors if something catastrophic happens to encrypted data
6 months ago
Trent Larson
bb3807a805
switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
6 months ago
Trent Larson
7acf921e82
refactor some verbiage & look-and-feel
7 months ago
Trent Larson
10bb79f695
refactor project screen: add action to record a give from it, and add checks to give confirmation buttons
7 months ago
Trent Larson
7777fa202b
finish separation of daily reminder message, bump version to 0.3.34
7 months ago
Trent Larson
2c0c7ac256
add minute to notification scheduling & fix a bug, plus other tweaks
7 months ago
Trent Larson
c004706425
add pages to see all the offers to user and offers to user's projects
8 months ago
Trent Larson
0d880d1edc
add "+" to numbers if hit limit (>50), fix linting
8 months ago
Trent Larson
195ba6c759
add new projects to front page
8 months ago
Trent Larson
67b2b7199a
fix tests (from project-page switch 4 commits ago) and fix linting
8 months ago
Trent Larson
4168c37074
add large notice when user has a new offer to them
8 months ago
Trent Larson
53abf964b2
add basic page-by-page onboarding help
8 months ago
Trent Larson
149481d468
finish the loading of an invite RegisterAction when clicking on a link
9 months ago
Trent Larson
1bfdcab90b
add page for one-on-one invites (incomplete)
9 months ago
Trent Larson
1fccf0fa92
change give provider to a single value
9 months ago
Trent Larson
9925800fbd
allow details on a give for a providing project (so we can attach a picture)
9 months ago
Trent Larson
7c70e699d8
switch BVC-meeting-end gift to be from the plan, and add display of providers on claim-view page
9 months ago
Trent Larson
a271d9c206
add link directly into contact page to add a new contact via "contactJwt" query parameter
9 months ago
Trent Larson
8111b0e5cf
modify the settings to allow account-specific settings, eg. for "isRegistered"
9 months ago
Trent Larson
9a9c9d3a06
jump from ideas directly into giving dialog choice
10 months ago