Add support for deleting a status column. #24

Closed
opened 2024-01-12 16:59:08 +00:00 by dananglin · 1 comment
Owner

Overview

When the user hits the delete keys on a status column a prompt should be displayed asking the user to confirm that the column is to be deleted. Once confirmed any cards in the column should be moved to the status that is first in the order list (this is usually the backlog or to do column), the status should be removed from the database and the board should be refreshed (columns should be re-initialised).

Requirements

  • Use CTRL-D in the 'board edit' mode to delete the column in focus.
  • If there's only one column on the board then cancel the request. If the status column is not empty then cancel the request. Send an error message to the status bar specifying that at least one column should be present on the board.
  • The positions of the existing statuses should be updated.
### Overview When the user hits the delete keys on a status column a prompt should be displayed asking the user to confirm that the column is to be deleted. Once confirmed any cards in the column should be moved to the status that is first in the order list (this is usually the _backlog_ or _to do_ column), the status should be removed from the database and the board should be refreshed (columns should be re-initialised). ### Requirements - [x] Use `CTRL-D` in the 'board edit' mode to delete the column in focus. - [x] ~~If there's only one column on the board then cancel the request.~~ If the status column is not empty then cancel the request. Send an error message to the status bar specifying that at least one column should be present on the board. - [x] The positions of the existing statuses should be updated.
dananglin added this to the v0.2.0 milestone 2024-01-12 16:59:08 +00:00
dananglin self-assigned this 2024-01-12 16:59:08 +00:00
dananglin added this to the The Pelican Project project 2024-01-12 16:59:09 +00:00
dananglin added reference delete-a-status-column 2024-01-17 17:57:30 +00:00
Author
Owner

Could we extend the delete modal for this use case?

Edit: yes 😃

Could we extend the delete modal for this use case? **Edit:** yes 😃
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: apollo/pelican#24
No description provided.