You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you go to the proposal page and it's empty, it may mean three cases:
the proposals are being loaded
the proposals were fetched but the chain didn't have any proposals
the proposals query failed
For the end user it's unclear if what of these cases have occurred unless they go to DevTools and investigate it by themselves.
I suggest updating it to do the following:
for 1) add a spinner on the page to show it's being loaded
for 2) display a notification with "There are no proposals" or something similar
for 3) display a notification with "There was an error fetching proposals: " or something similar
That should improve the overall user experience of proposals listing.
(Real-life example: I was trying to see Composable proposals: https://ping.pub/composable/gov, and all of the nodes are returning 5xx on proposals query, but I had no way of knowing this just by looking at the page until I opened DevTools in my browser and saw that the queries failed)
The text was updated successfully, but these errors were encountered:
If you go to the proposal page and it's empty, it may mean three cases:
For the end user it's unclear if what of these cases have occurred unless they go to DevTools and investigate it by themselves.
I suggest updating it to do the following:
That should improve the overall user experience of proposals listing.
(Real-life example: I was trying to see Composable proposals: https://ping.pub/composable/gov, and all of the nodes are returning 5xx on proposals query, but I had no way of knowing this just by looking at the page until I opened DevTools in my browser and saw that the queries failed)
The text was updated successfully, but these errors were encountered: