Matthew Raymer
17e30762bd
Complete Enhanced Triple Migration Pattern for PhotoDialog and OfferDialog components
- Implement 4-phase migration pattern: Database + SQL + Notifications + Template Streamlining
- PhotoDialog.vue: Replace databaseUtil with PlatformServiceMixin, add 8 notification constants, extract 11 computed properties
- OfferDialog.vue: Replace databaseUtil with PlatformServiceMixin, add 7 notification constants, extract CSS classes to computed properties
- Update migration template with Phase 4 (Template Streamlining) and Phase 5 (Code Quality Review)
- Add 15 centralized notification constants to src/constants/notifications.ts
Migration validation: 25/27 components complete (93% success rate)
3 weeks ago
Matthew Raymer
d359263704
feat: enhance GenericVerifiableCredential interface with explicit optional properties
- Add name, description, and agent as optional properties to GenericVerifiableCredential
- Improve type safety and IntelliSense for common claim properties
- Maintain backward compatibility with existing code
- Reduce need for type assertions when accessing claim properties
1 month ago
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.
1 month ago
Trent Larson
7764e17180
shrink the contents of the QR code so people can scan it
1 month ago
Trent Larson
8c1c6a9c4e
fix some result types and refactor types themselves
1 month ago
Trent Larson
4327a5175c
fix more logic for tests (cherry-picked from 83acb028c7
)
2 months ago
Trent Larson
8092d1c576
convert all remaining DB writes & reads to SQL (with successful registration & claim)
2 months ago
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
5 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.
5 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
5 months ago
Matthew Raymer
15783cdbe6
(chore): cleaning up formatting and relative references
6 months ago
Trent Larson
6a070a1715
fix linting (and change a little wording in onboarding page)
6 months ago
Trent Larson
5943df756a
make screen where user can create a group onboarding meeting
6 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.
7 months ago
Trent Larson
7189cce25e
ensure overlays show on top of relative+absolute positioning like green pluses
8 months ago
Trent Larson
73df9f374a
move push notification setup out of an App.vue Notification and into a component
8 months ago
Trent Larson
4168c37074
add large notice when user has a new offer to them
9 months ago
Trent Larson
4fd2319d53
fix error is OfferDialog where assignment to a project was missed, plus some refactors
10 months ago
Trent Larson
8111b0e5cf
modify the settings to allow account-specific settings, eg. for "isRegistered"
11 months ago
Trent Larson
4f97010f99
fix tests, add test for offer update
11 months ago
Trent Larson
f38edff942
allow editing of an offer
11 months ago
Trent Larson
53e77e46dd
fix list of offers (and some other lists), and add tests for offers
12 months ago
Trent Larson
7cb9e2aa52
replace remaining didJwt.createJwt calls with one that checks for did:peer
1 year ago
Trent Larson
4e877c15f6
change the "give" action on contact page to use dialog box
1 year ago
Trent Larson
ef95708d02
add 'offer' on contact screen
1 year ago
Jose Olarte III
5388e6052c
Button width changes
For buttons that are next to each other
1 year ago
Jose Olarte III
b6e344a15e
Propagated button improvements across views
1 year ago
Trent Larson
2058205150
for BVC shortcut: send attend & give actions, and list actions to confirm
1 year ago
Trent Larson
6aab1ff49d
consolidate interface and remove copies of code
1 year ago
Trent Larson
719e3a467d
make a number input targeted towards numbers
2 years ago
Trent Larson
4fe072f19e
move DB logic out of 'created' in components since it's not needed yet
2 years ago
Trent Larson
1731f2443b
update offer dialog to allow other units
2 years ago
Trent Larson
32c9076c39
fix visibility after adding contact, and some messaging
2 years ago
Trent Larson
a87179d127
change wording from "identity" to "identifier" in many places
2 years ago
Trent Larson
e739d0be7c
update error messages to be less... confusing
2 years ago
Trent Larson
0a618cc4ff
add button to record an offer on a project
2 years ago
Trent Larson
bbfc1e1007
modify naming for unnamed gifter
2 years ago
Trent Larson
5b7ccf9ef0
fix where the project ID was not included; fix the pause when submitting give & show toast of aknowledgement; remove 'emit'
2 years ago
Trent Larson
9bacd4da87
consolidate into GiftedDialog because the result was always the same
2 years ago
Trent Larson
b05b602acd
fix many, many more type errors
2 years ago
Jose Olarte III
9247b6ed1f
Changed ID to name
2 years ago
Matthew Raymer
5bc0e27b30
Use a DID instead of a name ... this may need some better design on the dialog @jose
2 years ago
Jose Olarte III
3e52b504b0
Polished gifted dialog UI
2 years ago
Matthew Raymer
cf54096326
Looks like GiftedDialog works? A little cleanup.
2 years ago
Matthew Raymer
4758a740de
First draft of Vue3 version. WIll finish after error-logging merge
2 years ago
Trent Larson
a2b3cebdb3
finish contact selection for gives
2 years ago
Trent Larson
a8794be2ea
sllow quick gifting all the way to the server, maybe with hours
2 years ago
Trent Larson
aa2f484a9f
add the other activity envisioned on the home page (though not sending data yet)
2 years ago