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
3dbb836ae5
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.
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
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.
5 months ago
Trent Larson
1a0d46d963
fix problem after minimizing use of account private data
6 months ago
Trent Larson
2e7700731b
switch so personal contact JWT is link to this server (not endorser.ch), make empty-did URL show user's info
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.
7 months ago
Trent Larson
61da17a8f6
make claim certificate image clickable
7 months ago
Trent Larson
51e60273d5
fix linting
7 months ago
Trent Larson
a67d265439
don't show issuer for self-issued claims
7 months ago
Trent Larson
5886f7ef53
fix linting
7 months ago
Trent Larson
af12e1bd51
for certificate: fix the canvas to fit in the middle vertically, add amount, and position things better
7 months ago
Trent Larson
8bf9640c10
add number of confirmers to certificate & show DID info when appropriate
7 months ago
Trent Larson
124ff65aa2
add copy-link on the claim view page & enable certificate
7 months ago
Trent Larson
52155039de
add another sample boundary frame for the certificate view of a claim
7 months ago
Trent Larson
6749c1ec2d
refine claim certificate view
7 months ago
Trent Larson
2b802f01f8
add page for a printable certificate (which works but isn't too impressive yet)
8 months ago