-
Notifications
You must be signed in to change notification settings - Fork 39
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
Add Contested Proposals filtering #84
Add Contested Proposals filtering #84
Conversation
To help "dust away" and disincentivise spam or malicious proposals, this commit ensures proposals with less than 25% net consensus (i.e; 75% downvotes) are considered Contested Proposals, and put in to a lower display state on MPW, with slightly lowered opacity and stuffed at the bottom of the Governance menu, along with an explainer sub-text to educate the user on these proposals.
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.
Good idea, only one small comment
A minimum requirement for votes has been added before a proposal will be considered for the Contested category (100 votes) to prevent young proposals being abused in the DAO, and the filtering for 'finished' proposals was lightly refactored to include filtering directly, instead of post-call manually.
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.
Last nitpick as far as i'm concerned
As suggested by Duddino Co-authored-by: Duddino <47313600+Duddino@users.noreply.github.com>
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.
tACK, code is clean and works
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.
tACK
Abstract
To help "dust away" and disincentivise spam or malicious proposals, this PR ensures proposals with less than 25% net consensus (i.e; 75% downvotes) are considered Contested Proposals.
The only exception is proposals with less than 100 votes, to prevent "downvote bombing" on young proposals.
Contested Proposals are effectively "punished" by:
This is purely a display change, there's no change in voting functionality, the user still has full and total freedom to vote on proposals they wish; the PR does not intend to harm the average proposal, but act as a 'net' for proposals that are most likely to be spam or otherwise malicious.
As usual, related code was also cleaned up and simplified slightly, as well as given JSDoc coverage and translation templates.
What does this PR address?
It addresses possible spam or ill-intent proposals by lowering their presence in the Governance menu - the PR intends to balance "Freedom" and "Censoring" in a way that clearly discourages spam proposals, without impairing the freedom of users.
What features or improvements were added?
A "Contested Proposals" table to the Governance menu, which displays exclusively proposals with a net of 25% or less Net Upvotes or equally 75% Downvotes.
How does this benefit users?
This should help guide users' attention away from clearly-malicious proposals, such as spam, which clears up the primary Governance Proposals section for well-vetted proposals by the DAO.