Files
TREK/client/src/components/Help/HelpAnchor.tsx
T
Maurice 4346d7f2c1 feat(help): in-app help center with per-screen guides and pictures
A help icon on every screen opens a panel with the screen's overview, its
sub-screens, task guides with a framed picture per step, search across guides
and the wiki, and a switch to any other screen's help. Guides exist for the
dashboard, Vacay, Atlas, Collections, Journey (list, journal, studio), Settings
(all tabs), Admin (all tabs) and the trip frame; the trip's own screens are
in progress. Pictures are produced by Playwright (client/e2e/help), texts in
all 23 languages.
2026-09-24 14:05:42 +02:00

12 lines
355 B
TypeScript

import { useHelpContext } from '../../hooks/useHelpContext'
/**
* Renders nothing; registers the screen it sits in with the help center. A
* page body may not call hooks itself (see pages/PATTERN.md), so this is the
* form a `*Page.tsx` uses.
*/
export default function HelpAnchor({ id }: { id: string }): null {
useHelpContext(id)
return null
}