Trent Larson
189bfabcf8
add LogView for those cases where the log download doesn't work
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
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.
3 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.
3 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
3 months ago
Trent Larson
6514f52b92
change all copied contact URLs to contact-import, and handle multiples & singles separately
4 months ago
Trent Larson
07c4e58e87
add sanity checks for importing bulk contacts, eg. when there is a truncated link
4 months ago
Trent Larson
57a09cf9fb
update to 0.3.47 - fix linting
5 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
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.
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
6f880d0df1
fix bad link to project page, fix improper action on invite-add-contact cancel
7 months ago
Trent Larson
149481d468
finish the loading of an invite RegisterAction when clicking on a link
8 months ago
Trent Larson
a271d9c206
add link directly into contact page to add a new contact via "contactJwt" query parameter
8 months ago
Trent Larson
8111b0e5cf
modify the settings to allow account-specific settings, eg. for "isRegistered"
8 months ago
Trent Larson
d3a4377935
make the user-name pop-up the preferred way to set the name
9 months ago
Trent Larson
f2cb7d3ed8
prompt for name when showing info, and provide a "copy" page when remote
9 months ago
Trent Larson
6aef08d7e8
copy a list of contacts and then import
9 months ago
Trent Larson
5ad8a2d2ba
await all of the db.settings updates
10 months ago
Trent Larson
cd0a31e6f5
remove remaining getIdentity calls & fix QR code for did:peer
10 months ago
trentlarson
f6338c05ee
move low-level DID-related create & decode into separate folder ( #120 )
Co-authored-by: Trent Larson <trent@trentlarson.com>
Reviewed-on: https://gitea.anomalistdesign.com/trent_larson/crowd-funder-for-time-pwa/pulls/120
Co-authored-by: trentlarson <trent@trentlarson.com>
Co-committed-by: trentlarson <trent@trentlarson.com>
10 months ago
Trent Larson
f46a60b5dd
change first page back to prompts without passkey
10 months ago
Trent Larson
11163dfad9
consolidate getIdentity & remove dups
10 months ago
Trent Larson
7cb9e2aa52
replace remaining didJwt.createJwt calls with one that checks for did:peer
10 months ago
Trent Larson
45f0a14661
add expiration inside JWANT & refactor getHeaders to move toward supporting did:peer
11 months ago
Trent Larson
c48b8246f9
add registration inside contact import, with flag to hide it
1 year ago
Trent Larson
b32a3d85e9
add 'registered' flag in contact info
1 year ago
Trent Larson
8571c78a53
for scan on QR code screen, import and keep on that screen
1 year ago
Trent Larson
7078f7b9e6
add choice of a start date for a project
1 year ago
Trent Larson
4e877c15f6
change the "give" action on contact page to use dialog box
1 year ago
Trent Larson
883687f1c3
make so cropping isn't behind header; delete profile image from storage when deleted
1 year ago
Trent Larson
581a374b05
show contact's or user's icon in more places
1 year ago
Jason Buchanan
5dead960ae
fix: es modules syntax for buffer deps instead of commonjs require
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
3475c32e1f
update onboarding hint message, justify text on QR page
1 year ago
Trent Larson
dcd881adae
make the name-setting prompt yellow
1 year ago
Trent Larson
2511f18fa7
enhance (& fix for mobile) styling and verbiage
1 year ago
Trent Larson
a87179d127
change wording from "identity" to "identifier" in many places
1 year ago
Trent Larson
68f3b79983
add hints for registration on the contact page
1 year ago
Trent Larson
5353fe770a
tweak verbiage and usability
1 year ago
Trent Larson
934664b9c9
add the hashed-next-key to the contact data, shown & stored
1 year ago
Jose Olarte III
998a1d312f
Set max screen content width
1 year ago
Trent Larson
1be6c04699
prompt them to fill in their name when sharing their info
1 year ago
Trent Larson
276d8b2f19
refine tasks & an error message
1 year ago
Trent Larson
a7fbbbd4cd
fix more paths where there may be no ID
1 year ago
Trent Larson
1be10b1511
add ability to copy the QR code (even though we don't have a way to read it in yet)
2 years ago
Trent Larson
c391385500
feat & doc: automatically set visibility & alert about registration, alert to help onboard (and refine docs & tasks)
2 years ago
Trent Larson
c388cc8cfe
remove lastName and just have a single name field
2 years ago