fix(automation): clarify repository authoring workspace #748

Merged
simon merged 1 commit from fix/repository-authoring-ui into dev 2026-06-21 07:58:37 +00:00
Owner

Summary

  • Fix repository file editor content disappearing after selecting a file by keeping the CodeMirror instance stable across pending/read-only state changes.
  • Move create file, create folder, upload, and scaffold into editor toolbar icon actions with modal flows.
  • Add source-inspection and mocked browser coverage for repository file loading and toolbar modal behavior.

Validation

  • 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)
  • BETTER_AUTH_URL=http://localhost:3000 pnpm --dir apps/web build compiled successfully, then stopped at page data collection because this fresh worktree has no DATABASE_URL/Postgres environment.
  • pnpm --dir apps/web test:e2e tests/e2e/automation/ct-automation-mvp.spec.ts --grep "loads file content" is blocked before the target UI by the existing Next/Webpack native ssh2/cpu-features dev-server issue tracked in #747.

Companion docs

  • Website docs PR follows on branch docs/repository-authoring-toolbar.

Release

  • Target dev only; do not promote to production.
## Summary - Fix repository file editor content disappearing after selecting a file by keeping the CodeMirror instance stable across pending/read-only state changes. - Move create file, create folder, upload, and scaffold into editor toolbar icon actions with modal flows. - Add source-inspection and mocked browser coverage for repository file loading and toolbar modal behavior. ## Validation - `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) - `BETTER_AUTH_URL=http://localhost:3000 pnpm --dir apps/web build` compiled successfully, then stopped at page data collection because this fresh worktree has no `DATABASE_URL`/Postgres environment. - `pnpm --dir apps/web test:e2e tests/e2e/automation/ct-automation-mvp.spec.ts --grep "loads file content"` is blocked before the target UI by the existing Next/Webpack native `ssh2`/`cpu-features` dev-server issue tracked in #747. ## Companion docs - Website docs PR follows on branch `docs/repository-authoring-toolbar`. ## Release - Target `dev` only; do not promote to production.
fix(automation): clarify repository authoring workspace
All checks were successful
Conventional PR title / Conventional PR title (pull_request) Successful in 1s
PR Checks (Docker images) / Ansible API contract (pull_request) Successful in 7s
SAST / Detect security scan scope (pull_request) Successful in 10s
PR Checks (Docker images) / Detect Docker image changes (pull_request) Successful in 11s
PR Checks (Docker images) / Ingest 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) / 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 1m12s
SAST / crypto-lint (no weak hashes / ciphers) (pull_request) Successful in 1m7s
PR Checks (Web) / Web (lint / type-check / build) (pull_request) Successful in 2m34s
PR Checks (Docker images) / Web Docker image (pull_request) Successful in 12m45s
3172c1cde2
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!748
No description provided.