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.
7 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
7 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
Trent Larson
f405e7d02f
make notification errors go away automatically
9 months ago
Trent Larson
a99a0fb5cc
change the contact-sharing data into a JWT for the contact-import page
9 months ago
Trent Larson
6ffbcfa9a1
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
8111b0e5cf
modify the settings to allow account-specific settings, eg. for "isRegistered"
1 year ago
Trent Larson
59820a2f01
add more type casts
1 year ago
Trent Larson
6b65e31649
misc tweaks and linting clean-up
1 year ago
Trent Larson
e4a5629cff
allow deletion of an identity
1 year ago
trentlarson
4cb434fd5d
passkey test ( #116 )
Co-authored-by: Trent Larson <trent@trentlarson.com>
Reviewed-on: https://gitea.anomalistdesign.com/trent_larson/crowd-funder-for-time-pwa/pulls/116
Co-authored-by: trentlarson <trent@trentlarson.com>
Co-committed-by: trentlarson <trent@trentlarson.com>
1 year ago
Trent Larson
230773a917
add Confirm Gift screen for simpler confirmation
1 year ago
Jose Olarte III
b6e344a15e
Propagated button improvements across views
2 years ago
Trent Larson
6aab1ff49d
consolidate interface and remove copies of code
2 years ago
Trent Larson
643718619e
remove unnecessary logic in account switcher; refactor task list
2 years ago
Trent Larson
780be59c76
remove name from identity switcher (since they are not tied to a DID)
2 years ago
Jose Olarte III
998a1d312f
Set max screen content width
2 years ago
Trent Larson
85bd807bcc
allow view of feed without an identifier
2 years ago
Trent Larson
ac6376243b
refactor name setting and other small messaging & types
2 years ago
Trent Larson
c388cc8cfe
remove lastName and just have a single name field
2 years ago
Trent Larson
afc48a5434
add IDs for puppeteer test script
2 years ago
Matthew Raymer
fd43da93a5
A whole lot of cleaning going on
2 years ago
Trent Larson
b59bcf249a
fix many more typescript errors
2 years ago
Trent Larson
b05b602acd
fix many, many more type errors
2 years ago
Matthew Raymer
5501ac1a2f
Many fixes -- especially and endorserServer
2 years ago
Jose Olarte III
f55e50067f
Replaced all alertMessage calls with notiwind
2 years ago
Jose Olarte III
ead37ede74
Added back button
2 years ago
Matthew Raymer
f428199228
Redirect to account tab after switching identity
2 years ago
Matthew Raymer
1405b88323
Functional Identity Management
2 years ago
Jose Olarte III
44fc2850dd
UL-based identity list + markup fixes
2 years ago
Matthew Raymer
52d411470e
Send back to Jose for some list magic
2 years ago
Jose Olarte III
ab678a900a
Added static HTML to Account Switcher view
2 years ago
Matthew Raymer
7a4ceaa455
Adding Identity Management stubs
2 years ago