Trent Larson
6301992332
add some logging to the DB (especially for iOS app feed debugging)
4 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
3168416bfa
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.
5 months ago
Matthew Raymer
46f6268e5b
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
5 months ago
Trent Larson
e27aefc19e
fix error setting the apiServer to "", plus some refactors while fixing test 40
5 months ago
Trent Larson
c1058499c7
add discovery of people's profiles, and update profile endpoints for latest server version
6 months ago
Trent Larson
2e7700731b
switch so personal contact JWT is link to this server (not endorser.ch), make empty-did URL show user's info
7 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
399e6299de
add contact-methods to a contact
7 months ago
Trent Larson
d4bb2a35fc
add a contact-edit page and allow saving of notes
7 months ago
Trent Larson
8a0632f655
add DB file for the secret
8 months ago
Trent Larson
251649e6fe
switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
8 months ago
Trent Larson
2758af6e6e
finish separation of daily reminder message, bump version to 0.3.34
8 months ago
Trent Larson
15e09c2d81
change the notification detection to our own variables, and save the selected time
8 months ago
Trent Larson
228f213c10
move more logging into the database
8 months ago
Trent Larson
f57d3b7707
add minute to notification scheduling & fix a bug, plus other tweaks
8 months ago
Trent Larson
195ba6c759
add new projects to front page
9 months ago
Trent Larson
4168c37074
add large notice when user has a new offer to them
9 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"
11 months ago
Trent Larson
fe627ed6b2
include some DID info on the contact list page
11 months ago
Trent Larson
6aef08d7e8
copy a list of contacts and then import
11 months ago
Trent Larson
bdb544a624
fix error sharing image and failing to upload, fix upload in webkit/safari, and test it
12 months ago
Trent Larson
5ad8a2d2ba
await all of the db.settings updates
1 year ago
Trent Larson
b2ebc2992b
cache the passkey JWANT access token for multiple signatures
1 year ago
Trent Larson
053ee4a748
add advanced page & flag for editing raw claims, and fix recipient assignment in detail screen
1 year 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>
1 year 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
2 years ago
Trent Larson
934664b9c9
add the hashed-next-key to the contact data, shown & stored
2 years ago
Trent Larson
15ccd2394f
add missing 'date' to log interface
2 years ago
Trent Larson
6eb26ea90c
remove IndexedDB keys that shouldn't be keys, and remove unused table, and add commentary
2 years ago
Trent Larson
25b1598fcb
doc: add more help for the notifications
2 years ago
Trent Larson
05c6ddda02
allow a test notification from the notification help screen
2 years ago
Trent Larson
7fe256dc9e
log service worker messages to the DB (now works)
2 years ago
Trent Larson
d7f4acb702
make more adjustments to try and get logging to work
2 years ago
Trent Larson
4f2cb55753
add warning if on unexpected server
2 years ago
Trent Larson
1be6c04699
prompt them to fill in their name when sharing their info
2 years ago
Trent Larson
3bf8fd0c22
rename "push" to "webPush" for future-proofing
2 years 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