Skip to content
This repository was archived by the owner on Oct 4, 2023. It is now read-only.

[PAY-531] Fix become first supporter bug#1735

Merged
sddioulde merged 5 commits into
mainfrom
sd-pay-531
Aug 18, 2022
Merged

[PAY-531] Fix become first supporter bug#1735
sddioulde merged 5 commits into
mainfrom
sd-pay-531

Conversation

@sddioulde

@sddioulde sddioulde commented Aug 17, 2022

Copy link
Copy Markdown
Contributor

Description

This bug is new because it's now possible to tip a user without going to their profile and without clicking from the feed tip tile. The bug is because the receiver's supporters weren't fetched and so the UI thinks there is no supporter for the user.
So the fix is to fetch that user i.e. the receiver's supporters.

=====

I think this change will make sure that the account and receiver's necessary supporting / supporters exist, so if there is another UI flow that goes into tipping in the future, we'd still be okay.

first.supporter.bug.fix.mov

Dragons

Is there anything the reviewer should be on the lookout for? Are there any dangerous changes?

How Has This Been Tested?

mobile against local dapp pointing to prod

How will this change be monitored?

n/a

Feature Flags

none

@sddioulde

Copy link
Copy Markdown
Contributor Author

What i really want, is dispatch the action within the hook so that consuming components dont have to all be touched. for now only the SendTipScreen component cares, but if we decided to directly open the tip modal for web, then the SendTip component would also need to be updated.
Want to keep trying but will timebox as this fix should be merged soon.

Comment thread packages/mobile/src/screens/tip-artist-screen/SendTipScreen.tsx
@sddioulde sddioulde requested a review from dharit-tan August 17, 2022 23:21
@audius-infra

Copy link
Copy Markdown
Collaborator

Preview this change https://demo.audius.co/sd-pay-531

@sddioulde sddioulde merged commit 447d44f into main Aug 18, 2022
@sddioulde sddioulde deleted the sd-pay-531 branch August 18, 2022 15:30
piazzatron pushed a commit that referenced this pull request Aug 18, 2022
* Fix become first supporter bug

* Remove comments

* Fix lint from root

* Remove unnecessary account var

* Update comment

Co-authored-by: Saliou Diallo <saliou@audius.co>
@sliptype sliptype mentioned this pull request Aug 18, 2022
@AudiusProject AudiusProject deleted a comment from linear Bot Sep 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants