Skip to content
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

Merged
merged 5 commits into from Feb 22, 2023
Merged

Add Contested Proposals filtering #84

merged 5 commits into from Feb 22, 2023

Commits on Feb 20, 2023

  1. Add Contested Proposals category

    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.
    JSKitty committed Feb 20, 2023
    Configuration menu
    Copy the full SHA
    0513c0e View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2023

  1. Add minimum req + refactor 'finished' proposals

    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.
    JSKitty committed Feb 22, 2023
    Configuration menu
    Copy the full SHA
    8894551 View commit details
    Browse the repository at this point in the history
  2. Add default param value to getProposals()

    As suggested by Duddino
    
    Co-authored-by: Duddino <47313600+Duddino@users.noreply.github.com>
    JSKitty and Duddino committed Feb 22, 2023
    Configuration menu
    Copy the full SHA
    11f17f3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1d7c8b2 View commit details
    Browse the repository at this point in the history
  4. Run Prettier

    JSKitty committed Feb 22, 2023
    Configuration menu
    Copy the full SHA
    b4bf541 View commit details
    Browse the repository at this point in the history