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
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
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
6 months ago
Matthew Raymer
f8db626d14
Fixes for APP_SERVER definition issue
6 months ago
Trent Larson
6514f52b92
change all copied contact URLs to contact-import, and handle multiples & singles separately
6 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
e67ae23879
add number of confirmers to certificate & show DID info when appropriate
7 months ago
Trent Larson
2cb70f8497
add copy-link on the claim view page & enable certificate
7 months ago
Trent Larson
6d1681cb07
refine claim certificate view
7 months ago
Trent Larson
5a56f9ab30
tweak verbiage
7 months ago
Trent Larson
0a314934b8
add invite-one-accept screen dedicated to accepting invitations
7 months ago
Trent Larson
6ffbcfa9a1
catch more errors if something catastrophic happens to encrypted data
7 months ago
Trent Larson
bb3807a805
switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
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
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"
10 months ago
Trent Larson
9a9c9d3a06
jump from ideas directly into giving dialog choice
10 months ago
Trent Larson
5151052202
fix test BVC setting, remove stray console.outs
10 months ago
Trent Larson
f2cb7d3ed8
prompt for name when showing info, and provide a "copy" page when remote
10 months ago
Trent Larson
7309ba1436
add tests for importing multiple records, fix other confirmation tests
11 months ago
Trent Larson
f38edff942
allow editing of an offer
11 months ago
Trent Larson
73c82aefe2
start with offer-edit
11 months ago
Trent Larson
e5155a3da1
add recipient description to offers in user's list
11 months ago
Trent Larson
710e00fdc2
add visibility flag set, refactor to see results, and add copy icons for contact info
11 months ago
Trent Larson
d4cafd2f79
fix where it doesn't remove the plan when editing and removing it
11 months ago
Trent Larson
59820a2f01
add more type casts
12 months ago
Trent Larson
d724d8093c
add ability to edit a GiveAction
12 months ago
Trent Larson
41a9c65afb
fix linting
12 months ago
Trent Larson
b2ebc2992b
cache the passkey JWANT access token for multiple signatures
12 months ago
Trent Larson
cd0a31e6f5
remove remaining getIdentity calls & fix QR code for did:peer
12 months ago
trentlarson
f6338c05ee
move low-level DID-related create & decode into separate folder ( #120 )
Co-authored-by: Trent Larson <trent@trentlarson.com>
Reviewed-on: https://gitea.anomalistdesign.com/trent_larson/crowd-funder-for-time-pwa/pulls/120
Co-authored-by: trentlarson <trent@trentlarson.com>
Co-committed-by: trentlarson <trent@trentlarson.com>
12 months ago
Trent Larson
7cb9e2aa52
replace remaining didJwt.createJwt calls with one that checks for did:peer
12 months ago
Trent Larson
bce003e508
change accessToken to take a DID
12 months ago