Trent Larson
d53de5e79b
fix linting
2 months ago
Matthew Raymer
d14431161a
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
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
811fddf24a
fix error setting the apiServer to "", plus some refactors while fixing test 40
3 months ago
Jason Buchanan
f4c7805266
feat(feed): improving the image viewer, to be more conventional, and also allowing the viewer to download the image on mobile with `...` control
3 months ago
Jason Buchanan
0511bbc17b
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
3 months ago
Jason Buchanan
be1146c7df
fix(feed): long words or urls displayed in feed break the container layout
3 months ago
Jason Buchanan
781afd8954
feat(feed): better image formatting, to take up the width of the feed container
3 months ago
Matthew Raymer
d9085ced6d
(chore): cleaning up formatting and relative references
3 months ago
Trent Larson
5ff91186e2
add onboarding pages for the list and members, and refine the setup
4 months ago
Trent Larson
51c8d8ac8b
change to three prompts for an onboarding-method choice (first one doesn't work yet)
4 months ago
Trent Larson
702e44872f
switch so personal contact JWT is link to this server (not endorser.ch), make empty-did URL show user's info
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.
5 months ago
Trent Larson
f405e7d02f
make notification errors go away automatically
5 months ago
Trent Larson
7228f5a01b
make feed pictures larger
5 months ago
Trent Larson
0a314934b8
add invite-one-accept screen dedicated to accepting invitations
5 months ago
Trent Larson
6ffbcfa9a1
catch more errors if something catastrophic happens to encrypted data
5 months ago
Trent Larson
bb3807a805
switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
5 months ago
Trent Larson
5effb76cf5
ensure overlays show on top of relative+absolute positioning like green pluses
6 months ago
Trent Larson
f1163d8302
add words under feed, add big "plus" on first page, and reword some things
6 months ago
Trent Larson
60f066bda0
change default reminder message; show people & unnamed icons blue for clickable
6 months ago
Trent Larson
c004706425
add pages to see all the offers to user and offers to user's projects
7 months ago
Trent Larson
0d880d1edc
add "+" to numbers if hit limit (>50), fix linting
7 months ago
Trent Larson
195ba6c759
add new projects to front page
7 months ago
Trent Larson
5f452dcf73
add tests for new activity of offers-directly-to-user
7 months ago
Trent Larson
dbf010c1fe
mark new-activity offers as seen, and mark them unseen again
7 months ago
Trent Larson
67b2b7199a
fix tests (from project-page switch 4 commits ago) and fix linting
7 months ago
Trent Larson
4168c37074
add large notice when user has a new offer to them
7 months ago
Trent Larson
8a61d9df45
various look-and-feel improvements
7 months ago
Trent Larson
53abf964b2
add basic page-by-page onboarding help
7 months ago
Trent Larson
4edcefd0f0
fix verbiage for recipient on home page
8 months ago
Trent Larson
9925800fbd
allow details on a give for a providing project (so we can attach a picture)
8 months ago
Trent Larson
8111b0e5cf
modify the settings to allow account-specific settings, eg. for "isRegistered"
8 months ago
Trent Larson
9a9c9d3a06
jump from ideas directly into giving dialog choice
9 months ago
Trent Larson
5151052202
fix test BVC setting, remove stray console.outs
9 months ago
Trent Larson
9e98a9ab43
add test for new name-entry & copy-to-clipboard flow
9 months ago
Trent Larson
f2cb7d3ed8
prompt for name when showing info, and provide a "copy" page when remote
9 months ago
Trent Larson
431672fd63
move some buttons to take less space at the top of Home
9 months ago
Trent Larson
a001f2fde3
fix linting, and give instructions for current test suite
9 months ago
Trent Larson
bdb544a624
fix error sharing image and failing to upload, fix upload in webkit/safari, and test it
10 months ago
Jose Olarte III
8008504828
Playwright: additional checks to add contact
10 months ago
Jose Olarte III
a410836539
Added IDs for Playwright targeting
10 months ago
Trent Larson
d724d8093c
add ability to edit a GiveAction
10 months ago
Trent Larson
5ad8a2d2ba
await all of the db.settings updates
10 months ago
Trent Larson
41a9c65afb
fix linting
10 months ago
Trent Larson
4270374a67
create an identifier by default, while letting them choose if passkeys are enabled
10 months 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>
10 months ago
Trent Larson
f46a60b5dd
change first page back to prompts without passkey
10 months ago