8092d1c576
convert all remaining DB writes & reads to SQL (with successful registration & claim)
2025-05-27 21:07:24 -06:00
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
2025-03-11 09:35:55 +00:00
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.
2025-02-26 09:27:04 +00:00
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.
2025-02-26 06:50:08 +00:00
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
2025-02-24 11:21:08 +00:00
Matthew Raymer
2a7178db53
Merge changes
2025-02-03 13:27:36 +00:00
888e87f6c6
add instructions for contacting potential links to hidden people
2025-01-29 21:01:35 -07:00
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.
2025-01-05 08:38:15 +00:00
251649e6fe
switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
2024-12-08 19:34:31 -07:00
59820a2f01
add more type casts
2024-07-23 20:57:10 -06:00
5ad8a2d2ba
await all of the db.settings updates
2024-07-20 07:19:27 -06:00
9677a344c2
misc syntactic & type-checking clean-up
2024-07-06 07:15:46 -06:00
Jose Olarte III
5388e6052c
Button width changes
...
For buttons that are next to each other
2024-03-26 19:55:16 +08:00
Jose Olarte III
b6e344a15e
Propagated button improvements across views
2024-03-21 19:30:42 +08:00
934664b9c9
add the hashed-next-key to the contact data, shown & stored
2024-01-03 17:44:41 -07:00
Jose Olarte III
998a1d312f
Set max screen content width
2024-01-02 15:25:51 +08:00
Matthew Raymer
fd43da93a5
A whole lot of cleaning going on
2023-09-04 20:44:00 +08:00
b59bcf249a
fix many more typescript errors
2023-09-03 21:40:40 -06:00
b05b602acd
fix many, many more type errors
2023-09-03 10:02:17 -06:00
0c05505c46
allow use of custom derivation path, and add way to increment derivation for existing
2023-08-20 19:46:12 -06:00