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
Keep DTC Operations docs app running from merged repo
Status: pending
Tags: migration, portal, process-docs, frontend, backend, testing, P0
Depends on: #2
Blocks: Phase 1 DTC Operations import acceptance and later portal integration work
Scope
Validate and repair the imported DTC Operations docs app after the source is copied into dataops by #2. The merged repo must run the existing process-doc portal from repo-local paths and configuration, preserving docs navigation, search, lint, local editing, and the existing backend/frontend contract.
This issue should make the app runnable and testable from /home/alexey/git/dataops without requiring runtime reads from ../dtc-operations. Update configuration, import paths, scripts, and focused regression tests as needed, but keep the product behavior equivalent to the imported DTC Operations docs app.
Acceptance Criteria
The docs app starts locally from dataops using repo-local backend, frontend, and content paths, with no runtime dependency on ../dtc-operations.
Existing process-doc navigation and document detail views load content from merged-repo content/.
Search index generation or loading works from merged content and returns relevant process-doc results in the local app.
SOP/process-doc linting runs from dataops and reports results using merged-repo paths.
Local-mode document editing can open, modify, save, and reload a process doc without calling production GitHub write APIs.
Existing image or asset handling used by the docs app still resolves files from the merged repo.
Regression coverage is added or updated for backend docs/search behavior and at least one Playwright portal flow covering load, search, and document edit/save.
Any required local run/test commands are documented in the repo location expected by the existing project conventions.
Test Scenarios
Scenario: Operator starts the merged docs app locally
Given: #2 has imported DTC Operations into dataops
When: an operator runs the documented local start command from /home/alexey/git/dataops
Then: the docs app starts successfully and serves the process-doc portal without reading from ../dtc-operations
Scenario: Operator searches process documentation
Given: the local docs app is running with merged-repo content
When: an operator searches for a known SOP or process term
Then: relevant process documents appear and open from the merged content/ tree
Scenario: Operator edits a process document locally
Given: the local docs app is running in local edit mode
When: an operator edits a process doc, saves it, and reloads the document
Then: the saved change is visible locally and no production GitHub write is attempted
Scenario: Engineer runs regression checks
Given: dependencies are installed for the imported docs app
When: an engineer runs the backend docs/search tests, SOP lint, and focused Playwright flow
Then: all checks pass from the merged repo path
Keep DTC Operations docs app running from merged repo
Status: pending
Tags:
migration,portal,process-docs,frontend,backend,testing,P0Depends on: #2
Blocks: Phase 1 DTC Operations import acceptance and later portal integration work
Scope
Validate and repair the imported DTC Operations docs app after the source is copied into
dataopsby #2. The merged repo must run the existing process-doc portal from repo-local paths and configuration, preserving docs navigation, search, lint, local editing, and the existing backend/frontend contract.This issue should make the app runnable and testable from
/home/alexey/git/dataopswithout requiring runtime reads from../dtc-operations. Update configuration, import paths, scripts, and focused regression tests as needed, but keep the product behavior equivalent to the imported DTC Operations docs app.Acceptance Criteria
dataopsusing repo-local backend, frontend, and content paths, with no runtime dependency on../dtc-operations.content/.dataopsand reports results using merged-repo paths.Test Scenarios
Scenario: Operator starts the merged docs app locally
Given: #2 has imported DTC Operations into
dataopsWhen: an operator runs the documented local start command from
/home/alexey/git/dataopsThen: the docs app starts successfully and serves the process-doc portal without reading from
../dtc-operationsScenario: Operator searches process documentation
Given: the local docs app is running with merged-repo content
When: an operator searches for a known SOP or process term
Then: relevant process documents appear and open from the merged
content/treeScenario: Operator edits a process document locally
Given: the local docs app is running in local edit mode
When: an operator edits a process doc, saves it, and reloads the document
Then: the saved change is visible locally and no production GitHub write is attempted
Scenario: Engineer runs regression checks
Given: dependencies are installed for the imported docs app
When: an engineer runs the backend docs/search tests, SOP lint, and focused Playwright flow
Then: all checks pass from the merged repo path
Out of Scope
dataops; that belongs to Import DTC Operations into dataops #2.