Skip to content
This repository has been archived by the owner on Aug 17, 2024. It is now read-only.

US5 - Delete Function #12

Open
9 tasks
Hendrik-Pils opened this issue Jan 12, 2024 · 3 comments
Open
9 tasks

US5 - Delete Function #12

Hendrik-Pils opened this issue Jan 12, 2024 · 3 comments

Comments

@Hendrik-Pils
Copy link
Collaborator

Hendrik-Pils commented Jan 12, 2024

Value proposition

As a User:
I want to be able to delete an idea
to update the overview

Description

Image

Acceptance criteria

  • There is a clickable delete button displayed on the idea details page, that deletes an idea
  • On clicking the idea, a confirmation dialogue ("Are you sure?") appears. The user can click "Yes" or "Cancel".
  • Clicking on "Yes" ensures that the idea is getting deleted out of the array.
  • Clickling on "Cancel" ensures that the deleting process gets aborted.
  • After deleting the idea, the user gets redirected to the landing page

Tasks

  • Create a delete button that is starting the deleting process (starts with a confirmation dialogue)
  • Implement a alert() as confirmation dialogue
  • Handle clicking on "Yes" at the alert: Delete the idea out of the array and redirect to the landing page
  • Handle clicking on "Cancel" at the alert: Abort the deleting process
@CJAkkuec
Copy link

Hey there, just another couple of notes:

As a user
I want to be able to delete an idea
so that I can remove them from the overview.

The AC and Tasks are very sparse.

Please include the intended behavior of the delete button in the AC, as well as what happens after the button has been clicked. You should probably include a confirmation dialogue as well.

Please add some more verbose steps to the tasks, such as mentioning the component, a very short mention of the business logic included in the function, the confirmation dialogue, the routing, etc.

@F-Kirchhoff
Copy link

Hey, please specifiy where the button is displayed, e.g. : "a delete button is displayed on the projects details page". Otherwise you are good to go!

@F-Kirchhoff
Copy link

LGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Status: ✨ Done
Development

No branches or pull requests

3 participants