Matthew Raymer
61da40596c
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.
6 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
6 months ago
Trent Larson
5b8a564e10
add end time to projects
7 months ago
Trent Larson
9f54286817
fix linting, add to the 10-project timeout
7 months ago
Trent Larson
888e87f6c6
add instructions for contacting potential links to hidden people
7 months ago
Trent Larson
101acd2a8c
fix build and auto-test issues
7 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.
8 months ago
Trent Larson
2c0b927080
make notification errors go away automatically
8 months ago
Trent Larson
35866e0c2a
fix problem switching projects where old link data remained
8 months ago
Trent Larson
af197f7c11
catch more errors if something catastrophic happens to encrypted data
9 months ago
Trent Larson
251649e6fe
switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
9 months ago
Trent Larson
5b5fbe23a5
allow to deselect the giver & refactor dialog to group giver vs recipient
9 months ago
Trent Larson
1714f4d087
refactor some verbiage & look-and-feel
9 months ago
Trent Larson
d621828d53
add tests for gives to & from projects
9 months ago
Trent Larson
8db7ac3f6f
refactor project screen: add action to record a give from it, and add checks to give confirmation buttons
9 months ago
Trent Larson
1b87bda471
change default reminder message; show people & unnamed icons blue for clickable
9 months ago
Trent Larson
6f880d0df1
fix bad link to project page, fix improper action on invite-add-contact cancel
11 months ago
Trent Larson
7c70e699d8
switch BVC-meeting-end gift to be from the plan, and add display of providers on claim-view page
11 months ago
Trent Larson
1d48da6855
disable checkboxes for nostr partner messages; adjust linting warnings
11 months ago
Trent Larson
8111b0e5cf
modify the settings to allow account-specific settings, eg. for "isRegistered"
11 months 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
Trent Larson
6f2da589b1
fill in the "Load More" links for plan linkages
1 year ago
Trent Larson
1ebfc997eb
add section for gives provided by a plan
1 year ago
Trent Larson
230773a917
add Confirm Gift screen for simpler confirmation
1 year 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