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
3 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.
4 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.
4 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.
4 months ago
Trent Larson
7ababb4e1b
fix problem after minimizing use of account private data
5 months ago
Trent Larson
702e44872f
switch so personal contact JWT is link to this server (not endorser.ch), make empty-did URL show user's info
5 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.
5 months ago
Trent Larson
f51bbd61b0
make claim certificate image clickable
6 months ago
Trent Larson
acc9dc17ae
fix linting
6 months ago
Trent Larson
ec0e4693cb
don't show issuer for self-issued claims
6 months ago
Trent Larson
40382157f9
fix linting
6 months ago
Trent Larson
f21555184c
for certificate: fix the canvas to fit in the middle vertically, add amount, and position things better
6 months ago
Trent Larson
e67ae23879
add number of confirmers to certificate & show DID info when appropriate
6 months ago
Trent Larson
2cb70f8497
add copy-link on the claim view page & enable certificate
6 months ago
Trent Larson
959f5f6f63
add another sample boundary frame for the certificate view of a claim
6 months ago
Trent Larson
6d1681cb07
refine claim certificate view
6 months ago
Trent Larson
e6f5511dbb
add page for a printable certificate (which works but isn't too impressive yet)
7 months ago