8d1511e38f
convert all remaining DB writes & reads to SQL (with successful registration & claim)
2025-05-27 21:07:24 -06:00
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
2025-03-11 09:35:55 +00:00
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.
2025-02-26 09:27:04 +00:00
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.
2025-02-26 06:50:08 +00:00
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
2025-02-24 11:21:08 +00:00
Matthew Raymer
94ee9e24ea
Merge fixes
2025-01-11 12:45:43 +00:00
702e44872f
switch so personal contact JWT is link to this server (not endorser.ch), make empty-did URL show user's info
2025-01-06 08:52:10 -07:00
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.
2025-01-05 08:38:15 +00:00
f405e7d02f
make notification errors go away automatically
2025-01-04 18:02:10 -07:00
6ffbcfa9a1
catch more errors if something catastrophic happens to encrypted data
2024-12-10 20:02:49 -07:00
7777fa202b
finish separation of daily reminder message, bump version to 0.3.34
2024-11-24 13:09:40 -07:00
2c0c7ac256
add minute to notification scheduling & fix a bug, plus other tweaks
2024-11-15 20:39:08 -07:00
911203c190
adjust more code to the PushSubscriptionJSON
2024-04-02 19:32:41 -06:00
Jose Olarte III
b6e344a15e
Propagated button improvements across views
2024-03-21 19:30:42 +08:00
6aab1ff49d
consolidate interface and remove copies of code
2024-02-24 10:26:12 -07:00
cc931dcb04
add notification check with instructions on front screen
2024-01-05 09:48:15 -07:00
1f05e81b05
add notification immediately after setting up subscription, and tweak messaging
2024-01-03 21:27:13 -07:00
3083bb084a
add more notification help instructions; remove confusing, big name-edit button
2024-01-02 19:16:54 -07:00
Jose Olarte III
998a1d312f
Set max screen content width
2024-01-02 15:25:51 +08:00
1f13bf772c
move wait for service-worker initialization into the notification modal
2024-01-01 20:36:23 -07:00
75d15ddeb9
add note to install as an app
2023-12-27 14:46:10 -07:00
f8d3fe2ee1
enhance service-worker logging, allow for filtered-push test
2023-12-27 13:59:24 -07:00
c4a0458c08
doc: add to notification-help page & task list
2023-12-26 21:43:04 -07:00
25b1598fcb
doc: add more help for the notifications
2023-12-26 17:48:14 -07:00
fd8877900b
add another alert message & test button
2023-12-25 12:51:06 -07:00
05c6ddda02
allow a test notification from the notification help screen
2023-12-24 21:24:51 -07:00
44cfe0d88e
allow notifications even without an ID
2023-12-22 14:22:13 -07:00
8fb21c3d89
doc: update tasks, update verbiage, and add to help doc
2023-12-13 08:58:04 -07:00
a6bb036ceb
fix name of new HelpNotificationsView class
2023-12-07 20:35:29 -07:00
1e2ad85547
add dedicated help page for looking into notifications
2023-12-07 20:33:17 -07:00