fix(automation): simplify repository file workspace #750

Merged
simon merged 1 commit from fix/repository-ui-modals into dev 2026-06-21 09:13:02 +00:00
Owner

Summary

  • Move the Repositories tab file browser/editor into a modal workspace opened from a repository row icon action.
  • Hide the CodeMirror editor until a file is selected for editing.
  • Decode CT-Automation repository file responses that provide base64 content so selected files populate the editor instead of appearing blank.

Validation

  • node --experimental-strip-types --test lib/automation/ct-automation-repository-step-core.test.mjs
  • node --experimental-strip-types --test lib/automation/ct-automation-launch-step-core.test.mjs
  • pnpm --dir apps/web type-check
  • pnpm --dir apps/web lint (passes with existing warnings)
  • pnpm --dir apps/web test:e2e tests/e2e/automation/ct-automation-mvp.spec.ts --grep "loads file content" blocked before target UI by existing Next/Webpack ssh2 cpu-features native module issue tracked in #747

Companion docs

  • Website docs PR follows on branch docs/repository-files-modal.

Release

  • Target dev only; do not promote to production.
## Summary - Move the Repositories tab file browser/editor into a modal workspace opened from a repository row icon action. - Hide the CodeMirror editor until a file is selected for editing. - Decode CT-Automation repository file responses that provide base64 content so selected files populate the editor instead of appearing blank. ## Validation - node --experimental-strip-types --test lib/automation/ct-automation-repository-step-core.test.mjs - node --experimental-strip-types --test lib/automation/ct-automation-launch-step-core.test.mjs - pnpm --dir apps/web type-check - pnpm --dir apps/web lint (passes with existing warnings) - pnpm --dir apps/web test:e2e tests/e2e/automation/ct-automation-mvp.spec.ts --grep "loads file content" blocked before target UI by existing Next/Webpack ssh2 cpu-features native module issue tracked in #747 ## Companion docs - Website docs PR follows on branch docs/repository-files-modal. ## Release - Target dev only; do not promote to production.
fix(automation): simplify repository file workspace
All checks were successful
Conventional PR title / Conventional PR title (pull_request) Successful in 0s
PR Checks (Docker images) / Ansible API contract (pull_request) Successful in 6s
PR Checks (Docker images) / Detect Docker image changes (pull_request) Successful in 10s
SAST / Detect security scan scope (pull_request) Successful in 10s
PR Checks (Docker images) / Ingest Docker image (pull_request) Has been skipped
SAST / gosec (agent) (pull_request) Has been skipped
SAST / gosec (ingest) (pull_request) Has been skipped
PR Checks (Docker images) / Ansible API Docker image (pull_request) Has been skipped
SAST / trivy (filesystem) (pull_request) Has been skipped
Secret Scan / gitleaks (pull_request) Successful in 28s
SAST / trivy (config / IaC) (pull_request) Has been skipped
SAST / semgrep (pull_request) Successful in 1m11s
SAST / crypto-lint (no weak hashes / ciphers) (pull_request) Successful in 1m5s
PR Checks (Web) / Web (lint / type-check / build) (pull_request) Successful in 2m23s
PR Checks (Docker images) / Web Docker image (pull_request) Successful in 13m39s
a1f25f9b23
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carrtech/ct-ops!750
No description provided.