Matthew Raymer
2b0e60dfc2
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
daed0a97c9
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
8d1511e38f
convert all remaining DB writes & reads to SQL (with successful registration & claim)
2 months ago
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
5 months ago
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.
7 months ago
Trent Larson
8111b0e5cf
modify the settings to allow account-specific settings, eg. for "isRegistered"
11 months ago
Trent Larson
bce003e508
change accessToken to take a DID
1 year ago
Matthew Raymer
754bced2a9
Considerable cleanup. I think I also found the issue from the other day with values not loading from settings.
2 years ago
Trent Larson
e42b3ff11d
allow choice of no identity (for testing)
2 years ago
Matthew Raymer
b139957e3e
Added identity check
2 years ago
Trent Larson
aa2f484a9f
add the other activity envisioned on the home page (though not sending data yet)
2 years ago
Trent Larson
b0fc8818ee
add timing & animation details to stats-world
2 years ago
Trent Larson
32351b07b7
prefer console.error messages for errors
2 years ago
Trent Larson
0ce06bd9ac
fix a problem with test data (divide by 0), and map full addresses to points
2 years ago
Trent Larson
2feea0d645
remove console.log
2 years ago
Trent Larson
8f3a11bb98
in stats-world, fix the location computations to be based on Give attributes
2 years ago
Trent Larson
beb7821f58
in stats-world, refactor claim-loading code to separate file (no logic changes)
2 years ago
Trent Larson
712b25bc71
add error message to stats page
2 years ago
Trent Larson
f039f98b61
on stats-world: adjust some lighting and position, and add an attempt at a screen-capture
2 years ago
Trent Larson
f7a149444a
tweak timing & spacing of stats-world, and log relevant tasks
2 years ago
Trent Larson
58e962a3bd
load stats-world bushes and make 'em grow!
2 years ago
Trent Larson
7160aa3cc5
remove test cube from stats-world
2 years ago
Trent Larson
786f0bd94a
make the lights wait to turn on in stats-world
2 years ago
Trent Larson
b5db2b4140
refactor variable names (no logic changes)
2 years ago
Trent Larson
faa7959929
make all lights move in stats-world
2 years ago
Trent Larson
3dd1b6f6f0
add some other screen actions (kinda ugly); add load of claims
2 years ago
Trent Larson
9b1c51ba15
adjust stats-world perspective & size & colors
2 years ago
Trent Larson
8c6c32ed20
finish removal from last commit
2 years ago
Trent Larson
0eaf72b83b
remove yet more randomness that has no effect in stats-world
2 years ago
Trent Larson
41d3ad56f5
remove some random numbers that don't seem to make a difference in stats-world
2 years ago
Trent Larson
0227d32f15
add a simple box in stats-world
2 years ago
Trent Larson
b5ab485354
enable zooming on the stats-world
2 years ago
Trent Larson
02ae78de7b
totally remove code to make terrain bob up and down
2 years ago
Trent Larson
64f3dbd138
play with sizing, and stop bobbing and rotation
2 years ago
Trent Larson
f603882d42
modify some things to remove warnings on server and in browser console
2 years ago
Trent Larson
a9844e6e78
add beginning of visualization for statistics, unmodified from blog code
2 years ago