-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Stop donation / Cancel subscription not showing on Collective page. #136
Comments
OK the option DID appear, but many minutes after the donation was made. @krisbitney should we expect this kind of lag? If so we should adjust the language in the post-donation modal to say "may take a while to show up" etc. cc @patpedrosa |
I added a performance optimization in this PR: #137 The delay depends on multiple factors.
I made it so the app checks more often if there is any new data in the Subgraph for this specific thing. |
verified |
@vldkhh this was not merged yet, so needs re-qa'd. if it works for you its for PR to go over it again. |
This is fixed in #137 |
@decentralauren @L03TJ3 see no issues with that 0A93532D-8FAA-43E0-97D9-2F92D7E9EF08.MP4 |
@decentralauren close if you agree |
Works as expected with G$ stream I am unable to test with other currencies as I receive the "UNPREDICTABLE_GAS_LIMIT" error when donating. |
I've noticed that there's a small delay in showing on the profile & collective pages that the stream has stopped, which is not good UX. We're also missing a modal for confirming the donation has stopped. I have added it to our list for sprint 8. |
@krisbitney @decentralauren I'm not able to stop my donation after using Celo |
@krisbitney checked on the deployment above, and it is still reproducing + fetchfullnames info logs keep increasing. could you double check it? 1BACF17F-5838-4C87-8893-8FC6B4E207BB.MP4 |
The log isn't something I added. I'll leave that to your team. If the stop donation error is still reproducing, it's a smart contract issue. The front end only supplies the inputs to the smart contract calls. The const tx = await sdk.deleteFlow(signer, collective, '0'); I double checked and confirmed the correct collective address is being passed in. The other parameters are a constant and the signer. |
Ye that log is mine. I am trying to figure out what makes the fetching of transactions end up in an endless cycle @vldkhh @krisbitney not asking you to fix it but do you have any idea what can cause this? It seems to be the fetch query for donations, but I haven't figured out yet why? |
No, I didn't realize it was happening. I'll take a look. |
@L03TJ3 I don't think This TODO comment is likely related to the poll interval having been 1 second: //todo-fix: donations is called endlessly
const donations: Transaction[] | undefined = useRecentDonations(collective, maxN, donationsPollInterval); The |
place a log in supporttranasctionlistitem that is what I traced back to useRecentTransactions. |
I see it. I think the issue might be the flowing balance. It should probably be isolated in its own component, kind of like the |
@krisbitney isn't this likely to happen to any component where we try and merge the transactions? |
I think it should only affect the |
I confirmed that the issue is the flowing balances. I did so by adjusting the flow update frequency to see if that affected the console logs. Now I'm just thinking about how to refactor the transaction list items. |
Stale issue message |
@vldkhh please retest :) |
@decentralauren works for me |
Subscription does not display on Collective screen.
I have a 5-day subscription streaming G$, and do not see the ability to cancel my subscription on the Collective screen.
The out-standing subscription may be the cause of the error in ticket 135
The text was updated successfully, but these errors were encountered: