WikiEduDashboard icon indicating copy to clipboard operation
WikiEduDashboard copied to clipboard

Simplify Program deletion process

Open chioma-data-analytics opened this issue 1 year ago • 2 comments

What is happening.

The process for deleting a program involves multiple steps and navigation between pages. This could be confusing for users.

To Reproduce

  1. On My dashboard, find and click the campaign name that contains the program to delete.
  2. From the list of programs, click on the program name
  3. Click "remove" button
  4. “Ok” a confirmation dialog to confirm deletion
  5. Return to My dashboard
  6. Click on the program's name
  7. Scroll to Action Section and Click "delete program"
  8. Type the name of the program in the prompt to confirm deletion, Click “Ok”

Expected behavior

I'm suggesting implementing a "Delete" or "Remove" button directly on the program within the user's dashboard "My dashboard" or end the process in the campaign page with just few clicks as shown:

  1. On my dashboard, find and click the campaign name that contains the program to delete.
  2. From the list of programs, click on the program name
  3. Click "remove" button
  4. “Ok” a confirmation dialog to confirm deletion

chioma-data-analytics avatar Nov 01 '23 06:11 chioma-data-analytics

@analytics-algorithm @ragesoss I think that there should be 3 buttons to interact with the program.

  • Clone
  • Remove
  • Delete

Screenshot from 2024-01-12 18-14-54

As..if there is a program with 2 parent campaigns then the delete button should only function after removing that program from the 2nd campaign... should I try implementing this?

ujjwalpathaak avatar Jan 12 '24 12:01 ujjwalpathaak

I think you're right, 3 buttons would be needed, and you are correct about the 2-campaigns situation. I think the labels also need to be more explicit. In particular 'remove' should probably become 'Remove from Campaign'.

Obviously, only admins should see the delete button.

ragesoss avatar Jan 16 '24 17:01 ragesoss