MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / keyLabel

Function keyLabel

graph-ui/src/help/HelpOverlay.tsx:138–141  ·  view source on GitHub ↗

* Wie eine Taste geschrieben wird. * * Zwei Uebersetzungen: `Escape` heisst auf einer Tastatur `esc`, und ein * Menuekuerzel traegt seinen Modifikator, weil `a` allein seit dem 2026-08-29 * ein Buchstabe ist und kein Kommando.

(shortcut: AtlasShortcut)

Source from the content-addressed store, hash-verified

136 * ein Buchstabe ist und kein Kommando.
137 */
138function keyLabel(shortcut: AtlasShortcut): string {
139 const name = help.keyNames[shortcut.key] ?? shortcut.key;
140 return needsAlt(shortcut) ? `${help.altPrefix}${name}` : name;
141}
142
143/** Ein Abschnitt der Seite, mit seiner Ueberschrift und seinem Namen im DOM. */
144function Section(props: { name: string; title: string; children: ReactNode }): JSX.Element {

Callers 1

HelpOverlayFunction · 0.85

Calls 1

needsAltFunction · 0.90

Tested by

no test coverage detected