Commit Graph
100 Commits
Author SHA1 Message Date
Jose Olarte III 91e46f435e Merge branch 'offer-validation-logic' into build-improvement 2025-08-11 15:40:11 +08:00
Jose Olarte III 0277b05fef Fix: offer validation prematurely closes dialog
- Transferred form validation error handling to an earlier step
- Added validation for negative input (similar to gifting forms)
- Switched amount input to component version for consistency
2025-08-08 18:21:00 +08:00
Jose Olarte III bf08e57ce7 Fix: re-organize entity type conditional logic in gifting flow
- Add conditional checks for person vs project entity types when setting DID fields
- Simplify project ID assignment logic by removing redundant entity type checks
- Preserve existing recipient context when selecting givers in ContactGiftingView, especially when dealing with "Unnamed" entity
2025-08-07 18:29:58 +08:00
Jose Olarte III 18e6aa5a9a Fix: gifting error messages
- Replaced error messages in GiftedDetailsView
- Maintained consistency between GiftedDialog and GiftedDetailsView (error message constants, amountInput)
2025-08-07 18:20:09 +08:00
Jose Olarte III 795df6a8fb Test "You" explicitly; fallback is "Unnamed" 2025-08-07 15:33:45 +08:00
Jose Olarte III 919b48e61f Remove unneeded comment 2025-08-07 15:08:57 +08:00
Jose Olarte III 06f3a4c7c2 Refactor: simplify GiftedDialog with explicit entity type props
Replace complex updateEntityTypes() method with explicit giverEntityType and
recipientEntityType props. This makes the component more declarative and
maintainable by removing hidden logic and making entity type relationships
clear at the call site.

- Remove updateEntityTypes() method and related watchers
- Add explicit giverEntityType and recipientEntityType props with defaults
- Update all views to use inline logic for entity type determination
- Fix entity type preservation in navigation flows
- Enhance query parameter passing for better context preservation
- Fix recipient reset issue in ContactGiftingView
- Resolve entity type mismatch in HomeView project button flow

Files changed:
- GiftedDialog.vue: Remove complex logic, add explicit props
- EntitySelectionStep.vue: Enhanced query parameter handling
- ContactGiftingView.vue: Improved context preservation
- HomeView.vue, ProjectViewView.vue, ClaimView.vue, ContactsView.vue:
  Updated to use explicit entity type props
- Add refactoring documentation
2025-08-03 11:49:46 +08:00
Jose Olarte III 54bfaafbd0 Fix entity type matching in ClaimView
- Add recipientEntityTypeOverride prop to GiftedDialog component
- Add data-testid and data-recipient-entity-type-override attributes for testing
- Update updateEntityTypes() to respect recipientEntityTypeOverride when set
- Add watcher for recipientEntityTypeOverride prop changes
- Update ClaimView to pass recipient entity type override based on project context
- Improve recipient determination logic in ClaimView for person vs project recipients
2025-08-01 16:13:20 +08:00
Jose Olarte III e741790d70 Fix ClaimView affirm delivery action
- Add offer context support to gifting flow
- Add offerId prop to EntitySelectionStep for offer fulfillment context
- Pass offerId through GiftedDialog to EntitySelectionStep
- Update ContactGiftingView to handle offerId from route query parameters
- Extract offer details (description, amount, unitCode) for pre-population
2025-08-01 13:44:28 +08:00
Jose Olarte III 404a7cbc71 Add form field preservation in gifting flow
- Preserve description, amount, and unit code when navigating between gifting steps
- Add form field props to EntitySelectionStep and GiftedDialog components
- Update ContactGiftingView to handle form state persistence in URL parameters
2025-08-01 11:36:17 +08:00
Jose Olarte III f4a7d437c8 Fix parameter passing in contact gift dialogs
- Replace @Emit decorator with direct $emit calls in ContactListItem
- Fix DID comparison from loose to strict equality in nameForDid function
- Resolve issue where giver/recipient names showed as "this unnamed user"

The @Emit decorator was not properly spreading array parameters, causing
the parent component to receive arrays instead of separate string parameters.
2025-07-31 20:13:55 +08:00
Jose Olarte III 433f3c1154 Fix GiftedDialog functionality
- Add description, amountInput, and unitCode parameters to GiftedDialog.open()
- Pass offer details to GiftedDialog in ProjectViewView
- Update ContactsView to handle new GiftedDialog parameters
2025-07-31 17:28:46 +08:00
Jose Olarte III 0582954cfa Remove 'customTitle' variable 2025-07-31 15:53:37 +08:00
Jose Olarte III 6d28a7d8a3 Function name change 2025-07-31 15:29:46 +08:00
Jose Olarte III 12b43bf684 Ref name change 2025-07-31 14:53:32 +08:00
Jose Olarte III 118e93b85a Fix: invalid clean command 2025-07-30 15:45:59 +08:00
Jose Olarte III ac22e37628 Fix: added back search area preview 2025-07-25 21:50:00 +08:00
Jose Olarte III e4097f7e4c Fix: properly initialize notify + bulletproofing 2025-07-25 21:19:12 +08:00
Jose Olarte III 526f21441f Fix: routed Set Search Area button 2025-07-25 21:08:54 +08:00
Jose Olarte III b7fac423c9 Cleanup: Search Area section markup 2025-07-25 15:12:56 +08:00
Jose Olarte III ff95c001f4 Fix: image retry in mobile app displays error 2025-07-24 18:59:20 +08:00
Jose Olarte III 5343c9a441 Update: front-facing camera mirrored preview 2025-07-23 17:09:24 +08:00
Jose Olarte III 431a27ef0d Update: Play Store link for Android devices 2025-07-23 17:08:46 +08:00
Jose Olarte III 931d3a4667 Fix: restored viewport-fit for safe-area-insets 2025-07-23 16:03:22 +08:00
Jose Olarte III 25e0d26ca5 Fix: updated more locators 2025-07-22 16:43:52 +08:00
Jose Olarte III 875bcb53b8 Update: switched back users and adjusted test instead 2025-07-21 21:31:56 +08:00
Jose Olarte III 584ae56763 Update: switched back users and adjusted test instead 2025-07-21 21:31:56 +08:00
Jose Olarte III 2dfae0425e Revert "Enhance handleContactVisibility to return both title and message"
This reverts commit 97cb5a0ac6.
2025-07-21 21:30:53 +08:00
Jose Olarte III 3cf75c5dbe Revert "Enhance handleContactVisibility to return both title and message"
This reverts commit 97cb5a0ac6.
2025-07-21 21:30:53 +08:00
Jose Olarte III 3840690ae3 Fix: switch users to test unregistered contacts 2025-07-21 18:47:34 +08:00
Jose Olarte III 5ad1ea4c3c Fix: switch users to test unregistered contacts 2025-07-21 18:47:34 +08:00
Jose Olarte III 5b82f48256 Update: locators match changes to activity list 2025-07-21 17:05:22 +08:00
Jose Olarte III 6905372281 Update: locators match changes to activity list 2025-07-21 17:05:22 +08:00
Jose Olarte III d6bd507123 Update: removed obsolete tests 2025-07-21 16:27:35 +08:00
Jose Olarte III 2fe54dd623 Update: removed obsolete tests 2025-07-21 16:27:35 +08:00
Jose Olarte III b790eb9310 Update: locators match new gifting dialog 2025-07-21 15:04:47 +08:00
Jose Olarte III 36ebdaeaa0 Update: locators match new gifting dialog 2025-07-21 15:04:47 +08:00
Jose Olarte III 0d80dc74ec Update: locators to match changes to homeview 2025-07-18 16:52:18 +08:00
Jose Olarte III c2f030678e Update: locators to match changes to homeview 2025-07-18 16:52:18 +08:00
Jose Olarte III fe3a90e421 Merge branch 'build-improvement' of ssh://173.199.124.46:222/trent_larson/crowd-funder-for-time-pwa into build-improvement 2025-07-18 15:14:45 +08:00
Jose Olarte III ca3fb8fa04 Merge branch 'build-improvement' of ssh://173.199.124.46:222/trent_larson/crowd-funder-for-time-pwa into build-improvement 2025-07-18 15:14:45 +08:00
Jose Olarte III 631bbeb182 Update: locator for contact link 2025-07-18 15:13:57 +08:00
Jose Olarte III 44c3eb0fc9 Update: locator for contact link 2025-07-18 15:13:57 +08:00
Jose Olarte III bf5fd0b5ce Update: locator for gifting button in homeview 2025-07-18 15:13:36 +08:00
Jose Olarte III 4bc5e05399 Update: locator for gifting button in homeview 2025-07-18 15:13:36 +08:00
Jose Olarte III e787886f1b Update: remove obsolete empty ID check 2025-07-17 17:26:00 +08:00
Jose Olarte III 90adb8f639 Update: remove obsolete empty ID check 2025-07-17 17:26:00 +08:00
Jose Olarte III 5c5af5b5cb Fix: Copy to Clipboard button targeting 2025-07-17 15:21:46 +08:00
Jose Olarte III 214832b651 Fix: Copy to Clipboard button targeting 2025-07-17 15:21:46 +08:00
Jose Olarte III 9461ad4c42 Merge branch 'build-improvement' of ssh://173.199.124.46:222/trent_larson/crowd-funder-for-time-pwa into build-improvement 2025-07-07 18:08:39 +08:00
Jose Olarte III a05fa116f7 Merge branch 'build-improvement' of ssh://173.199.124.46:222/trent_larson/crowd-funder-for-time-pwa into build-improvement 2025-07-07 18:08:39 +08:00
Jose Olarte III 26e6b16e03 Fix: notification init + safety checks 2025-07-07 18:08:30 +08:00
Jose Olarte III 3ad4f44d89 Fix: notification init + safety checks 2025-07-07 18:08:30 +08:00
Jose Olarte III 2917f87137 Fix: handle special "You" entity 2025-07-07 17:16:59 +08:00
Jose Olarte III e1db9083c2 Fix: handle special "You" entity 2025-07-07 17:16:59 +08:00
Jose Olarte III 5d17f371f2 Merge branch 'build-improvement' of ssh://173.199.124.46:222/trent_larson/crowd-funder-for-time-pwa into build-improvement 2025-07-07 16:20:20 +08:00
Jose Olarte III c28ddc0c5c Merge branch 'build-improvement' of ssh://173.199.124.46:222/trent_larson/crowd-funder-for-time-pwa into build-improvement 2025-07-07 16:20:20 +08:00
Jose Olarte III fe0d80eef9 Fix: stepType was being set to an object 2025-07-07 16:20:11 +08:00
Jose Olarte III 41dab36eb6 Fix: stepType was being set to an object 2025-07-07 16:20:11 +08:00
Jose Olarte III b57f7e4dd7 Feature: notify on click why entity is disabled 2025-07-04 19:12:56 +08:00
Jose Olarte III 993aa005fa Feature: notify on click why entity is disabled 2025-07-04 19:12:56 +08:00
Jose Olarte III c002c9e245 Fix: remove duplicates from merge conflict 2025-07-04 17:19:04 +08:00
Jose Olarte III 17721ea448 Fix: remove duplicates from merge conflict 2025-07-04 17:19:04 +08:00
Jose Olarte III bf9fee7ee9 Various aesthetic improvements and optimizations 2025-06-27 21:59:19 +08:00
Jose Olarte III e74d7c260f Various aesthetic improvements and optimizations 2025-06-27 21:59:19 +08:00
Jose Olarte III 08c46a27d3 Add project-to-project case 2025-06-26 18:52:52 +08:00
Jose Olarte III bb1cca65b6 Add project-to-project case 2025-06-26 18:52:52 +08:00
Jose Olarte III c9405839c3 Merge branch 'gifting-ui-2025-05' into gifting-periphery-improvements 2025-06-26 15:27:55 +08:00
Jose Olarte III f38cbd8d95 Merge branch 'gifting-ui-2025-05' into gifting-periphery-improvements 2025-06-26 15:27:55 +08:00
Jose Olarte III b6278ca148 Unit codes pulled from util.ts 2025-06-25 21:28:25 +08:00
Jose Olarte III dc537ccf00 Unit codes pulled from util.ts 2025-06-25 21:28:25 +08:00
Jose Olarte III d8e237f8cb Describe firstStep variable 2025-06-25 21:17:11 +08:00
Jose Olarte III b5a0503f7c Describe firstStep variable 2025-06-25 21:17:11 +08:00
Jose Olarte III 4b539ccc55 Better handling of No-name and Unnamed entities 2025-06-25 21:15:05 +08:00
Jose Olarte III 12c2f1ba61 Better handling of No-name and Unnamed entities 2025-06-25 21:15:05 +08:00
Jose Olarte III ea49173885 Changed currentStep to boolean 2025-06-25 17:38:33 +08:00
Jose Olarte III 153b7f619b Changed currentStep to boolean 2025-06-25 17:38:33 +08:00
Jose Olarte III 447a7cb089 Style "unnamed" entity 2025-06-25 17:35:01 +08:00
Jose Olarte III 485b41ebec Style "unnamed" entity 2025-06-25 17:35:01 +08:00
Jose Olarte III c0ddba8898 Various design tweaks 2025-06-24 19:22:09 +08:00
Jose Olarte III 52be52f446 Various design tweaks 2025-06-24 19:22:09 +08:00
Jose Olarte III fe4ae90849 Giver-recipient display fixes
- Truncate very long texts (such as dids)
- Stacked layout in mobile, row layout in wider screens
- Minor design adjustments
2025-06-24 19:19:51 +08:00
Jose Olarte III 869a758a5a Giver-recipient display fixes
- Truncate very long texts (such as dids)
- Stacked layout in mobile, row layout in wider screens
- Minor design adjustments
2025-06-24 19:19:51 +08:00
Jose Olarte III ce04312baa Updated amount input controls
Now consistent with gifting dialog version
2025-06-24 19:17:30 +08:00
Jose Olarte III 84ac67a36f Updated amount input controls
Now consistent with gifting dialog version
2025-06-24 19:17:30 +08:00
Jose Olarte III a8cc480960 Merge branch 'master' into gifting-periphery-improvements 2025-06-24 16:20:07 +08:00
Jose Olarte III 89f56e232e Merge branch 'master' into gifting-periphery-improvements 2025-06-24 16:20:07 +08:00
Jose Olarte III 357822d713 Fix: truncate text blocks
- Avoid did display stretching screen width
2025-06-24 16:18:22 +08:00
Jose Olarte III 20f988c996 Fix: truncate text blocks
- Avoid did display stretching screen width
2025-06-24 16:18:22 +08:00
Jose Olarte III 59b13823c8 Feature: lock orientation mode 2025-06-23 17:39:21 +08:00
Jose Olarte III b26bc73a0f Feature: lock orientation mode 2025-06-23 17:39:21 +08:00
Jose Olarte III ca22161f12 Fix: entity-type identifier validation
- Ensure claims contain only correct and necessary giver and recipient identifiers, as per Endorser.ch documentation
2025-06-20 20:37:14 +08:00
Jose Olarte III e78b02fb6e Fix: entity-type identifier validation
- Ensure claims contain only correct and necessary giver and recipient identifiers, as per Endorser.ch documentation
2025-06-20 20:37:14 +08:00
Jose Olarte III d3b80fbe47 Feature: giver-recipient validation
- Ensures person-to-person gifting won't allow the same entity as giver and recipient
- Disable user item selection if it would create conflict
- Error messaging fallback
2025-06-20 18:38:35 +08:00
Jose Olarte III 20aab2f58d Feature: giver-recipient validation
- Ensures person-to-person gifting won't allow the same entity as giver and recipient
- Disable user item selection if it would create conflict
- Error messaging fallback
2025-06-20 18:38:35 +08:00
Jose Olarte III 0342c872f4 Fix: added context for ContactGiftingView 2025-06-20 15:50:57 +08:00
Jose Olarte III 73fd394003 Fix: added context for ContactGiftingView 2025-06-20 15:50:57 +08:00
Jose Olarte III a7e65b3b49 Giver-recipient controls
- Dialog now shows separate cards for giver and recipient
- Ability to change giver and/or recipient
- Project giver/recipient is locked in ProjectView (context reinforcement)
2025-06-19 21:16:56 +08:00
Jose Olarte III 2a4667b8f8 Giver-recipient controls
- Dialog now shows separate cards for giver and recipient
- Ability to change giver and/or recipient
- Project giver/recipient is locked in ProjectView (context reinforcement)
2025-06-19 21:16:56 +08:00
Jose Olarte III eb7605991c Fixed more gifting use cases 2025-06-18 19:58:10 +08:00