Trent Larson
be27ca1855
fix more logic for tests (cherry-picked from 83acb028c7
)
2 weeks ago
Trent Larson
8d1511e38f
convert all remaining DB writes & reads to SQL (with successful registration & claim)
3 weeks 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
3 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
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
f6509b4013
make invite notes the default user name when adding a contact
6 months ago
Trent Larson
0a314934b8
add invite-one-accept screen dedicated to accepting invitations
6 months ago
Trent Larson
49aff7e488
fix the wording on accepted invite
6 months ago
Trent Larson
8466bb0b1f
fix linting problem (NOW we'll deploy 0.3.33)
7 months ago
Trent Larson
bacf9d7de6
fix problem with "Affirm Delivery" on offer claim page, plus other look-and-feel tweaks
7 months ago
Trent Larson
e1d0a2b02c
bump to version 0.3.31, tweak messaging to include offers
8 months ago
Trent Larson
00b191c4fd
suggest new user going to the front page
8 months ago
Trent Larson
6f880d0df1
fix bad link to project page, fix improper action on invite-add-contact cancel
8 months ago
Trent Larson
fe482d06f6
show more redeemed info & action on the invites, refactor onboarding instructions
8 months ago
Trent Larson
7fabb78ae3
improve messages on invite page
8 months ago
Trent Larson
6e248f0385
add an invite-delete function
8 months ago
Trent Larson
98afa8a259
refactor invite link & add test
8 months ago
Trent Larson
149481d468
finish the loading of an invite RegisterAction when clicking on a link
8 months ago
Trent Larson
1bfdcab90b
add page for one-on-one invites (incomplete)
8 months ago