Jose Olarte III
52be52f446
Various design tweaks
1 month ago
Jose Olarte III
869a758a5a
Giver-recipient display fixes
- Truncate very long texts (such as dids)
- Stacked layout in mobile, row layout in wider screens
- Minor design adjustments
1 month ago
Jose Olarte III
84ac67a36f
Updated amount input controls
Now consistent with gifting dialog version
1 month ago
Jose Olarte III
20f988c996
Fix: truncate text blocks
- Avoid did display stretching screen width
1 month ago
Trent Larson
8c1c6a9c4e
fix some result types and refactor types themselves
1 month ago
Trent Larson
e02ab7fc0f
fix check for successful gift submission
2 months ago
Trent Larson
24cfeca1eb
fix some errors and correct recent type duplications & bloat (cherry-picked from d8f2587d1c
)
2 months ago
Trent Larson
8092d1c576
convert all remaining DB writes & reads to SQL (with successful registration & claim)
2 months ago
Jose Olarte III
033ef2297d
Feature: context-based default camera
- Specify the default camera (front / back) to use
2 months ago
Trent Larson
776cf14bf8
remove ability to mark a 'trade', ensuring this only sends & retrieves gifts
3 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
3dbb836ae5
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.
5 months ago
Matthew Raymer
03178d35e7
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.
5 months ago
Matthew Raymer
61da40596c
fix: improve TypeScript type safety across views
Changes:
- Add proper type annotations for component properties
- Fix null checks with optional chaining
- Add missing interface properties
- Replace any with proper types where possible
- Move interfaces from endorserServer to interfaces/
- Add proper Router and Route typing
- Add default empty string for optional text fields
This improves type safety and reduces TypeScript errors across views.
5 months ago
Matthew Raymer
79ef59c5a9
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
5 months ago
Trent Larson
898821c9aa
fix image server references for tests (2 tests failing: missing function & looking for registration prompt for unregistered user)
5 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
2c0b927080
make notification errors go away automatically
7 months ago
Trent Larson
e286a8f002
change the contact-sharing data into a JWT for the contact-import page
7 months ago
Trent Larson
251649e6fe
switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
8 months ago
Trent Larson
8bd1a6668c
add periods "." at the end of the giver & receiver sentences
8 months ago
Trent Larson
5b5fbe23a5
allow to deselect the giver & refactor dialog to group giver vs recipient
8 months ago
Trent Larson
8db7ac3f6f
refactor project screen: add action to record a give from it, and add checks to give confirmation buttons
8 months ago
Trent Larson
bacf9d7de6
fix problem with "Affirm Delivery" on offer claim page, plus other look-and-feel tweaks
9 months ago
Trent Larson
e1d0a2b02c
bump to version 0.3.31, tweak messaging to include offers
9 months ago
Trent Larson
9925800fbd
allow details on a give for a providing project (so we can attach a picture)
10 months ago
Trent Larson
7c70e699d8
switch BVC-meeting-end gift to be from the plan, and add display of providers on claim-view page
10 months ago
Trent Larson
b149e623b2
only show the "raw edit" when advanced options are turned on
10 months ago
Trent Larson
8111b0e5cf
modify the settings to allow account-specific settings, eg. for "isRegistered"
10 months ago
Trent Larson
c7cac6c894
fix so "not named" shows on detail screen for anonymous
11 months ago
Trent Larson
f38edff942
allow editing of an offer
11 months ago
Trent Larson
73c82aefe2
start with offer-edit
11 months ago
Trent Larson
e30e43d762
show image on the view-claim screen
12 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
de2b0e1940
fix problem detecting plans when editing gifts
1 year ago
Trent Larson
59820a2f01
add more type casts
1 year ago
Trent Larson
d724d8093c
add ability to edit a GiveAction
1 year ago
Trent Larson
b2ebc2992b
cache the passkey JWANT access token for multiple signatures
1 year ago
Trent Larson
cd0a31e6f5
remove remaining getIdentity calls & fix QR code for did:peer
1 year ago
Trent Larson
7cb9e2aa52
replace remaining didJwt.createJwt calls with one that checks for did:peer
1 year ago
Trent Larson
bce003e508
change accessToken to take a DID
1 year ago
Trent Larson
45f0a14661
add expiration inside JWANT & refactor getHeaders to move toward supporting did:peer
1 year ago
Trent Larson
42fde503e3
make a passkey-generator in start & home pages, and make that the default
1 year ago
Trent Larson
dea3f78173
fix type of the raw claim sent
1 year ago
Trent Larson
053ee4a748
add advanced page & flag for editing raw claims, and fix recipient assignment in detail screen
1 year ago
Trent Larson
810f307442
bump to v 0.3.14
1 year ago
Trent Larson
a4bdd2e922
fix checkbox verbiage when no project is chosen for a give
1 year ago
Trent Larson
a95d5db24a
fix justification of checkboxes and text so they don't move
1 year ago
Trent Larson
453256f874
give-detail page: add more-correct parameters from confirm-give page, and allow toggling of project & user-recipient
1 year ago
Trent Larson
230773a917
add Confirm Gift screen for simpler confirmation
1 year ago