Skip to content

Drep editing flow needs to be redesigned to be able to navigate properly #910

@m-i-k-e

Description

@m-i-k-e

Context & versions

staging.sanchonet

Steps to reproduce

  1. Become Drep
  2. Go to dashboard
  3. Click "View your DRep Details" on Drep card
  4. go to your drep card
  5. Click "Edit Drep Data"

Actual behavior

  1. You are faced with a blank form
  2. When you click "Cancel" it should have a different confirmation modal. The current one asks you if you want to Abandon registration, but this is 'canceling' changes. The user is already registered

Expected behavior

  1. The form should have the existing Drep data pre-populated as per Figma file: https://www.figma.com/file/mJTBiUofLfb74Xc3W2U59o/Voltaire---GOV-TOOL?type=design&node-id=9751%3A82747&mode=design&t=YS0TICiCourCfGTj-1
  2. Also see this loom video: https://www.loom.com/share/71848037d7f74f228d53ee8768d4fd93?sid=aa24b45a-c115-4616-83eb-3fccd8e0da67
  3. And this one: https://www.loom.com/share/e7c1a8ae0fc24ebeaeb002accb61aedb?sid=b55fab8a-2b10-422d-87e5-8817bff648da
  4. When "cancel" is clicked, the user should be taken back to their Drep detail card (where they came from)
  5. There should be no "back to dashboard" link on the upper left of the screen

What needs to be done to fix this:

  1. New screen for cancelling (modal) to be designed with two buttons: Yes, cancel, No, continue editing. if user clicks Cancel, they go back to the previous page, which is the drep detail page
  2. remove the "back to dashboard" link on the top left
  3. Pre-populate the form with the existing DRep data.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

To do

Relationships

None yet

Development

No branches or pull requests

Issue actions