mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 21:10:59 +00:00
`/admin/api-tokens` carried a Collapse / Expand toggle inherited from the v1.4 shared admin page where 13 sections lived together. On the v1.5 dedicated route the toggle just hides the only card on the page — Marc reported it as "sinnlos" (pointless): the page title already says "API Tokens", the only thing below it is the tokens card, and collapsing it leaves an empty surface with the section heading staring back at you. Drop the local `expanded` state and the toggle button from the section. The card always renders, the query always fetches, and the header is now a plain icon + title row. The shared `settings.collapse` / `settings.expand` i18n keys stay in messages because `<LoginOverviewSection>` still uses them. The matching test asserts no Collapse / Expand / Einklappen / Ausklappen string appears in either locale, and that no `aria-expanded` button shows up on the section header. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>