Trent Larson
22da1106a8
fix linting
6 months ago
Matthew Raymer
46f6268e5b
refactor: Improve settings and feed handling in HomeView
- Split feed initialization into separate methods
- Add registration status verification
- Improve error handling and notifications
- Add JSDoc comments for better code documentation
- Make apiServer optional in settings type
The changes improve code organization by:
1. Breaking down monolithic initialization into focused methods
2. Adding proper type safety for optional settings
3. Improving error handling and user feedback
4. Adding clear documentation for methods
5. Separating concerns for feed, contacts and registration
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
Trent Larson
e27aefc19e
fix error setting the apiServer to "", plus some refactors while fixing test 40
6 months ago
Jason Buchanan
213cec2d85
feat(feed): improving the image viewer, to be more conventional, and also allowing the viewer to download the image on mobile with `...` control
6 months ago
Jason Buchanan
62eb3ecccc
feat(feed): adding image viewer for expanding images found in the feed instead of displaying in a new tab and taking the viewer away from the application
6 months ago
Jason Buchanan
8f34687bc0
fix(feed): long words or urls displayed in feed break the container layout
6 months ago
Jason Buchanan
9d5d163ad5
feat(feed): better image formatting, to take up the width of the feed container
6 months ago
Matthew Raymer
15783cdbe6
(chore): cleaning up formatting and relative references
7 months ago
Trent Larson
3a56d83dd6
add onboarding pages for the list and members, and refine the setup
7 months ago
Trent Larson
ea80658e04
change to three prompts for an onboarding-method choice (first one doesn't work yet)
7 months ago
Trent Larson
2e7700731b
switch so personal contact JWT is link to this server (not endorser.ch), make empty-did URL show user's info
8 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
2c0b927080
make notification errors go away automatically
8 months ago
Trent Larson
c34f8cbf41
make feed pictures larger
8 months ago
Trent Larson
156950c7f0
add invite-one-accept screen dedicated to accepting invitations
9 months ago
Trent Larson
af197f7c11
catch more errors if something catastrophic happens to encrypted data
9 months ago
Trent Larson
251649e6fe
switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
9 months ago
Trent Larson
7189cce25e
ensure overlays show on top of relative+absolute positioning like green pluses
9 months ago
Trent Larson
53c4328e82
add words under feed, add big "plus" on first page, and reword some things
9 months ago
Trent Larson
1b87bda471
change default reminder message; show people & unnamed icons blue for clickable
9 months ago
Trent Larson
c004706425
add pages to see all the offers to user and offers to user's projects
10 months ago
Trent Larson
0d880d1edc
add "+" to numbers if hit limit (>50), fix linting
10 months ago
Trent Larson
195ba6c759
add new projects to front page
10 months ago
Trent Larson
5f452dcf73
add tests for new activity of offers-directly-to-user
10 months ago
Trent Larson
dbf010c1fe
mark new-activity offers as seen, and mark them unseen again
10 months ago
Trent Larson
67b2b7199a
fix tests (from project-page switch 4 commits ago) and fix linting
10 months ago
Trent Larson
4168c37074
add large notice when user has a new offer to them
10 months ago
Trent Larson
8a61d9df45
various look-and-feel improvements
10 months ago
Trent Larson
53abf964b2
add basic page-by-page onboarding help
10 months ago
Trent Larson
4edcefd0f0
fix verbiage for recipient on home page
11 months ago
Trent Larson
9925800fbd
allow details on a give for a providing project (so we can attach a picture)
11 months ago
Trent Larson
8111b0e5cf
modify the settings to allow account-specific settings, eg. for "isRegistered"
11 months ago
Trent Larson
9a9c9d3a06
jump from ideas directly into giving dialog choice
1 year ago
Trent Larson
5151052202
fix test BVC setting, remove stray console.outs
1 year ago
Trent Larson
9e98a9ab43
add test for new name-entry & copy-to-clipboard flow
1 year ago
Trent Larson
f2cb7d3ed8
prompt for name when showing info, and provide a "copy" page when remote
1 year ago
Trent Larson
431672fd63
move some buttons to take less space at the top of Home
1 year ago
Trent Larson
a001f2fde3
fix linting, and give instructions for current test suite
1 year ago
Trent Larson
bdb544a624
fix error sharing image and failing to upload, fix upload in webkit/safari, and test it
1 year ago
Jose Olarte III
8008504828
Playwright: additional checks to add contact
1 year ago
Jose Olarte III
a410836539
Added IDs for Playwright targeting
1 year ago
Trent Larson
d724d8093c
add ability to edit a GiveAction
1 year ago
Trent Larson
5ad8a2d2ba
await all of the db.settings updates
1 year ago
Trent Larson
41a9c65afb
fix linting
1 year ago
Trent Larson
4270374a67
create an identifier by default, while letting them choose if passkeys are enabled
1 year ago
trentlarson
f6338c05ee
move low-level DID-related create & decode into separate folder ( #120 )
Co-authored-by: Trent Larson <trent@trentlarson.com>
Reviewed-on: https://gitea.anomalistdesign.com/trent_larson/crowd-funder-for-time-pwa/pulls/120
Co-authored-by: trentlarson <trent@trentlarson.com>
Co-committed-by: trentlarson <trent@trentlarson.com>
1 year ago
Trent Larson
f46a60b5dd
change first page back to prompts without passkey
1 year ago