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.
8 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
8 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
8 months ago
Trent Larson
61afba3bca
show totals of gives to a project
8 months ago
Trent Larson
2a6234f322
show totals of gives to a project
8 months ago
Trent Larson
da0f9e7581
add end time to projects
8 months ago
Trent Larson
5b8a564e10
add end time to projects
8 months ago
Trent Larson
920d3f4d25
fix linting, add to the 10-project timeout
8 months ago
Trent Larson
9f54286817
fix linting, add to the 10-project timeout
8 months ago
Trent Larson
d57aee203f
add instructions for contacting potential links to hidden people
8 months ago
Trent Larson
888e87f6c6
add instructions for contacting potential links to hidden people
8 months ago
Trent Larson
aec530f5a8
fix build and auto-test issues
9 months ago
Trent Larson
101acd2a8c
fix build and auto-test issues
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.
9 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.
9 months ago
Trent Larson
f405e7d02f
make notification errors go away automatically
9 months ago
Trent Larson
2c0b927080
make notification errors go away automatically
9 months ago
Trent Larson
1e66bc1126
fix problem switching projects where old link data remained
9 months ago
Trent Larson
35866e0c2a
fix problem switching projects where old link data remained
9 months ago
Trent Larson
6ffbcfa9a1
catch more errors if something catastrophic happens to encrypted data
10 months ago
Trent Larson
af197f7c11
catch more errors if something catastrophic happens to encrypted data
10 months ago
Trent Larson
bb3807a805
switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
10 months ago
Trent Larson
251649e6fe
switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
10 months ago
Trent Larson
9861a1388e
allow to deselect the giver & refactor dialog to group giver vs recipient
10 months ago
Trent Larson
5b5fbe23a5
allow to deselect the giver & refactor dialog to group giver vs recipient
10 months ago
Trent Larson
7acf921e82
refactor some verbiage & look-and-feel
11 months ago
Trent Larson
1714f4d087
refactor some verbiage & look-and-feel
11 months ago
Trent Larson
f7fd568c60
add tests for gives to & from projects
11 months ago
Trent Larson
d621828d53
add tests for gives to & from projects
11 months ago
Trent Larson
10bb79f695
refactor project screen: add action to record a give from it, and add checks to give confirmation buttons
11 months ago
Trent Larson
8db7ac3f6f
refactor project screen: add action to record a give from it, and add checks to give confirmation buttons
11 months ago
Trent Larson
60f066bda0
change default reminder message; show people & unnamed icons blue for clickable
11 months ago
Trent Larson
1b87bda471
change default reminder message; show people & unnamed icons blue for clickable
11 months ago
Trent Larson
6f880d0df1
fix bad link to project page, fix improper action on invite-add-contact cancel
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
1d48da6855
disable checkboxes for nostr partner messages; adjust linting warnings
1 year ago
Trent Larson
8111b0e5cf
modify the settings to allow account-specific settings, eg. for "isRegistered"
1 year ago
Trent Larson
0947c55110
remove the last of the localStorage for passing parameters
1 year ago
Trent Larson
9a9c9d3a06
jump from ideas directly into giving dialog choice
1 year ago
Trent Larson
f38edff942
allow editing of an offer
1 year ago
Trent Larson
53e77e46dd
fix list of offers (and some other lists), and add tests for offers
1 year ago
Trent Larson
93caec3719
add image on entries in a project
1 year ago
Trent Larson
e0c50dcf62
add 'isRegistered' check to guard against many buttons
1 year ago
Trent Larson
6bac80a280
move pointers to other projects up in the project view
1 year ago
Trent Larson
59820a2f01
add more type casts
1 year ago
Trent Larson
b2ebc2992b
cache the passkey JWANT access token for multiple signatures
1 year ago
Trent Larson
11163dfad9
consolidate getIdentity & remove dups
1 year ago
Trent Larson
7cb9e2aa52
replace remaining didJwt.createJwt calls with one that checks for did:peer
1 year ago
Trent Larson
145a1da37e
linting cleanup
1 year ago
Trent Larson
bce003e508
change accessToken to take a DID
1 year ago