Fixed
- Hint mode dropdown menus appear at top-left corner — synthetic click events dispatched by hint mode lacked
clientX/clientYcoordinates, causing Obsidian's dropdown menus (vault switcher, context menus, etc.) to position at(0, 0)instead of near the clicked element. Fixed by computing the element's center fromgetBoundingClientRect()and passing coordinates to allMouseEventandPointerEventdispatches. Also replacedel.click()with a coordinate-awareMouseEventdispatch. (#104)- Plugin:
src/ui/hint-mode.ts(getElementCenterhelper, coordinate injection inhintActivate— openInNewPaneMouseEvent, normal clickPointerEvents, andel.click()replacement)
- Plugin:
Added
- Hint mode right-click (context menu) action — new
gfbinding in non-editor views and Shift+label modifier in editor context to open the right-click context menu on any hint target. Dispatches acontextmenuMouseEventwith proper coordinates fromgetElementCenter(). Also available as:hintcontextmenu(:hintco) ex command andvim-motions:hint-context-menuObsidian command. Shift key normalization inwaitForHintKey()ensures Shift-held characters match lowercase labels correctly. (#104)- Plugin:
src/ui/hint-mode.ts(hintContextMenuaction,contextMenuincreateHintAction/createHintActions,shiftKeyinHintResult, Shift→contextMenu upgrade in action selection,e.key.toLowerCase()normalization when Shift held),src/workspace/global-defaults.ts(gfbinding,contextMenuinhintActionsparameter type),src/main.ts(:hintcontextmenuex command,vim-motions:hint-context-menuObsidian command,contextMenuinhintActionstype)
- Plugin:
Tests
- 5 e2e tests in
test/specs/hint-mode.e2e.ts(issue #104):gffrom graph view shows hint overlay,gflabel dispatches contextmenu event with non-zero coordinates, Shift+label dispatches contextmenu in editor, Shift+label matches lowercase labels (case-sensitivity regression),hint-context-menuObsidian command registered
Documentation
CHANGELOG.mdKNOWN_LIMITATIONS.md: Updated hint mode actions with context menu action, coordinate fix, and Shift modifierAGENTS.md: Updatedhint-mode.tsdescription withgetElementCenter,hintContextMenu, and Shift modifierCONTRIBUTING.md: Updatedhint-mode.tsdescriptionREADME.md: Updated Vimium-style hints feature line withgfdocs/features/hint-mode.md: Addedgfto non-editor keybinding table, Shift modifier to editor context,vim-motions:hint-context-menuto commandsdocs/reference/keybindings.md: Addedgfto non-editor view bindings tabledocs/features/ex-commands.md: Added:hintcontextmenuto hint ex commands table
Full Changelog: 0.95.0...0.96.0