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.
3 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
3 months ago
Trent Larson
da0f9e7581
add end time to projects
3 months ago
Trent Larson
920d3f4d25
fix linting, add to the 10-project timeout
4 months ago
Trent Larson
d57aee203f
add instructions for contacting potential links to hidden people
4 months ago
Trent Larson
aec530f5a8
fix build and auto-test issues
4 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.
5 months ago
Trent Larson
f405e7d02f
make notification errors go away automatically
5 months ago
Trent Larson
1e66bc1126
fix problem switching projects where old link data remained
5 months ago
Trent Larson
6ffbcfa9a1
catch more errors if something catastrophic happens to encrypted data
5 months ago
Trent Larson
bb3807a805
switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
5 months ago
Trent Larson
9861a1388e
allow to deselect the giver & refactor dialog to group giver vs recipient
6 months ago
Trent Larson
7acf921e82
refactor some verbiage & look-and-feel
6 months ago
Trent Larson
f7fd568c60
add tests for gives to & from projects
6 months ago
Trent Larson
10bb79f695
refactor project screen: add action to record a give from it, and add checks to give confirmation buttons
6 months ago
Trent Larson
60f066bda0
change default reminder message; show people & unnamed icons blue for clickable
6 months ago
Trent Larson
6f880d0df1
fix bad link to project page, fix improper action on invite-add-contact cancel
7 months ago
Trent Larson
7c70e699d8
switch BVC-meeting-end gift to be from the plan, and add display of providers on claim-view page
8 months ago
Trent Larson
1d48da6855
disable checkboxes for nostr partner messages; adjust linting warnings
8 months ago
Trent Larson
8111b0e5cf
modify the settings to allow account-specific settings, eg. for "isRegistered"
8 months ago
Trent Larson
0947c55110
remove the last of the localStorage for passing parameters
9 months ago
Trent Larson
9a9c9d3a06
jump from ideas directly into giving dialog choice
9 months ago
Trent Larson
f38edff942
allow editing of an offer
9 months ago
Trent Larson
53e77e46dd
fix list of offers (and some other lists), and add tests for offers
9 months ago
Trent Larson
93caec3719
add image on entries in a project
10 months ago
Trent Larson
e0c50dcf62
add 'isRegistered' check to guard against many buttons
10 months ago
Trent Larson
6bac80a280
move pointers to other projects up in the project view
10 months ago
Trent Larson
59820a2f01
add more type casts
10 months ago
Trent Larson
b2ebc2992b
cache the passkey JWANT access token for multiple signatures
10 months ago
Trent Larson
11163dfad9
consolidate getIdentity & remove dups
10 months ago
Trent Larson
7cb9e2aa52
replace remaining didJwt.createJwt calls with one that checks for did:peer
10 months ago
Trent Larson
145a1da37e
linting cleanup
11 months ago
Trent Larson
bce003e508
change accessToken to take a DID
11 months ago
Trent Larson
6f2da589b1
fill in the "Load More" links for plan linkages
11 months ago
Trent Larson
1ebfc997eb
add section for gives provided by a plan
11 months ago
Trent Larson
230773a917
add Confirm Gift screen for simpler confirmation
11 months ago
Trent Larson
2321e1d6e8
allow link to the large version of a project image
1 year ago
Trent Larson
af976ba838
add an image to projects (which shows on all ProjectIcons except for offers)
1 year ago
Trent Larson
7f02ba29a3
add a share_target for people to add a photo
1 year ago
Trent Larson
9acba28b85
fix problem with duplicates in feed, plus some other UI tweaks
1 year ago
Trent Larson
bef56fce10
allow loading more gives & offers & plans when limits are hit on project view
1 year ago
Trent Larson
fccc4edb63
remove some 'uppercase' CSS markers
1 year ago
Trent Larson
f4f5fc7730
change remainder of "confirm" calls to better UX
1 year ago
Trent Larson
7078f7b9e6
add choice of a start date for a project
1 year ago
Trent Larson
1df2d3ed05
remove message confusion, add project name during give-details
1 year ago
Trent Larson
4e877c15f6
change the "give" action on contact page to use dialog box
1 year ago
Trent Larson
7cbdc7a099
add code to display profiles in feed, but deactivate it for now
1 year ago
Trent Larson
581a374b05
show contact's or user's icon in more places
1 year ago
Trent Larson
3fbf68b117
filter by selections (now all working), add cache for plans
1 year ago
Jose Olarte III
21fe5a0279
Optimized grid space for wider screens
1 year ago