code4romania / code4romania/redirectioneaza

[Redirectionari list] Add verification status column per list item and action menu

Open
#411 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
26
Forks
27
PR merge metrics
No merged PRs in 30d

Description

As a user, I want to see a "Verificare" column in the table so I can quickly check and update the status of form submissions. The column should display one of three statuses:

- Neverificat (Form was not opened/ verified yet) — **default for all new submissions**
- Valid (Form was verified and considered valid)
- Nevalid (Form was verified and considered invalid or has errors - for example is a duplicate/ it has incorrect data etc.)

Users should be able to change the status directly from an action menu within the column.

Acceptance Criteria:

- Add a "Verificare" column to the table.
- Default status for new submissions: Neverificat.
- The table will have an action menu as in [design](https://www.figma.com/design/nqkbBl22cPugAA2Pxb2FkN/Redirectioneaza-3.0-Redesign-(2024)?node-id=2568-9357&t=1ritRvPWmRadMKGw-4). The action menu changes based on the current status of the submission.
- If the status is Neverificat, the options should be _Marchează ca valid_ and _Marchează ca nevalid_.
- If the status is Valid, the options should be _Marchează ca nevalid_ and _Marchează ca neverificat_.
- If the status is Nevalid, the options should be _Marchează ca valid_ and _Marchează ca neverificat_.
- Add visual indicators in the column (colors) for each status for quick recognition (e.g., gray for Neverificat, green for Valid, red for Nevalid).
- Optional: add icons for the action menu as in design.
- Nice to have: to add tooltips messages for the action menu options. Texts to be defined @anastk-code4 @avasi-code4ro
- Nice to have: [success toast messages](https://www.figma.com/design/nqkbBl22cPugAA2Pxb2FkN/Redirectioneaza-3.0-Redesign-(2024)?node-id=2577-9807&t=1ritRvPWmRadMKGw-4). To be defined @anastk-code4 @avasi-code4ro

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.