Skip to content

Show find file and permalink shortcut in tooltip

Pedro Moreira da Silva requested to merge pms-find-file-shortcut into master

What does this MR do and why?

Shows these keyboard shortcuts a tooltip in the project repository:

  1. “Go to find file” keyboard shortcut t for the “Find file” button
  2. “Go to permalink” keyboard shortcut y for the “Permalink” button

Follow the same approach as !141119 (merged), using aria-keyshortcuts (unsupported in Firefox), and combining aria-label and aria-hidden to ensure proper label announcement.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Location Before After
Folder No tooltip CleanShot 20240122140054.mp4
File No tooltip CleanShot 20240122140754.mp4

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Open the project repository view, or a specific folder or file in the repository
  2. Hover or focus the “Find file” button at the top
  3. Open a file in the repository
  4. Hover or focus the “Permalink” button at the top
Edited by Pedro Moreira da Silva

Merge request reports