Skip to content

Hide Threshold for Constitutional Committee in Info-Type Governance Actions #3108

@bosko-m

Description

@bosko-m

What

The Governance Action Details page currently displays a threshold for the Constitutional Committee (CC) group of voters when the governance action type is "Info". While technically correct per CIP-1694, the threshold should be 100%, not 67% as currently displayed. However, since this action type has no actual effect even at 100%, it's better to hide the threshold in this specific case.

Why

  • Prevents confusion among users who might assume the threshold has functional significance.
  • Ensures clarity in governance action presentation.
  • Aligns the UI with the actual governance mechanics, where "Info" actions do not require a threshold.
  • Avoids misleading representation of governance rules.

How

  • Identify where the threshold for governance actions is displayed in the UI.
  • Apply logic to hide the threshold when:
    • The governance action type is Info.
    • The voter group is the Constitutional Committee.
  • Ensure other governance action types and voter groups continue to display thresholds correctly.
  • Validate the change through UI tests to confirm the threshold is hidden in the specified case.

Acceptance Criteria

  • Threshold is hidden when the governance action type is Info and the voter group is Constitutional Committee.
  • Thresholds for other governance action types and voter groups remain unaffected.
  • UI correctly reflects the intended governance behavior.
  • No unintended side effects on governance action display.
  • Changes are tested and verified.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions