fix(kanban): vertically center column color indicator against title text #61
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_whiteboard!61
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_kanban_color_indicator_align"
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 small colored bar beside each column title now sits on the same visual midline as the title text, regardless of font size.
Related Issue
Closes #53
Changes
crates/hero_whiteboard_ui/static/web/js/whiteboard/kanban.js— inrenderColumn, create the title Konva.Text first, read its client rect relative to the group, then place the color indicator rect withy = titleBox.y + (titleBox.height - indicatorH) / 2. Robust to future font-size changes (e.g. when font scales with column width).Test Results
cargo check --workspace: PASScargo clippy --workspace -- -D warnings: PASS