improvements to gifting-adjacent views #143

Open
jose wants to merge 29 commits from gifting-periphery-improvements into master
jose commented 1 month ago
Owner
There is no content yet.
jose added 19 commits 1 month ago
579cecbe6e WIP: gifting UI revamp
4b355a5448 WIP: two-step dialog + functionality
988244b7ae Added check for "Unnamed" giver
7eefee1ea5 Fix: Conditional show-all link
3daf1c8a5c Feature: Project Gifting
df1c1f0186 Fix: pass project info
a7e65b3b49 Giver-recipient controls
d3b80fbe47 Feature: giver-recipient validation
ca22161f12 Fix: entity-type identifier validation
357822d713 Fix: truncate text blocks
ce04312baa Updated amount input controls
fe4ae90849 Giver-recipient display fixes
jose added 3 commits 1 month ago
jose added 1 commit 1 month ago
jose added 1 commit 1 month ago
jose added 2 commits 4 weeks ago
jose added 1 commit 4 weeks ago
jose added 1 commit 4 weeks ago
jose changed title from WIP: improvements to gifting-adjacent views to improvements to gifting-adjacent views 4 weeks ago
Poster
Owner

NOTE: includes changes from gifting-ui-2025-05 branch

**NOTE**: includes changes from `gifting-ui-2025-05` branch
trentlarson reviewed 4 weeks ago
selectProject(project: PlanData) {
this.giver = {
did: project.handleId,
Poster
Owner

A DID is only for a user, so it can never be a project handle.

A DID is only for a user, so it can never be a project handle.
trentlarson reviewed 4 weeks ago
// We're selecting a giver, so recipient is either a project or the current user
if (this.recipientEntityType === "project") {
recipient = {
did: this.recipientProjectHandleId,
Poster
Owner

A DID can only be a person's DID, not a project handleId.

A DID can only be a person's DID, not a project handleId.
trentlarson reviewed 4 weeks ago
`${this.name} gave to you`,
undefined,
undefined,
true,
Poster
Owner

Currently, the "open" method on that branch only contains 6 parameters, so there's something missing on that side or something extra on this side.

Currently, the "open" method on that branch only contains 6 parameters, so there's something missing on that side or something extra on this side.
trentlarson added 1 commit 4 weeks ago
Owner

Note that the ContactGiftingView.vue already contained a projectID.

  • If that is still useful, help refactor... maybe it's the same as a recipientProjectId and it should be renamed, or maybe it's different and we should add some commentary on when to use the different projectIds (eg. fromProjectId, toProjectId, giverProjectId, and even the handle IDs).

  • If that is not useful because it's been replaced, then let's refactor that way.

Feel free to take the time to make the code understandable, and make sure it all makes sense to you.

Note that the ContactGiftingView.vue already contained a projectID. * If that is still useful, help refactor... maybe it's the same as a recipientProjectId and it should be renamed, or maybe it's different and we should add some commentary on when to use the different projectIds (eg. fromProjectId, toProjectId, giverProjectId, and even the handle IDs). * If that is not useful because it's been replaced, then let's refactor that way. Feel free to take the time to make the code understandable, and make sure it all makes sense to you.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.