Matthew Raymer
c9536dd643
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
03178d35e7
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.
5 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
5 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.
7 months ago
Trent Larson
2c0b927080
make notification errors go away automatically
7 months ago
Trent Larson
e286a8f002
change the contact-sharing data into a JWT for the contact-import page
7 months ago
Trent Larson
af197f7c11
catch more errors if something catastrophic happens to encrypted data
8 months ago
Trent Larson
251649e6fe
switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
8 months ago
Trent Larson
8111b0e5cf
modify the settings to allow account-specific settings, eg. for "isRegistered"
11 months 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
1 year ago
Trent Larson
6aab1ff49d
consolidate interface and remove copies of code
1 year ago
Trent Larson
643718619e
remove unnecessary logic in account switcher; refactor task list
1 year 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