Repository navigation
fix: put the Gantt row actions behind one menu button
Fixes the hover toolbar covering the open-note button in the Gantt view, reported at #15.
The problem
.project-planner-gantt__row-actions was position: absolute; right: 0 with an opaque inherited backdrop, faded in on hover. That is what it was designed to do, since reserving a column for the icons would have narrowed every task name, but it lands squarely on the open-note arrow at the end of the row. The one control people reach for most is the one the toolbar hides.
The fix
The strip goes. Every row now ends in a single actions button, in flow and always visible, and the actions move into a menu behind it:
- Open note
- Show only this branch (parent rows only)
- Add a tag
- Show this task on the map
- Link this task to another
- Put this task inside another
- Finance (when costing is on)
- Add a task after this one
Nothing is ever drawn over anything else, and a row looks the same hovered or not.
It uses Obsidian's own Menu, matching what GraphView already does for its context menus. That matters here because the label column scrolls: a popover of our own would be clipped at the column edge. It also brings keyboard navigation, the vault theme and dismiss-on-outside-click with it.
Also in here
openTaskLinkmoves out oflink-button.tsxintosrc/lib/open-task-link.ts, shared by the link button (graph nodes, board cards, open questions) and the new menu.- Tests for it, including the deferred-tab path that stops a second tab opening for a note already in front of you. That behaviour had no coverage before.
WorkspaceandWorkspaceLeafadded to the Obsidian test mock.- Gantt docs updated: the focus button is no longer described as appearing on hover, and the arrow-button row in the editing table is now the row menu.
Checks
lint, lint:css, format, tsc, build and all 1645 tests pass locally. Deployed to the vault and the new build loads.
🤖 Generated with Claude Code