hotkeys and navigation by todti · Pull Request #667 · allure-framework/allure3 · GitHub
Skip to content

hotkeys and navigation#667

Merged
epszaw merged 7 commits into
mainfrom
some-updates
May 28, 2026
Merged

hotkeys and navigation#667
epszaw merged 7 commits into
mainfrom
some-updates

Conversation

@todti

@todti todti commented May 25, 2026

Copy link
Copy Markdown
Collaborator

Add keyboard navigation to web-awesome report

Implements a full vim-like and NERDTree-like keyboard shortcut system for the Allure report UI.

Infrastructure (web-commons)

  • createHotkeyController — scope-aware hotkey dispatcher with editable-element guard and scroll suppression
  • matchHotkey — modifier + key/code matching
  • flattenVisibleTree / moveFocus — flat tree representation for keyboard traversal
  • scrollTreeFocus — scroll-into-view logic for the focused tree item
  • Subtree expand/collapse state machine

Global shortcuts

  • s — focus search, Escape — blur search / close help
  • Shift+L / Ctrl+\ — toggle split layout
  • 15, Tab/Shift+Tab — switch report root tabs
  • [ / ] — switch focus between tree and test result panes
  • ? — open hotkeys help dialog

Tree navigation (vim + NERDTree)

  • j/k// — move focus, h/l// — collapse/expand node
  • p/u — jump to parent group
  • g/G, Home/End — first/last item
  • Space/Enter/o — toggle or open focused node
  • -/+ — collapse/expand; C/A, Shift+C/Shift+A, >, f — subtree bulk operations
  • z/t — scroll tree pane to top
  • V/M — toggle report variables / metadata panels
  • Switching base → split automatically expands ancestor groups and moves focus to the open test result

Test result pane navigation

  • j/k///n/N — next/previous test result
  • 15, Tab/Shift+Tab — switch test result tabs
  • l/p/i — toggle Labels / Parameters / Links sections
  • Escape — back to tree

@todti todti force-pushed the some-updates branch 2 times, most recently from a5754c0 to 6a9ab7c Compare May 25, 2026 15:30
@todti todti added type:improvement New feature or request type:new feature labels May 25, 2026
@github-actions

github-actions Bot commented May 25, 2026

Copy link
Copy Markdown

@epszaw epszaw left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally, everything works.
Please, pay attention for a few comments.

Comment thread packages/web-dashboard/vitest.config.ts.timestamp-1779097312198-ef5a176fcd956.mjs Outdated
@todti todti force-pushed the some-updates branch 2 times, most recently from 51be28d to b52501d Compare May 28, 2026 10:29
@epszaw epszaw merged commit 36e1ea5 into main May 28, 2026
5 checks passed
@epszaw epszaw deleted the some-updates branch May 28, 2026 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error message missing in headline of test view — only visible in steps

2 participants