bcgov / bcgov/zeva2

ZEVA 2 Admin page: Confirmation pop-up for role change

Open
#205 1 comment 0 reactions 1 assignee Claimed by @JulianForeman View on GitHub
Medium Task
Dominant language
TypeScript
Stars
1
Forks
6
Avg merge
14h 22m
Merged PRs (30d)
32

Description

**Describe the task**
Multiple users noted that changing a user's role is currently too easy and can happen unintentionally. While the risk of accidental changes is not very high, the fact that several users reported it makes it a valid issue to address.
To solve this:
1. Changing a role will now trigger a confirmation pop-up before applying
2. Role descriptions will be improved and displayed below role name (instead of tooltips) to make the selection process clearer and more accessible.
3. Save button limited to user profile info
Scope applies to both BCEID and IDIR users.
**Purpose**
Enhance UX by preventing unintended role changes and making role descriptions more visible and understandable

**Acceptance Criteria**
- [ ] A confirmation pop up appears when changing a user's role

Image

- [ ] Role updates are applied only after confirmation; they no longer depend on the Save button
- [ ] The save button only applies to user info (name, last name,etc)
- [ ] Role descriptions are shown below the role name

Image

- [ ] Pop up and role format is consistent across IDIR and BCEID user interfaces

**Additional context**
[full ux proposal](https://bcgov.sharepoint.com/:b:/r/teams/00598-TeamZelda/Shared%20Documents/Team%20Zelda/_ZEVA/ZEVA%20Rebuild/UX%20Proposals%20to%20BA/Admin%20page%20proposal/UX%20proposal%20Admin%20page.pdf?csf=1&web=1&e=YJ7dTE)
[proto for bceid](https://www.figma.com/proto/7Qgou3rxcHHk5qbmD9538x/ZEVA-2?page-id=1009%3A14827&node-id=1009-15909&viewport=263%2C212%2C0.05&t=oAvtlPJNx3tTzKJk-1&scaling=scale-down-width&content-scaling=fixed&starting-point-node-id=1009%3A15909)
[proto for idir](https://www.figma.com/proto/7Qgou3rxcHHk5qbmD9538x/ZEVA-2?page-id=1009%3A14827&node-id=1009-16115&viewport=263%2C212%2C0.05&t=oAvtlPJNx3tTzKJk-1&scaling=scale-down-width&content-scaling=fixed&starting-point-node-id=1009%3A16115)
[figma file](https://www.figma.com/design/7Qgou3rxcHHk5qbmD9538x/ZEVA-2?node-id=1009-16194&t=HQoE6epZrHXErYXI-1)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.