-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enable vote casting form again on offchain active proposal (#514)
* feat: enable vote casting form again on offchain active proposal * fix: show vp and correct title on edit vote mode * fix: revert message * fix: pre-populate vote form with current choice * refactor: import types as type * fix: exit editMode after vote * fix: avoid latency when filling votes * fix(ux): make voting power modal accessible on keyboard * fix: set default props value * fix: avoid vote choice flashing * fix: add back pending vote message for onchain * fix: fix votes flashing * fix(ui): remove uneeded classes * refactor: better namimg * fix: do not pre-populate form on shielded voting * fix lint * fix: use camelCase for event name * fix: revert changes fixed in another PR * refactor: improve variable name * refactor: remove unused props * refactor: revert plural changes * fix: fix invalid computed property reading * refactor: avoid usage of `!` * fix: add disabled to state to button when not editable * fix: avoid intermediate message flashing --------- Co-authored-by: ChaituVR <[email protected]>
- Loading branch information
Showing
7 changed files
with
118 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters