forked from dashpay/dash
-
Notifications
You must be signed in to change notification settings - Fork 720
[GUI] New Governance Graphical User Interface #2406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
833b8d1
governancemodel introduction
furszy 6a2ffa9
governancemodel: add proposal status
furszy ce00bcd
GUI: Main governance screen introduced and navigation connected :).
furszy 96c63cf
GUI: add styles for governance screens.
Neoperol d67a121
GUI: governance vote for proposal dialog introduced.
furszy feab444
GUI: governance vote for proposal dialog: masternode/s selection dial…
furszy 61821eb
GUI: add mnselectiondialog styles.
Neoperol 64dbc86
GUI: governance, introducing create proposal dialog + navigation conn…
furszy 1123789
GUI: governance create proposal, connect field validations and error …
furszy 0801c3c
Governance model: createAndSendProposalFeeTx method created.
furszy f8d112b
GUI: create proposal: summary page connected, proposal creation and a…
furszy a50276f
GUI: governancemodel load and schedule waiting for approval proposals…
furszy 18ae037
GUI governance: calculate, cache and connect budget available and all…
furszy 8e41aad
GUI vote dialog: connect MN selection dialog to the model.
furszy b5765b0
GUI vote dialog, present proposal info.
furszy c8bdeb7
GUI governance: emit vote for proposal connected.
furszy aa19716
GovernanceModel: implement getLocalMNsVotesForProposal to retrieve al…
furszy da39a13
wallet: encapsulate wtx extra values set.
furszy 8cd50fe
gui: do not open vote dialog if the proposal wasn't accepted by the n…
furszy 6c1ff96
GUI: vote dialog, connect already broadcasted votes.
furszy c952196
Model governance: do not try to broadcast proposals that expired or t…
furszy de13d6f
GUI governance: load the existent MNs votes in the mn selection dialog.
furszy 0b3b3ec
GUI: governance, proposals filter combobox.
Neoperol 77bdd2e
GUI: governance, dark theme style added
Neoperol bb08e44
active masternode do not stall if ACTIVE_MASTERNODE_NOT_CAPABLE was set.
furszy 34a982c
GUI governance, refresh grid after vote.
furszy 6603c10
GovernanceModel: Do not try to broadcast proposal whose fee tx is con…
furszy d18d265
GUI governance: add proposals filter
furszy ebb9c1f
GUI: proposal url copy to clipboard connected.
furszy 8800a63
GUI: add checkbox disabled style.
furszy caa5b0a
GUI: improve create proposal dialog subtitles.
furszy ec99bae
GUI: improve proposalcard status
furszy 2d15cd6
[GUI] dark theme mnselectiondialog.
Neoperol e189728
GUI: Governance model, add waiting proposal to the hasProposals() ret…
furszy b46621a
GUI: transactionrecord parse new wtx proposal fee comment format.
furszy debbed9
GUI: governancemodel fix zombie waiting proposals check.
furszy 9b45f72
GUI: Add governance empty screen image for dark theme.
Neoperol dfaf084
GUI: add addresses selector to the proposal creation wizard.
furszy 33b1b87
GUI: Create proposal dialog, implement months input field spinbox.
furszy 37f7118
GUI: Add cs_proposals mutex lock in governancemodel FindProposal func…
furszy bf99df9
GUI: Reset governance total allocated amount
furszy cb73091
GUI: Add sync warning for governance screen.
furszy 87beffe
GUI: accept only UTF-8 valid proposal names.
furszy 427913e
GUI: Stop translating test strings in the .ui forms.
furszy 2b11018
GUI: refactor GUIUtil::parseValue() to be used equally as `SendMultiR…
furszy b8f0ac6
Connect PROPOSAL_MIN_AMOUNT constant to gov model validatePropAmount(…
furszy 51d799b
GUI create proposal: unify amount parsing using GUIUtil::parseValue().
furszy e264153
GUI: request unlock wallet before try to create a proposal
furszy 889a720
GUI: Adjust proposal card months label text and the status label padd…
furszy 559a095
GUI: governance widget, Add translations and generalize sort/filter c…
furszy 702db9f
GUI governance: by default, do not show finished proposals that haven…
furszy bc01677
GUI: add proposal card menu.
furszy 6c404df
GUI: Check time between MN votes and inform if it didn't pass the min…
furszy 162d843
GUI: Implement and connect proposal information dialog.
furszy 759036b
GUI: Create proposal dialog accepting decimal amounts.
furszy dae3767
GUI: Create proposal dialog, add key event and show event listeners.
furszy 1a4acb2
GUI: Masternode creation wizard, set max MN name length.
furszy 36461da
GUI: Vote for proposal, add previous votes information in the voters'…
furszy fccb4cc
GUI: vote for proposal, disable checkbox of MNs that will not be able…
furszy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(b6b638d20cd752e35ea671ca16c742f1c1b32284)
Nit: As already discussed in #2453, we can remove
getRes()and just explicitly cast to bool.