pioneer icon indicating copy to clipboard operation
pioneer copied to clipboard

[USERSNAP] Restore Votes does not upate My Votes

Open dmtrjsg opened this issue 3 years ago • 3 comments

  • [ ] Refetch the page after restoring votes from JSON file

Solution on refetching query was added recently @thesan can you pls point to the right place?


Taken at: https://dao.joystream.org/#/election Fields:

  • Houston, we have a problem.: Restore Votes does not upate My Votes
  • Comment: The votes are restored from file but user has to reload the page manually.
  • Feedback: l1dev

SCREENSHOT Download original image

Browser: Chrome 100 (Linux) Screen size: 1920x1080 Browser size: 1190x1216 Open #242 in Usersnap

Powered by Usersnap.

dmtrjsg avatar May 07 '22 11:05 dmtrjsg

Probably must be addressed in #2311. To be triaged.

dmtrjsg avatar Jun 06 '22 13:06 dmtrjsg

Tested on https://dao-git-carthage-joystream.vercel.app/#/election wss://54.227.116.57.nip.io/ws-rpc

@traumschule @dmtrjsg Looks like not fixed yet

⚠️ The votes are restored from file but user has to reload the page manually. Tested on Voting and Revealing stages.

To test this case, I voted for a few candidates then backup votes, and then deleted votes from Local Storage.

ivanturlakov avatar Nov 07 '22 12:11 ivanturlakov

There's a fix in #3868 by @mkbeefcake.

traumschule avatar Nov 23 '22 16:11 traumschule

Tested on https://dao-keoneo7vf-joystream.vercel.app/#/election wss://34.230.5.182.nip.io/ws-rpc

Works as expected on this env. Page updated after restoring votes

Снимок экрана 2023-01-13 в 16 00 15 Снимок экрана 2023-01-13 в 16 00 33 Снимок экрана 2023-01-13 в 16 00 47 Снимок экрана 2023-01-13 в 16 01 43

ivanturlakov avatar Jan 13 '23 14:01 ivanturlakov