fix(automation): show repository files as an expandable tree #754

Closed
simon wants to merge 1 commit from fix/repository-editor-tree into dev
Owner

Summary

  • render CT-Automation repository files as an expandable folder tree
  • sort each folder level with directories first alphabetically, then files alphabetically
  • auto-load repository files when the file workspace opens and keep the button as Refresh files

Validation

  • node --experimental-strip-types --test apps/web/lib/automation/ct-automation-repository-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 -g "repositories tab loads file content" (blocked before this flow by existing #747: Next dev server cannot bundle ssh2/cpu-features native module)
## Summary - render CT-Automation repository files as an expandable folder tree - sort each folder level with directories first alphabetically, then files alphabetically - auto-load repository files when the file workspace opens and keep the button as Refresh files ## Validation - node --experimental-strip-types --test apps/web/lib/automation/ct-automation-repository-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 -g "repositories tab loads file content" (blocked before this flow by existing #747: Next dev server cannot bundle ssh2/cpu-features native module)
fix(automation): show repository files as an expandable tree
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 7s
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) / Ansible API Docker image (pull_request) Has been skipped
SAST / gosec (ingest) (pull_request) Has been skipped
SAST / gosec (agent) (pull_request) Has been skipped
PR Checks (Docker images) / Ingest Docker image (pull_request) Has been skipped
Secret Scan / gitleaks (pull_request) Successful in 29s
SAST / trivy (filesystem) (pull_request) Has been skipped
SAST / trivy (config / IaC) (pull_request) Has been skipped
SAST / semgrep (pull_request) Successful in 1m12s
SAST / crypto-lint (no weak hashes / ciphers) (pull_request) Successful in 1m6s
PR Checks (Web) / Web (lint / type-check / build) (pull_request) Successful in 2m34s
PR Checks (Docker images) / Web Docker image (pull_request) Successful in 12m43s
e976a98037
simon closed this pull request 2026-06-21 10:35:33 +00:00
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 7s
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) / Ansible API Docker image (pull_request) Has been skipped
SAST / gosec (ingest) (pull_request) Has been skipped
SAST / gosec (agent) (pull_request) Has been skipped
PR Checks (Docker images) / Ingest Docker image (pull_request) Has been skipped
Secret Scan / gitleaks (pull_request) Successful in 29s
SAST / trivy (filesystem) (pull_request) Has been skipped
SAST / trivy (config / IaC) (pull_request) Has been skipped
SAST / semgrep (pull_request) Successful in 1m12s
SAST / crypto-lint (no weak hashes / ciphers) (pull_request) Successful in 1m6s
PR Checks (Web) / Web (lint / type-check / build) (pull_request) Successful in 2m34s
PR Checks (Docker images) / Web Docker image (pull_request) Successful in 12m43s

Pull request closed

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!754
No description provided.