Skip to content

feat(kanban): add grab-to-pan board scrolling (salvage #59830) - #60226

Merged
teknium1 merged 2 commits into
mainfrom
hermes/hermes-e60b5302
Jul 7, 2026
Merged

feat(kanban): add grab-to-pan board scrolling (salvage #59830)#60226
teknium1 merged 2 commits into
mainfrom
hermes/hermes-e60b5302

Conversation

@teknium1

@teknium1 teknium1 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Summary

Salvage of PR #59830 by @vampyren — adds grab-to-pan horizontal scrolling to the Kanban dashboard board columns, so navigating wide boards no longer requires hunting for the thin native scrollbar.

The original PR's code was clean and current, but its commit was authored under an unlinked local git identity (Rex <rex@local>), failing the attribution check. This salvage cherry-picks the change with authorship rewritten to @vampyren's GitHub noreply address so contributor credit is preserved in git history.

Changes

  • plugins/kanban/dashboard/dist/index.js: mousedown grab-to-pan handler on the board columns container — drag empty board space to scroll horizontally; cards, buttons, checkboxes, links, and inputs are excluded so card drag-and-drop and controls keep working; bottom 20px preserved so the native scrollbar remains usable; listeners cleaned up on mouseup, window blur, and unmount; ResizeObserver-driven --scrollable class gates the grab cursor.
  • plugins/kanban/dashboard/dist/style.css: grab / grabbing cursor feedback classes.
  • scripts/release.py: AUTHOR_MAP entry for vampyren.

Validation

Check Result
node --check dist/index.js pass
scripts/run_tests.sh tests/plugins/test_kanban_dashboard_plugin.py 96/96 pass
Full CI on original head (8 test slices, Docker amd64+arm64, lints, OSV) green — only the attribution check failed
Contributor's Playwright smoke test (cursor states, scroll movement, blur cleanup, card exclusion) reported pass on #59830

Closes #59830.

Infographic

kanban-grab-to-pan

vampyren and others added 2 commits July 7, 2026 05:26
Adds grab-to-pan horizontal scrolling to the Kanban dashboard board
columns with grab/grabbing cursor feedback. Card drag-and-drop, add
buttons, checkboxes, links, and inputs are excluded from panning, the
native horizontal scrollbar remains usable as a fallback, and panning
state is cleared on mouse release or window blur.

Salvaged from PR #59830 by @vampyren (original commit authored under an
unlinked local git identity; rewritten to their GitHub noreply address
to preserve attribution).
@alt-glitch alt-glitch added type/feature New feature or request comp/dashboard Web dashboard / control panel UI (dashboard/, landing) P3 Low — cosmetic, nice to have labels Jul 7, 2026
@teknium1
teknium1 merged commit 3c63ed3 into main Jul 7, 2026
31 checks passed
@teknium1
teknium1 deleted the hermes/hermes-e60b5302 branch July 7, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/dashboard Web dashboard / control panel UI (dashboard/, landing) P3 Low — cosmetic, nice to have type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants