Create a new board mode called 'Status Selection Mode'. #11
Labels
No labels
Scope/Board
Scope/Database
Scope/UI
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: apollo/pelican#11
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Overview
At the moment the user move cards between statuses using an implementation of tview's
List
primitive on a separate page. This issue is to completely replace this with a new concept calledboard modes
.The existing 'move page' will be replaced with a new board mode called 'Status Selection'. This mode is invoked when the user presses the
m
key on the selected card. The user can then use the normal navigation keys to cycle through the board's statuses. When the user presses theEnter
key the card will be moved to the selected status.Implementation
boardMovement
.boardMode
.normal
andselection
.normal
.m
on card, note the current focused card ID and focused selection ID. Change board Mode toselection
.selection
mode, change the border colour of the selected state.Enter
key is pressed, move the card to the selected status. Once done, change the board mode back tonormal
and refresh the UI.ESC
key.