Projects: board cards are not draggable #127
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_archipelagos#127
Loading…
Add table
Add a link
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?
The Projects island Board view renders three status columns (Todo / In Progress / Done) and drops each project card into its status column, but the cards are not draggable:
project_card.rshas nodraggableattribute orondragstart, andBoardColumnhas noondragover/ondrophandlers.Users cannot change a project's status from the board — they have to open the project, click Edit, pick the status in the form, and save, which defeats the purpose of having a board view.
Wire HTML5 drag-and-drop:
ProjectCardexposesdraggableand stores the project SID in the dragdataTransferBoardColumnhandlesondragover(prevent default) andondrop(read SID, emit a status-change event with the column's status)BoardViewraises the event to the island, which saves the updated project throughProjectService::saveand refreshes the local list so the card moves to its new column