You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the Governance Action list page, the "View Details and Vote" button is always displayed, even when a user does not have permission to vote. To improve clarity, the button text should change to "View Details" if the user is not allowed to vote.
Why
Prevents confusion for users who do not have voting permissions.
Improves user experience by ensuring clear and accurate UI labels.
Aligns button behavior with user roles and permissions.
Reduces potential frustration from users clicking a button expecting to vote but being unable to.
How
Identify the logic that controls button text rendering on the Governance Action list page.
Implement a condition that checks whether the user has voting permissions:
If the user can vote → display "View Details and Vote".
If the user cannot vote → display "View Details".
Ensure that button behavior remains unchanged aside from the text update.
Validate the change through UI tests to confirm correct behavior.
Acceptance Criteria
The button displays "View Details" if the user is not allowed to vote.
The button displays "View Details and Vote" if the user has voting permissions.
Button functionality remains unchanged apart from the text update.
The text was updated successfully, but these errors were encountered:
What
On the Governance Action list page, the "View Details and Vote" button is always displayed, even when a user does not have permission to vote. To improve clarity, the button text should change to "View Details" if the user is not allowed to vote.
Why
How
Acceptance Criteria
The text was updated successfully, but these errors were encountered: