Matthew Raymer
a2e19d7e9a
fix: improve TypeScript type safety across views
Changes:
- Add proper type annotations for component properties
- Fix null checks with optional chaining
- Add missing interface properties
- Replace any with proper types where possible
- Move interfaces from endorserServer to interfaces/
- Add proper Router and Route typing
- Add default empty string for optional text fields
This improves type safety and reduces TypeScript errors across views.
9 months ago
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
9 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
9 months ago
Trent Larson
c9c3cacfbd
fix image server references for tests (2 tests failing: missing function & looking for registration prompt for unregistered user)
9 months ago
Trent Larson
898821c9aa
fix image server references for tests (2 tests failing: missing function & looking for registration prompt for unregistered user)
9 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.
10 months ago
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.
10 months ago
Trent Larson
f405e7d02f
make notification errors go away automatically
10 months ago
Trent Larson
2c0b927080
make notification errors go away automatically
10 months ago
Trent Larson
a99a0fb5cc
change the contact-sharing data into a JWT for the contact-import page
11 months ago
Trent Larson
e286a8f002
change the contact-sharing data into a JWT for the contact-import page
11 months ago
Trent Larson
bb3807a805
switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
11 months ago
Trent Larson
251649e6fe
switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
11 months ago
Trent Larson
76280b7ee5
add periods "." at the end of the giver & receiver sentences
12 months ago
Trent Larson
8bd1a6668c
add periods "." at the end of the giver & receiver sentences
12 months ago
Trent Larson
9861a1388e
allow to deselect the giver & refactor dialog to group giver vs recipient
12 months ago
Trent Larson
5b5fbe23a5
allow to deselect the giver & refactor dialog to group giver vs recipient
12 months ago
Trent Larson
10bb79f695
refactor project screen: add action to record a give from it, and add checks to give confirmation buttons
12 months ago
Trent Larson
8db7ac3f6f
refactor project screen: add action to record a give from it, and add checks to give confirmation buttons
12 months ago
Trent Larson
bacf9d7de6
fix problem with "Affirm Delivery" on offer claim page, plus other look-and-feel tweaks
1 year ago
Trent Larson
e1d0a2b02c
bump to version 0.3.31, tweak messaging to include offers
1 year ago
Trent Larson
9925800fbd
allow details on a give for a providing project (so we can attach a picture)
1 year ago
Trent Larson
7c70e699d8
switch BVC-meeting-end gift to be from the plan, and add display of providers on claim-view page
1 year ago
Trent Larson
b149e623b2
only show the "raw edit" when advanced options are turned on
1 year ago
Trent Larson
8111b0e5cf
modify the settings to allow account-specific settings, eg. for "isRegistered"
1 year ago
Trent Larson
c7cac6c894
fix so "not named" shows on detail screen for anonymous
1 year ago
Trent Larson
f38edff942
allow editing of an offer
1 year ago
Trent Larson
73c82aefe2
start with offer-edit
1 year ago
Trent Larson
e30e43d762
show image on the view-claim screen
1 year ago
Trent Larson
bdb544a624
fix error sharing image and failing to upload, fix upload in webkit/safari, and test it
1 year ago
Trent Larson
de2b0e1940
fix problem detecting plans when editing gifts
1 year ago
Trent Larson
59820a2f01
add more type casts
1 year ago
Trent Larson
d724d8093c
add ability to edit a GiveAction
1 year ago
Trent Larson
b2ebc2992b
cache the passkey JWANT access token for multiple signatures
1 year ago
Trent Larson
cd0a31e6f5
remove remaining getIdentity calls & fix QR code for did:peer
1 year ago
Trent Larson
7cb9e2aa52
replace remaining didJwt.createJwt calls with one that checks for did:peer
1 year ago
Trent Larson
bce003e508
change accessToken to take a DID
1 year ago
Trent Larson
45f0a14661
add expiration inside JWANT & refactor getHeaders to move toward supporting did:peer
1 year ago
Trent Larson
42fde503e3
make a passkey-generator in start & home pages, and make that the default
1 year ago
Trent Larson
dea3f78173
fix type of the raw claim sent
1 year ago
Trent Larson
053ee4a748
add advanced page & flag for editing raw claims, and fix recipient assignment in detail screen
1 year ago
Trent Larson
810f307442
bump to v 0.3.14
1 year ago
Trent Larson
a4bdd2e922
fix checkbox verbiage when no project is chosen for a give
1 year ago
Trent Larson
a95d5db24a
fix justification of checkboxes and text so they don't move
1 year ago
Trent Larson
453256f874
give-detail page: add more-correct parameters from confirm-give page, and allow toggling of project & user-recipient
1 year ago
Trent Larson
230773a917
add Confirm Gift screen for simpler confirmation
1 year ago
Trent Larson
7d6b210ee1
allow file choice for gift, plus other UI fixes
2 years ago
Trent Larson
17c901b1de
add file-chooser to the profile image selection
2 years ago
Trent Larson
f7b5dbf4ce
style the sharing screen (plus other fixes)
2 years ago
Trent Larson
7f02ba29a3
add a share_target for people to add a photo
2 years ago