Vote banner doesn't update #1097
Comments
@zillionn Thanks for opening this issue, a maintainer will get back to you shortly! |
@alexbarnsley @j-a-m-l @luciorubeens - please review this in the next few days. Be sure to explicitly select labels so I know what's going on. If no reviewer appears after a week, a reminder will be sent out. |
I can probably add this to #1027 |
The problem I see here is that the delegate list gets updated only on profile and network change. The naive approach would be to fetch the voted delegate through the API instead of the store, but I'd rather see a proper synchronization of the delegates. |
@dated I've though about this issue too:
My proposal would be enabling the synchronization again, but it should be done better:
Apart from that, we may need adding a new endpoint to core to get only addresses and usernames (more than 100 in 1 request) to avoid requesting 10 pages just to know the usernames. |
Btw the delegates list is correct, the banner |
Yea, the delegates get fetched from the API, the voted delegate is looked up in the store which holds outdated data. |
Closing this as it will be soon resolved in v3. |
This issue has been closed. If you wish to re-open it please provide additional information. |
The text was updated successfully, but these errors were encountered: