Matthew Raymer
e0aded04b4
refactor: Replace console logging with logger utility
- Add logger import across multiple view components
- Replace console.error/warn/log with logger methods
- Update error handling to use structured logging
- Improve type safety for error objects
- Add crypto-browserify polyfill for browser environment
The changes improve logging by:
1. Using consistent logging interface
2. Adding structured error logging
3. Improving error type safety
4. Centralizing logging configuration
5. Fixing browser compatibility issues
Affected files:
- Multiple view components
- vite.config.ts
- Build configuration
5 months ago
Matthew Raymer
f4c5567471
test: enhance deep link testing with real JWT examples
Changes:
- Add real JWT example for invite testing
- Add detailed JWT payload documentation
- Update test-deeplinks.sh with valid claim IDs
- Add test case for single contact invite
- Improve test descriptions and organization
This improves test coverage by using real-world JWT examples
and valid claim identifiers.
6 months ago
Matthew Raymer
3b4f4dc125
style: reorder v-model and v-bind directives
Changes:
- Move v-model directives before other attributes
- Move v-bind directives before event handlers
- Reorder attributes for better readability
- Fix template attribute ordering across components
- Improve eslint rules
- add default vite config for testing (handles nostr error too)
This follows Vue.js style guide recommendations for attribute
ordering and improves template consistency.
6 months ago
Matthew Raymer
f6802cd160
refactor: improve router type safety and usage
- Add explicit Router type imports across views
- Replace $router type casting with proper typing
- Use $router.back() instead of $router.go(-1) for consistency
- Add proper route and router typings to components
- Clean up router navigation methods
- Fix router push/back method calls
This commit improves type safety and consistency in router usage across
the application's view components.
6 months ago
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.
6 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
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.
7 months ago
Trent Larson
f405e7d02f
make notification errors go away automatically
7 months ago
Trent Larson
bb3807a805
switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
8 months ago
Trent Larson
10bb79f695
refactor project screen: add action to record a give from it, and add checks to give confirmation buttons
9 months ago
Trent Larson
b149e623b2
only show the "raw edit" when advanced options are turned on
11 months ago
Trent Larson
4fd2319d53
fix error is OfferDialog where assignment to a project was missed, plus some refactors
11 months ago
Trent Larson
8111b0e5cf
modify the settings to allow account-specific settings, eg. for "isRegistered"
11 months ago
Trent Larson
892cf4c595
update bad verbiage on offer page, fix offer test
1 year ago
Trent Larson
014d4081e6
fix error editing an offer, tweak tests to fix red in IntelliJ
1 year ago
Trent Larson
4f97010f99
fix tests, add test for offer update
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
1 year ago
Trent Larson
17c901b1de
add file-chooser to the profile image selection
1 year ago
Trent Larson
f7b5dbf4ce
style the sharing screen (plus other fixes)
1 year ago
Trent Larson
7f02ba29a3
add a share_target for people to add a photo
1 year ago
Trent Larson
d316f4924b
add note about confirming your own, plus other helpful verbiage, plus notify messages that don't linger
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
Jose Olarte III
5388e6052c
Button width changes
For buttons that are next to each other
1 year ago
Trent Larson
9b183a4b6c
add blurb explaining what data is shared with the world
1 year ago
Trent Larson
f365cc9e3c
show warnings before dismissing prompt, and add to tasks and help
1 year ago
Jose Olarte III
b6e344a15e
Propagated button improvements across views
1 year ago
Trent Larson
3e556dfa52
move the "part of project" text in giving-details screen
1 year ago
Trent Larson
251986d2bc
make the photo show in a pop-up dialog
1 year ago
Trent Larson
67f34f9826
on "give details" page, distinguish between project & user destination
1 year ago