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
2025-03-11 09:35:55 +00:00
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.
2025-02-26 09:27:04 +00:00
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.
2025-02-26 06:50:08 +00:00
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
2025-02-24 11:21:08 +00:00
Matthew Raymer
2a7178db53
Merge changes
2025-02-03 13:27:36 +00:00
59b433830d
add page for user profile view and update endpoints; rename any "rowid" to "rowId"
2025-01-20 12:43:05 -07:00
Matthew Raymer
6903a02df6
Merge fixes
2025-01-11 12:45:43 +00:00
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.
2025-01-05 08:38:15 +00:00
2c0b927080
make notification errors go away automatically
2025-01-04 18:02:10 -07:00
af197f7c11
catch more errors if something catastrophic happens to encrypted data
2024-12-10 20:02:49 -07:00
251649e6fe
switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
2024-12-08 19:34:31 -07:00
53c4328e82
add words under feed, add big "plus" on first page, and reword some things
2024-11-30 14:33:31 -07:00
a73f0239c9
fix problem not showing user's projects on project page
2024-11-07 18:48:52 -07:00
e1d0a2b02c
bump to version 0.3.31, tweak messaging to include offers
2024-10-25 15:12:06 -06:00
53abf964b2
add basic page-by-page onboarding help
2024-10-23 08:27:16 -06:00
fe482d06f6
show more redeemed info & action on the invites, refactor onboarding instructions
2024-10-09 20:45:06 -06:00
1d48da6855
disable checkboxes for nostr partner messages; adjust linting warnings
2024-09-26 09:14:08 -06:00
b149e623b2
only show the "raw edit" when advanced options are turned on
2024-09-22 08:39:08 -06:00
8111b0e5cf
modify the settings to allow account-specific settings, eg. for "isRegistered"
2024-09-15 16:30:46 -06:00
0947c55110
remove the last of the localStorage for passing parameters
2024-08-30 21:55:08 -06:00
f2cb7d3ed8
prompt for name when showing info, and provide a "copy" page when remote
2024-08-23 20:06:50 -06:00
e5155a3da1
add recipient description to offers in user's list
2024-08-12 20:38:54 -06:00
53e77e46dd
fix list of offers (and some other lists), and add tests for offers
2024-08-12 09:25:01 -06:00
e0c50dcf62
add 'isRegistered' check to guard against many buttons
2024-08-04 19:56:10 -06:00
Jose Olarte III
a410836539
Added IDs for Playwright targeting
2024-07-30 16:35:55 +08:00
59820a2f01
add more type casts
2024-07-23 20:57:10 -06:00
b2ebc2992b
cache the passkey JWANT access token for multiple signatures
2024-07-19 12:44:54 -06:00
cd0a31e6f5
remove remaining getIdentity calls & fix QR code for did:peer
2024-07-15 20:47:10 -06:00
11163dfad9
consolidate getIdentity & remove dups
2024-07-11 19:43:56 -06:00
bce003e508
change accessToken to take a DID
2024-07-09 19:20:05 -06:00
08e1ce6486
fix prompt for already-registered contacts (plus some verbiage)
2024-06-22 11:47:10 -06:00
ea156fac13
improve messaging when user has no offers or projects
2024-06-21 19:52:35 -06:00
af976ba838
add an image to projects (which shows on all ProjectIcons except for offers)
2024-05-23 20:51:40 -06:00
b86543b404
disallow new-project page if not registered
2024-04-28 19:16:29 -06:00
4e877c15f6
change the "give" action on contact page to use dialog box
2024-04-21 16:42:22 -06:00
581a374b05
show contact's or user's icon in more places
2024-04-19 11:39:01 -06:00
3fbf68b117
filter by selections (now all working), add cache for plans
2024-04-06 14:01:18 -06:00
214a264179
change icon for detail view (from circle-info to file-lines)
2024-03-23 19:07:53 -06:00
6aab1ff49d
consolidate interface and remove copies of code
2024-02-24 10:26:12 -07:00
a76df55224
add display of my own offers
2024-02-03 18:56:09 -07:00
d7530ff56b
adjust more UI on the Advanced section, and make other small code & UI tweaks
2024-01-27 17:32:17 -07:00
563b5793a9
add different identicons for people (and increment version & add -beta)
2024-01-17 19:27:05 -07:00
a87179d127
change wording from "identity" to "identifier" in many places
2024-01-12 16:37:02 -07:00
Jose Olarte III
998a1d312f
Set max screen content width
2024-01-02 15:25:51 +08:00
051a0a97d8
fix issuer name in project list
2023-12-27 14:13:05 -07:00
17c96dd01a
fix linting, etc with previous feature (env warning)
2023-12-16 17:17:54 -07:00
4f2cb55753
add warning if on unexpected server
2023-12-16 08:04:16 -07:00
ccca93b9f1
change some messages, rework tasks
2023-12-11 19:19:29 -07:00
6957678474
include project ID in the URLs to the project-details page
2023-11-26 18:42:28 -07:00
20c2954be1
remove unused properties
2023-11-06 08:59:31 -07:00