fix(projects): drag-drop status change on the board view #128
No reviewers
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!128
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_fix_projects_board_drag"
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?
Summary
The Projects island's Board view rendered three status columns (Todo / In Progress / Done) with no HTML5 drag-drop wired, so users could not change a project's status from the board — they had to open the project, click Edit, pick a status, and save. This PR adds drag-drop so dropping a card on a column updates the project through
ProjectService::saveand the card moves to the new column.Related Issue
Closes #127
Changes
project_card.rs— draggable card, SID in dataTransferboard_view.rs— column ondragover + ondrop, emits (sid, status)island.rs— save project on drop, replace in local listTest Results
cargo check -p hero_archipelagos_projects: passcargo clippy -p hero_archipelagos_projects -- -D warnings: passcargo fmt --check -p hero_archipelagos_projects: passdx build --package hero_os_app --web --features web: pass, deployed to the shared test instancetests/e2e/projects-board-drag.spec.ts:draggable=trueanddata-project-sidprojects.project.seton the RPCManual verification
project.setcall)