Skip to content

Keep DTC Operations docs app running from merged repo #3

Description

@alexeygrigorev

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

Out of Scope

  • Importing DTC Operations source files into dataops; that belongs to Import DTC Operations into dataops #2.
  • Adding DataTasks, podcast assistant, or cross-system workflow features.
  • Rewriting the frontend framework or replacing the existing vanilla JavaScript portal shell.
  • Production deployment cutover, DNS changes, or real GitHub content writes.
  • Broad cleanup or refactoring beyond what is needed to keep the imported docs app running.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Must havebackendBackend/APIfrontendFrontend UImigrationImport or migration workportalShared portal shell and UXprocess-docsSOPs, templates, references, playbookstestingTests and QA

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions