Matthew Raymer
23789d4ecd
Fix JavaScript runtime errors for undefined name property access
- Add null checks to prevent "Cannot read properties of undefined (reading 'name')" errors
- Fix ProjectCard, MembersList, ProjectsView, DiscoverView, ProjectViewView components
- Add null validation in DIDView.claimDescription() and ClaimReportCertificateView.drawCanvas()
- Add missing databaseUtil import in MembersList component
- Use meaningful fallback text for undefined names ("Unnamed Project", "Unnamed Member")
- Resolves template rendering crashes when entities lack name properties
2 days ago
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
2 weeks 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.
2 weeks ago
Trent Larson
cf33a39fbc
fix the invite-one setup, fix adeep link, and tweak other verbiage & error info
3 weeks ago
Trent Larson
530c7c1a13
fix problem with user-profile page, and bump to build 29 & version 0.5.3
3 weeks ago
Trent Larson
820ae727ed
fix linting
4 weeks ago
Jose Olarte III
0e65431f43
Map z-index fix + adjustments
- Set map z-index lower than nav
- Relocated search box to account for conditional visibility
- Various conditional fixes
- Spacing adjustments
1 month ago
Trent Larson
8d1511e38f
convert all remaining DB writes & reads to SQL (with successful registration & claim)
1 month 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
4 months ago
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.
4 months ago
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.
4 months ago
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
4 months ago
Trent Larson
eabe2b9448
fix problem when going directly to people-map where the search results disappear
5 months ago
Trent Larson
1e9c3f3101
add Discover query param searchPeople to go straight to people map
5 months ago
Trent Larson
c9c3cacfbd
fix image server references for tests (2 tests failing: missing function & looking for registration prompt for unregistered user)
5 months ago
Matthew Raymer
8eabf76f56
fix: add missing DEFAULT_PARTNER_API_SERVER import in DiscoverView
- Import DEFAULT_PARTNER_API_SERVER constant from app constants
- Fix missing import in DiscoverView component
5 months ago
Trent Larson
0576fc4187
fix a jump on user profile map move & recenter
6 months ago
Trent Larson
802130d3b6
fix the marker storage & clearing logic, and add the second profile map when used
6 months ago
Trent Larson
5763fe4e49
add page for user profile view and update endpoints; rename any "rowid" to "rowId"
6 months ago
Trent Larson
f3f8aeefc3
add discovery of people's profiles, and update profile endpoints for latest server version
6 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.
6 months ago
Trent Larson
f405e7d02f
make notification errors go away automatically
6 months ago
Trent Larson
6fc23e4765
fix centering of numbers on map markers, fix recenter after first drag
6 months ago
Trent Larson
56bbc3f4cc
show results for project map grouping when clicked
6 months ago
Trent Larson
d8325240f0
load the projects on the map on initial load
6 months ago
Trent Larson
a8b404133e
add requests for map tiles with counts of plans (commented out)
6 months ago
Trent Larson
bb3807a805
switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
7 months ago
Trent Larson
67b2b7199a
fix tests (from project-page switch 4 commits ago) and fix linting
8 months ago
Trent Larson
8a61d9df45
various look-and-feel improvements
8 months ago
Trent Larson
53abf964b2
add basic page-by-page onboarding help
9 months ago
Trent Larson
8111b0e5cf
modify the settings to allow account-specific settings, eg. for "isRegistered"
10 months ago
Trent Larson
0947c55110
remove the last of the localStorage for passing parameters
10 months ago
Trent Larson
eec55e95be
add message when no projects are found in a search, and bump to version 0.3.23
10 months ago
Trent Larson
6f7b197667
add blurbs for different audiences in Help, and allow a link for direct search on project discovery page
10 months ago
Trent Larson
f2cb7d3ed8
prompt for name when showing info, and provide a "copy" page when remote
11 months ago
Trent Larson
53e77e46dd
fix list of offers (and some other lists), and add tests for offers
11 months ago
Jose Olarte III
a410836539
Added IDs for Playwright targeting
11 months ago
Trent Larson
59820a2f01
add more type casts
12 months ago
Trent Larson
145a1da37e
linting cleanup
1 year ago
Trent Larson
bce003e508
change accessToken to take a DID
1 year ago
Trent Larson
9c7b138d06
modify & explain icons next to feed
1 year ago
Trent Larson
ea156fac13
improve messaging when user has no offers or projects
1 year ago
Trent Larson
230773a917
add Confirm Gift screen for simpler confirmation
1 year ago
Trent Larson
af976ba838
add an image to projects (which shows on all ProjectIcons except for offers)
1 year ago
Trent Larson
ad39ea05c2
fix the photo share_target, and tweak other verbiage
1 year ago
Trent Larson
581a374b05
show contact's or user's icon in more places
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
a76df55224
add display of my own offers
1 year ago
Trent Larson
639dc7b4e5
add instruction to error output
1 year ago