You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs: point the live previews at the mock server #594
Once the mock server runs on Rahti, every preview can show working data
instead of errors or "missing endpoint" notices.
What to do
Change the defaults in apps/documentation/utils/endpoints.ts to the
mock server URL (Service Registry, Cloud Registry, TRS, TRS-Filer, WES)
and sampleIds to fixture IDs; keep the NEXT_PUBLIC_* overrides.
Update the "Live previews" section of the Contributing page (defaults
table, "what works with the defaults", how to point at a local mock
with npm run dev).
Code samples on the component pages that show real public instances
stay as they are; only the previews use the mock.
Done when
Every preview loads data from the mock on the built docs site
Cloud Registry, TRS-Filer and WES create forms submit successfully
Activity