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
4 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
42055a2d66
fix: update component and import paths
Changes:
- Update font-awesome component closing tag to match naming
- Change @capacitor/app import to use local wrapper
- Fix component self-closing tags in ContactScanView.vue
This improves consistency in component usage and centralizes
capacitor imports through our wrapper layer.
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.
6 months ago
Trent Larson
f405e7d02f
make notification errors go away automatically
6 months ago
Trent Larson
bb3807a805
switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
7 months ago
Trent Larson
6f880d0df1
fix bad link to project page, fix improper action on invite-add-contact cancel
9 months ago
Trent Larson
8111b0e5cf
modify the settings to allow account-specific settings, eg. for "isRegistered"
10 months ago
Trent Larson
53e77e46dd
fix list of offers (and some other lists), and add tests for offers
11 months ago
Trent Larson
59820a2f01
add more type casts
12 months ago
Trent Larson
b2ebc2992b
cache the passkey JWANT access token for multiple signatures
12 months ago
Trent Larson
cd0a31e6f5
remove remaining getIdentity calls & fix QR code for did:peer
12 months ago
Trent Larson
11163dfad9
consolidate getIdentity & remove dups
12 months ago
Trent Larson
7cb9e2aa52
replace remaining didJwt.createJwt calls with one that checks for did:peer
12 months ago
Trent Larson
145a1da37e
linting cleanup
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
ad39ea05c2
fix the photo share_target, and tweak other verbiage
1 year ago
Trent Larson
3fbf68b117
filter by selections (now all working), add cache for plans
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
d7530ff56b
adjust more UI on the Advanced section, and make other small code & UI tweaks
1 year ago
Trent Larson
e0fcb1f67b
fix various verbiage
1 year ago
Trent Larson
a87179d127
change wording from "identity" to "identifier" in many places
1 year ago
Jose Olarte III
998a1d312f
Set max screen content width
2 years ago
Trent Larson
4f0a046723
fix quick-give check on contact page & add message on detailed view
2 years ago
Trent Larson
e739d0be7c
update error messages to be less... confusing
2 years ago
Trent Larson
8dbfcd38d3
fix bad text in pop-up, and fix name of class
2 years ago
Trent Larson
74ed025377
move search area selection out of discover onto it's own screen
2 years ago
Trent Larson
f36ecfd8db
misc look-and-feel tweaks
2 years ago
Trent Larson
4b9cbd0e9f
fix all the lint warnings
2 years ago
Matthew Raymer
fd43da93a5
A whole lot of cleaning going on
2 years ago
Trent Larson
b59bcf249a
fix many more typescript errors
2 years ago
Trent Larson
b05b602acd
fix many, many more type errors
2 years ago
Matthew Raymer
5501ac1a2f
Many fixes -- especially and endorserServer
2 years ago
Jose Olarte III
5addc3c206
Visual fixes
2 years ago
Jose Olarte III
69f2f3cfd2
Converted to tabular structure
For more adaptive widths
2 years ago
Jose Olarte III
f55e50067f
Replaced all alertMessage calls with notiwind
2 years ago
Trent Larson
c5b4921583
fix failure to retrieve all totals for gives from me
2 years ago
Matthew Raymer
a4fe94f081
Add a back arrow
2 years ago
Trent Larson
8add6448fb
remove code that keeps the private key (account) data in memory
2 years ago
Matthew Raymer
3f13d3ea33
CLeanup header creation
2 years ago
Matthew Raymer
b6b7c56157
DiscoverView searches almost done.
Contact fixes
ContactAmounts fix quick-nav
Cleaning up ProjectView still more to do
Hide advanced by default on StatisticsView
project.task updated
2 years ago
Trent Larson
0257901c5b
allow viewing of a project without an ID (and other refactors)
2 years ago
Matthew Raymer
3bd55f3ad2
More cleanup and application of new db loading
2 years ago
Matthew Raymer
08137eb000
Updates to contacts UI. Sweep for buildIdentity and buildHeaders
2 years ago
Matthew Raymer
754bced2a9
Considerable cleanup. I think I also found the issue from the other day with values not loading from settings.
2 years ago
Matthew Raymer
3b41014083
Considerable cleanup and merge
2 years ago