1Hive/gardens-v2

CVChart implementation

Closed this issue · 0 comments

PR: #177

Visualize the increasing support and conviction for a particular proposal with a bar chart. The chart will show the following provided values:

  • threshold
  • total support
  • current conviction
  • We will show a markLine for threshold and conviction

  • No data regarding threshold should be shown in signaling proposals

  • We add a Conviction status when conviction is growing or decreasing

  • We add a message to user to clarify context for proposal, for ex: "Proposal need X amount support..."

We must considered different scenarios:

  • Conviction < Total Support < Threshold
  • Conviction < Threshold < Total Support
  • Total Support < Conviction < Threshold
  • Total Support < Threshold < Conviction
  • Threshold < Conviction < Total Support
  • Threshold < Total Support < Conviction

Chart should look like this:
Screenshot 2024-05-13 at 17 46 02