Trent Larson
829870b16c
add some logging to the DB (especially for iOS app feed debugging)
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
2 months ago
Matthew Raymer
fa7d6317b9
feat: add claim confirmation functionality to activity feed
- Add confirm button functionality to ActivityListItem
- Implement confirmation logic in HomeView
- Add proper button state handling and validation
Technical Changes:
- Add canConfirm computed property to validate confirmation ability
- Add handleConfirmClick method with proper error handling
- Pass required props (isRegistered, activeDid, confirmerIdList)
- Add confirmation dialog with user verification
- Implement claim submission with proper cleanup
- Add visual feedback for button states
- Update feed after successful confirmation
UI/UX Improvements:
- Add disabled state styling for confirm button
- Show proper error messages for invalid confirmation attempts
- Add loading and success notifications
- Improve button accessibility with proper states
Bug Fixes:
- Make apiServer optional in settings type
- Fix settings update during registration
- Add proper type checking for claim confirmation
This adds the ability to confirm claims directly from the
activity feed with proper validation, error handling, and
user feedback. The confirmation flow matches the existing
claim view confirmation functionality.
2 months ago
Matthew Raymer
d14431161a
refactor: Improve settings and feed handling in HomeView
- Split feed initialization into separate methods
- Add registration status verification
- Improve error handling and notifications
- Add JSDoc comments for better code documentation
- Make apiServer optional in settings type
The changes improve code organization by:
1. Breaking down monolithic initialization into focused methods
2. Adding proper type safety for optional settings
3. Improving error handling and user feedback
4. Adding clear documentation for methods
5. Separating concerns for feed, contacts and registration
3 months ago
Trent Larson
811fddf24a
fix error setting the apiServer to "", plus some refactors while fixing test 40
3 months ago
Trent Larson
f3f8aeefc3
add discovery of people's profiles, and update profile endpoints for latest server version
4 months ago
Trent Larson
702e44872f
switch so personal contact JWT is link to this server (not endorser.ch), make empty-did URL show user's info
4 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.
5 months ago
Trent Larson
3c1731acdf
add contact-methods to a contact
5 months ago
Trent Larson
086ccce0bb
add a contact-edit page and allow saving of notes
5 months ago
Trent Larson
6274f083a1
add DB file for the secret
5 months ago
Trent Larson
bb3807a805
switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
5 months ago
Trent Larson
7777fa202b
finish separation of daily reminder message, bump version to 0.3.34
6 months ago
Trent Larson
8735fe44db
change the notification detection to our own variables, and save the selected time
6 months ago
Trent Larson
6dc44b2494
move more logging into the database
6 months ago
Trent Larson
2c0c7ac256
add minute to notification scheduling & fix a bug, plus other tweaks
6 months ago
Trent Larson
195ba6c759
add new projects to front page
7 months ago
Trent Larson
4168c37074
add large notice when user has a new offer to them
7 months ago
Trent Larson
53abf964b2
add basic page-by-page onboarding help
7 months ago
Trent Larson
8111b0e5cf
modify the settings to allow account-specific settings, eg. for "isRegistered"
8 months ago
Trent Larson
fe627ed6b2
include some DID info on the contact list page
9 months ago
Trent Larson
6aef08d7e8
copy a list of contacts and then import
9 months ago
Trent Larson
bdb544a624
fix error sharing image and failing to upload, fix upload in webkit/safari, and test it
10 months ago
Trent Larson
5ad8a2d2ba
await all of the db.settings updates
10 months ago
Trent Larson
b2ebc2992b
cache the passkey JWANT access token for multiple signatures
10 months ago
Trent Larson
053ee4a748
add advanced page & flag for editing raw claims, and fix recipient assignment in detail screen
11 months ago
trentlarson
4cb434fd5d
passkey test ( #116 )
Co-authored-by: Trent Larson <trent@trentlarson.com>
Reviewed-on: https://gitea.anomalistdesign.com/trent_larson/crowd-funder-for-time-pwa/pulls/116
Co-authored-by: trentlarson <trent@trentlarson.com>
Co-committed-by: trentlarson <trent@trentlarson.com>
11 months ago
Trent Larson
7f02ba29a3
add a share_target for people to add a photo
1 year ago
Trent Larson
c48b8246f9
add registration inside contact import, with flag to hide it
1 year ago
Trent Larson
581a374b05
show contact's or user's icon in more places
1 year ago
Trent Larson
50cae65214
add photo to profile page (not yet saved)
1 year ago
Trent Larson
3fbf68b117
filter by selections (now all working), add cache for plans
1 year ago
Trent Larson
e3696e3ac5
feed filter: save the changed values to the DB, go to map if no location chosen, reload if necessary
1 year ago
Trent Larson
866dcb3a2a
add screens for the shortcuts for the BVC group (doesn't submit yet)
1 year ago
Trent Larson
aeb1d6a6a5
add next-public-key-hash to manual input
1 year ago
Trent Larson
934664b9c9
add the hashed-next-key to the contact data, shown & stored
1 year ago
Trent Larson
15ccd2394f
add missing 'date' to log interface
1 year ago
Trent Larson
6eb26ea90c
remove IndexedDB keys that shouldn't be keys, and remove unused table, and add commentary
1 year ago
Trent Larson
25b1598fcb
doc: add more help for the notifications
1 year ago
Trent Larson
05c6ddda02
allow a test notification from the notification help screen
1 year ago
Trent Larson
7fe256dc9e
log service worker messages to the DB (now works)
1 year ago
Trent Larson
d7f4acb702
make more adjustments to try and get logging to work
1 year ago
Trent Larson
4f2cb55753
add warning if on unexpected server
1 year ago
Trent Larson
1be6c04699
prompt them to fill in their name when sharing their info
1 year ago
Trent Larson
3bf8fd0c22
rename "push" to "webPush" for future-proofing
1 year ago
Trent Larson
65a5edf26b
allow to customize the push-server for testing
2 years ago
Matthew Raymer
e813315dad
Fixes and updates
2 years ago
Trent Larson
85bd807bcc
allow view of feed without an identifier
2 years ago
Trent Larson
c388cc8cfe
remove lastName and just have a single name field
2 years ago
Matthew Raymer
2d38183dce
Some updates and nudging toward notification ui
2 years ago