apps icon indicating copy to clipboard operation
apps copied to clipboard

Show conviction of vote instead of current lock in the UI

Open michalisFr opened this issue 1 year ago • 0 comments

  • I'm submitting a ...
  • [ ] Bug report
  • [X] Feature request
  • [ ] Support request
  • [ ] Other
  • What is the current behavior and expected behavior?

When voting in a referendum with conviction, hovering over the clock icon next to "referenda" shows the lock instead of the conviction. As a result, while the referendum is ongoing it displays "None", and only after it has ended it displays the potential lock.

Screenshot 2023-07-26 at 1 32 11 PM Screenshot 2023-07-28 at 12 01 34 PM

I don't remember if this was always the behaviour (although IIRC for delegated votes under Gov1 it used to show the conviction, eg "1x/d"), but I believe what the user expects to see there is the conviction they voted with.

So, I request that this is changed to show the conviction of the vote, and perhaps only after the referendum ends show the lock and remaining time.

  • What is the motivation for changing the behavior?

As mentioned above, I think the current behaviour can be confusing to users, as one would expect to see the conviction they voted with, but instead they see "None", which would be interpreted as "I voted without conviction".

  • Please tell us about your environment:
  • Version: apps v0.132.2-34

  • Environment:

    • [ ] Node.js
    • [X] Browser
    • [ ] Other (limited support for other environments)
  • Language:

    • [X] JavaScript
    • [ ] TypeScript (include tsc --version)
    • [ ] Other

michalisFr avatar Jul 31 '23 10:07 michalisFr