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
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
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.
8 months ago
Trent Larson
f405e7d02f
make notification errors go away automatically
8 months ago
Trent Larson
6ffbcfa9a1
catch more errors if something catastrophic happens to encrypted data
9 months ago
Trent Larson
bb3807a805
switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
9 months ago
Trent Larson
8111b0e5cf
modify the settings to allow account-specific settings, eg. for "isRegistered"
11 months ago
Trent Larson
44041cac92
enhance seed-backup with clipboard copy & more info
1 year ago
Trent Larson
7f02ba29a3
add a share_target for people to add a photo
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
2 years ago
Trent Larson
3eda5f6b5d
show more succinct info in feed, targeted toward user's visibility
2 years ago
Trent Larson
d7530ff56b
adjust more UI on the Advanced section, and make other small code & UI tweaks
2 years ago
Trent Larson
a87179d127
change wording from "identity" to "identifier" in many places
2 years ago
Jose Olarte III
998a1d312f
Set max screen content width
2 years ago
Matthew Raymer
fd43da93a5
A whole lot of cleaning going on
2 years ago
Matthew Raymer
5501ac1a2f
Many fixes -- especially and endorserServer
2 years ago
Matthew Aaron Raymer
b514d64068
Type fixes
2 years ago
Trent Larson
0c05505c46
allow use of custom derivation path, and add way to increment derivation for existing
2 years ago
Jose Olarte III
fe09f5180d
Minor cleanup
2 years ago
Jose Olarte III
f55e50067f
Replaced all alertMessage calls with notiwind
2 years ago
Matthew Raymer
5be67fd4c9
Rolled out to all views that had HTML quicknav
2 years ago
Matthew Raymer
0a020a4069
Clean up vestigle old alert code
2 years ago
Matthew Raymer
0fd4b86a84
A bit of linting
2 years ago
Matthew Raymer
c31445865e
Straggler
2 years ago
Matthew Raymer
0af03227a6
Propagated AlertMessage component
2 years ago
Trent Larson
32351b07b7
prefer console.error messages for errors
2 years ago
Trent Larson
55b53955fc
add page to show mnemonic seed phrase for backup
2 years ago