-
Notifications
You must be signed in to change notification settings - Fork 93
Description
Descriptions:
We don't have a consistent way to list all available actions that scales as more actions are add to OpenCRVS.
This ticket is to:
- Create a reusable component called Action
- List all record actions based on the record scope and user scopes
- If the user is not assigned Then those actions that require the user to be assigned are disabled
- Shows who is assigned to the record
- Refactors Record Audit to use the Action component
- Desktop version is Medium
- Mobile version is Small
Design
Variations based on record status:
https://www.figma.com/design/O6PevbBv0lApmXWYotR8sf/OpenCRVS-Design-Specifications-v2?node-id=19880-66203&t=dvwGBHOdODhytrIe-1
ACs
GIVEN I am on the Record Audit view unassigned or it assigned to someone else
WHEN I click the Action menu
THEN show all the actions I have scopes
AND disable those i need to be assigned to action
GIVEN I am on the Record Audit view assigned
WHEN I click the Action menu
THEN show all the actions i have scopes
AND have them all enabled
--
Unassign another user
Currently this is done by clicking the profile. This moves it to the menu which feels more obvious:
GIVEN another user is assigned to a declaration
WHEN the logged in user has the scope unassign-user
THEN show the option Unassign
AND show the confirmation prompt to unassign the user
Tech tasks:
Client front end action menu
- Use the dropdown button component build in Create an Action menu #7390 and refactor record actions to use it
Metadata
Metadata
Assignees
Labels
Type
Projects
Status


