-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Democracy UI out of sync after cancelling a referendum #836
Comments
Weird one. Cannot reproduce at all with 5 in a row. (And 6 & 7 in inactive tabs) Since the "no available referendums" and "active count" is not derived from each other, but rather separate storage entries. e.g. active is |
Wow, thanks for such fast attention to this. Playing with more this morning using Active count remains off after canceling a referendum. It still remains off after a new proposal graduates to referendum. It finally goes back to being correct when another referendum closes (regardless of whether it passes). Thanks again, and lmk if I can help test, or pair-program. |
I'm not clear what you mean by "Cannot reproduce at all with 5 in a row. (And 6 & 7 in inactive tabs)" 5 proposals in a row? Inactive browser tabs running the UI? |
Yes, indeed. The linked PR addresses one of the issues (couldn’t reproduce it, but saw it as a possibility), where the “no active” is not displayed. The active count (as per the picture) is a head-scratcher since it is just display of a storage entry. |
This should be fixed now after the multi refresh changes on the API. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query. |
Start a basic
substrate --dev
chain and connect via this UI. Use the Extrinsics tab (or any other method) to create a proposal and usher it along to a referendum. Once it is in the referendum phase, cancel it (eg. with the sudo module).Observe that on the Democracy the referendum itself is gone but the "no available referendums" text has not re-appeared. Further, the active count is still at 1.
The text was updated successfully, but these errors were encountered: