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.
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
eabe2b9448
fix problem when going directly to people-map where the search results disappear
4 months ago
Trent Larson
1e9c3f3101
add Discover query param searchPeople to go straight to people map
4 months ago
Trent Larson
c9c3cacfbd
fix image server references for tests (2 tests failing: missing function & looking for registration prompt for unregistered user)
4 months ago
Matthew Raymer
8eabf76f56
fix: add missing DEFAULT_PARTNER_API_SERVER import in DiscoverView
- Import DEFAULT_PARTNER_API_SERVER constant from app constants
- Fix missing import in DiscoverView component
4 months ago
Trent Larson
0576fc4187
fix a jump on user profile map move & recenter
4 months ago
Trent Larson
802130d3b6
fix the marker storage & clearing logic, and add the second profile map when used
4 months ago
Trent Larson
5763fe4e49
add page for user profile view and update endpoints; rename any "rowid" to "rowId"
5 months ago
Trent Larson
f3f8aeefc3
add discovery of people's profiles, and update profile endpoints for latest server version
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
f405e7d02f
make notification errors go away automatically
5 months ago
Trent Larson
6fc23e4765
fix centering of numbers on map markers, fix recenter after first drag
5 months ago
Trent Larson
56bbc3f4cc
show results for project map grouping when clicked
5 months ago
Trent Larson
d8325240f0
load the projects on the map on initial load
5 months ago
Trent Larson
a8b404133e
add requests for map tiles with counts of plans (commented out)
5 months ago
Trent Larson
bb3807a805
switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
6 months ago
Trent Larson
67b2b7199a
fix tests (from project-page switch 4 commits ago) and fix linting
7 months ago
Trent Larson
8a61d9df45
various look-and-feel improvements
7 months ago
Trent Larson
53abf964b2
add basic page-by-page onboarding help
8 months ago
Trent Larson
8111b0e5cf
modify the settings to allow account-specific settings, eg. for "isRegistered"
9 months ago
Trent Larson
0947c55110
remove the last of the localStorage for passing parameters
9 months ago
Trent Larson
eec55e95be
add message when no projects are found in a search, and bump to version 0.3.23
9 months ago
Trent Larson
6f7b197667
add blurbs for different audiences in Help, and allow a link for direct search on project discovery page
9 months ago
Trent Larson
f2cb7d3ed8
prompt for name when showing info, and provide a "copy" page when remote
10 months ago
Trent Larson
53e77e46dd
fix list of offers (and some other lists), and add tests for offers
10 months ago
Jose Olarte III
a410836539
Added IDs for Playwright targeting
10 months ago
Trent Larson
59820a2f01
add more type casts
11 months ago
Trent Larson
145a1da37e
linting cleanup
11 months ago
Trent Larson
bce003e508
change accessToken to take a DID
11 months ago
Trent Larson
9c7b138d06
modify & explain icons next to feed
12 months ago
Trent Larson
ea156fac13
improve messaging when user has no offers or projects
12 months ago
Trent Larson
230773a917
add Confirm Gift screen for simpler confirmation
12 months ago
Trent Larson
af976ba838
add an image to projects (which shows on all ProjectIcons except for offers)
1 year ago
Trent Larson
ad39ea05c2
fix the photo share_target, and tweak other verbiage
1 year ago
Trent Larson
581a374b05
show contact's or user's icon in more places
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
a76df55224
add display of my own offers
1 year ago
Trent Larson
639dc7b4e5
add instruction to error output
1 year ago
Trent Larson
563b5793a9
add different identicons for people (and increment version & add -beta)
1 year ago
Jose Olarte III
998a1d312f
Set max screen content width
1 year ago
Trent Larson
75d15ddeb9
add note to install as an app
1 year ago
Trent Larson
051a0a97d8
fix issuer name in project list
1 year ago
Trent Larson
17c96dd01a
fix linting, etc with previous feature (env warning)
1 year ago
Trent Larson
4f2cb55753
add warning if on unexpected server
1 year ago
Trent Larson
1127d7079b
remove outdated check, refactor tasks
2 years ago
Trent Larson
606d9ec734
fix the result count when the search filters change
2 years ago