Skip to content

OpenWiki quickstart

OpenWiki quickstart

This wiki explains the repository as a connected frontend system: one React app, several major product workflows, shared auth and API infrastructure, a public marketing site, an admin portal, and a focused test suite.

Start here

High-level map

Runtime shells

  • Public shell: marketing site and docs, owned by PublicLayout.
  • Protected shell: app workspace with sidebar/topbar and route-level consent/auth gating, owned by App.jsx.
  • Admin shell: gated operational portal, owned by AdminRoute and AdminLayout.

Major workflows

Shared infrastructure

Change-area routing table

Change intentRead firstOwning source entrypointsNarrow validation
Change app routing, shell composition, or top-level layoutArchitecture overviewsrc/App.jsx, src/index.jsx, src/components/home/PublicLayout.jsx, src/admin/AdminRoute.jsx, src/admin/AdminLayout.jsxRoute/workflow Playwright spec for the affected area
Change login, token exchange, consent, or admin accessAuthentication and access controlsrc/auth/index.js, src/auth/MsalAuthContext.jsx, src/contexts/AuthContext.jsx, src/services/consentService.js, src/services/tenantService.js, src/utils/rbac.jstests/unit/rbac.test.js, tests/contract/client.test.js
Change API request behavior or shared HTTP rulesAPI clientsrc/services/api/client.js, src/services/api/endpoints.jstests/contract/client.test.js
Change schemas or schema versioningSchema generator workflowsrc/pages/schemagenerator/*, src/services/api/schemaService.jstests/contract/schemaService.test.js
Change prompts or prompt versioningPrompt generator workflow and Prompt librarysrc/pages/promptgenerator/*, src/admin/availble_prompts/*, src/services/api/promptService.jstests/contract/promptService.test.js
Change admin screens or admin accessAdmin portalsrc/admin/*, src/utils/rbac.jstests/unit/rbac.test.js, relevant Playwright admin workflow
Change public marketing pages or docsPublic marketing experience and In-app user documentationsrc/components/home/*, src/components/solutions/*, src/documentation/userdocumentation/*affected Playwright navigation workflow
Change preview, upload, or shared chromeShared UI componentssrc/components/common/*, src/components/filepreview/*, src/components/sidebar/*, src/components/Topbar/*focused component tests plus impacted workflow
Change utility behavior or security guardrailsUtilities and guardrailssrc/utils/*, src/pages/livetest/utils/dataFiltering.js, src/utils/secureLogger.jstargeted unit test file

Quick navigation by subsystem

Backlog

  • Deep backend behavior is intentionally out of scope for this frontend wiki. For server contracts, use the /docs/backend/ material that already exists in the repository.
  • The repository contains many page families beyond the highest-rank workflows above. If you change a route family not listed here, add or expand the corresponding canonical page before shipping the change.