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
8 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.
8 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.
8 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
8 months ago
Matthew Raymer
15783cdbe6
(chore): cleaning up formatting and relative references
9 months ago
Trent Larson
5943df756a
make screen where user can create a group onboarding meeting
9 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.
10 months ago
Trent Larson
2c0b927080
make notification errors go away automatically
10 months ago
Trent Larson
251649e6fe
switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
11 months ago
Trent Larson
bacf9d7de6
fix problem with "Affirm Delivery" on offer claim page, plus other look-and-feel tweaks
12 months ago
Trent Larson
8111b0e5cf
modify the settings to allow account-specific settings, eg. for "isRegistered"
1 year ago
Trent Larson
bdb544a624
fix error sharing image and failing to upload, fix upload in webkit/safari, and test it
1 year ago
Trent Larson
59820a2f01
add more type casts
1 year ago
Trent Larson
41a9c65afb
fix linting
1 year ago
trentlarson
f6338c05ee
move low-level DID-related create & decode into separate folder ( #120 )
Co-authored-by: Trent Larson <trent@trentlarson.com>
Reviewed-on: https://gitea.anomalistdesign.com/trent_larson/crowd-funder-for-time-pwa/pulls/120
Co-authored-by: trentlarson <trent@trentlarson.com>
Co-committed-by: trentlarson <trent@trentlarson.com>
1 year ago
Trent Larson
45f0a14661
add expiration inside JWANT & refactor getHeaders to move toward supporting did:peer
1 year ago
Trent Larson
42fde503e3
make a passkey-generator in start & home pages, and make that the default
1 year ago
Trent Larson
6b65e31649
misc tweaks and linting clean-up
1 year ago
Trent Larson
9677a344c2
misc syntactic & type-checking clean-up
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
7f02ba29a3
add a share_target for people to add a photo
1 year ago
Jose Olarte III
998a1d312f
Set max screen content width
2 years ago
Trent Larson
46d76013e8
make a back button at the top and the tabs at the bottom of each page
2 years ago
Trent Larson
f36ecfd8db
misc look-and-feel tweaks
2 years ago
Trent Larson
58c091cdaa
add test view to hold testing functionality
2 years ago