Matthew Raymer
ebc241eba0
WIP: restore database migration system and improve error handling
...
- Restore runMigrations functionality for database schema migrations
- Remove indexedDBMigrationService.ts (was for IndexedDB to SQLite migration)
- Recreate migrationService.ts and db-sql/migration.ts for schema management
- Add proper TypeScript error handling with type guards in AccountViewView
- Fix CreateAndSubmitClaimResult property access in QuickActionBvcBeginView
- Remove LeafletMouseEvent from Vue components array (it's a type, not component)
- Add null check for UserNameDialog callback to prevent undefined assignment
- Implement extractErrorMessage helper function for consistent error handling
- Update router to remove database-migration route
The migration system now properly handles database schema evolution
across app versions, while the IndexedDB to SQLite migration service
has been removed as it was specific to that one-time migration.
2025-06-23 08:25:10 +00:00
7764e17180
shrink the contents of the QR code so people can scan it
2025-06-16 15:38:11 -06:00
8c1c6a9c4e
fix some result types and refactor types themselves
2025-06-13 21:58:57 -06:00
4327a5175c
fix more logic for tests (cherry-picked from 83acb028c7)
2025-06-07 17:42:06 -06:00
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
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
15783cdbe6
(chore): cleaning up formatting and relative references
2025-02-06 14:08:54 +00:00
Matthew Raymer
52cbe81f23
(chore): merge mostly pathway changes
2025-02-06 13:34:48 +00:00
6a070a1715
fix linting (and change a little wording in onboarding page)
2025-02-03 16:36:13 -07:00
5943df756a
make screen where user can create a group onboarding meeting
2025-02-02 17:06:51 -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
7189cce25e
ensure overlays show on top of relative+absolute positioning like green pluses
2024-11-30 15:30:17 -07:00
73df9f374a
move push notification setup out of an App.vue Notification and into a component
2024-11-18 17:00:06 -07:00
4168c37074
add large notice when user has a new offer to them
2024-11-03 10:39:28 -07:00
4fd2319d53
fix error is OfferDialog where assignment to a project was missed, plus some refactors
2024-09-16 15:12:32 -06:00
8111b0e5cf
modify the settings to allow account-specific settings, eg. for "isRegistered"
2024-09-15 16:30:46 -06:00
4f97010f99
fix tests, add test for offer update
2024-08-18 13:48:07 -06:00
f38edff942
allow editing of an offer
2024-08-17 19:59:02 -06:00
53e77e46dd
fix list of offers (and some other lists), and add tests for offers
2024-08-12 09:25:01 -06:00
7cb9e2aa52
replace remaining didJwt.createJwt calls with one that checks for did:peer
2024-07-11 19:35:17 -06:00
4e877c15f6
change the "give" action on contact page to use dialog box
2024-04-21 16:42:22 -06:00
ef95708d02
add 'offer' on contact screen
2024-04-21 07:38:59 -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
2058205150
for BVC shortcut: send attend & give actions, and list actions to confirm
2024-02-25 18:38:54 -07:00
6aab1ff49d
consolidate interface and remove copies of code
2024-02-24 10:26:12 -07:00
719e3a467d
make a number input targeted towards numbers
2024-02-03 19:21:07 -07:00
4fe072f19e
move DB logic out of 'created' in components since it's not needed yet
2024-01-27 08:27:52 -07:00
1731f2443b
update offer dialog to allow other units
2024-01-17 20:50:35 -07:00
32c9076c39
fix visibility after adding contact, and some messaging
2024-01-15 12:06:33 -07:00
a87179d127
change wording from "identity" to "identifier" in many places
2024-01-12 16:37:02 -07:00
e739d0be7c
update error messages to be less... confusing
2023-12-22 09:19:36 -07:00
0a618cc4ff
add button to record an offer on a project
2023-11-19 17:08:42 -07:00