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