mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-17 15:42:24 +00:00
Finish the wiring polish: verbosity gate, upload flash, /about links, dead settings slugs
- The Coach verbosity picker is disabled while the concise tone forces brief, with a hint saying so, instead of a live control that silently does nothing. - A fresh document upload flashes its new row like the duplicate path always did; the settle decision is a pure exported helper with a test. - /about gains its two inbound links: the /privacy footer and a Settings→About credits row (the GeoLite2 EULA wants the attribution reachable from the running app). - The eight settings slugs shadowed by permanent redirects (the seven layout children + sharing) leave the slug registry: no more prerendering unreachable pages, no dead component wirings, and the SectionPlaceholder fallback that could never render is gone. The redirects, section components, and layout-hub subpages are unchanged.
This commit is contained in:
1 parent
3b1314d1b0
commit
542ca91be5
25 files changed
+181
-223
No files matched your search
@@ -25,7 +25,10 @@ describe("isDisclaimerAcknowledgmentCurrent", () => {
|
||||
|
||||
it("re-prompts when the stored acknowledgment is for an older version", () => {
|
||||
expect(
|
||||
isDisclaimerAcknowledgmentCurrent("2026-06-20T08:00:00.000Z", "2025-01-01"),
|
||||
isDisclaimerAcknowledgmentCurrent(
|
||||
"2026-06-20T08:00:00.000Z",
|
||||
"2025-01-01",
|
||||
),
|
||||
).toBe(false);
|
||||
});
|
||||
|
||||
|
||||
@@ -78,23 +78,15 @@ export const SETTINGS_DESTINATION_INVENTORY = {
|
||||
sources: UNAVAILABLE,
|
||||
notifications: MANAGED_GUARDIAN,
|
||||
layout: ADULT_SHARED_UNAVAILABLE,
|
||||
dashboard: ADULT_SHARED_UNAVAILABLE,
|
||||
insights: MANAGED_GUARDIAN,
|
||||
medications: ADULT_SHARED_UNAVAILABLE,
|
||||
mood: ADULT_SHARED_UNAVAILABLE,
|
||||
labs: ADULT_SHARED_UNAVAILABLE,
|
||||
illness: ADULT_SHARED_UNAVAILABLE,
|
||||
environment: UNAVAILABLE,
|
||||
anamnesis: MANAGE_WRITABLE,
|
||||
score: ADULT_SHARED_UNAVAILABLE,
|
||||
vorsorge: ADULT_SHARED_UNAVAILABLE,
|
||||
thresholds: MANAGED_GUARDIAN,
|
||||
ai: UNAVAILABLE,
|
||||
coach: MANAGED_GUARDIAN,
|
||||
api: PERSONAL,
|
||||
mcp: PERSONAL,
|
||||
gesundheitsakte: PERSONAL,
|
||||
sharing: UNAVAILABLE,
|
||||
export: PERSONAL,
|
||||
advanced: PERSONAL,
|
||||
privacy: PERSONAL,
|
||||
|
||||
Reference in new issue
Block a user