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
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
be9edc197e
fix linting
10 months ago
Trent Larson
6f67e7845b
add requests for map tiles with counts of plans (commented out)
10 months ago
Trent Larson
8a61d9df45
various look-and-feel improvements
12 months ago
Trent Larson
8111b0e5cf
modify the settings to allow account-specific settings, eg. for "isRegistered"
1 year ago
Trent Larson
59820a2f01
add more type casts
1 year ago
Trent Larson
5ad8a2d2ba
await all of the db.settings updates
1 year ago
Trent Larson
0093255246
fix PWA creation & service-worker registration, plus some commentary tweaks
2 years ago
Trent Larson
3fbf68b117
filter by selections (now all working), add cache for plans
2 years ago
Trent Larson
e3696e3ac5
feed filter: save the changed values to the DB, go to map if no location chosen, reload if necessary
2 years ago
Jose Olarte III
94b600e527
Map fix #2
2 years ago
Trent Larson
6aab1ff49d
consolidate interface and remove copies of code
2 years 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
faf8f4f6a9
feat: default to remote project search if no search area filter is selected
2 years ago
Trent Larson
74ed025377
move search area selection out of discover onto it's own screen
2 years ago