Tree Views

The Strata panel (in the Activity Bar) contains four tree views that give you a live window into your workspace state.

Workspace

The Workspace view shows overall health and readiness:

πŸ“‹ Workspace: my-project
β”œβ”€β”€ 🟒 Health: HEALTHY
β”œβ”€β”€ πŸ‘€ Profile: dev (active)
β”‚   └── Available: dev, staging, prd
β”œβ”€β”€ πŸ“Š Readiness
β”‚   β”œβ”€β”€ Phase 1: Workspace initialized βœ…
β”‚   β”œβ”€β”€ Phase 2: Repositories registered βœ…
β”‚   β”œβ”€β”€ Phase 5: Build artifacts ready ⏳
β”‚   └── Next step: strata build run -f deploy/main.yaml
└── πŸ“¦ Repositories: 2 registered

Clicking:

  • Click profile name β†’ quick-pick to switch profiles

  • Click the Refresh icon (top-right) β†’ manually refresh workspace state

  • Click β€œNext step” hint β†’ copies command to clipboard

What it displays:

  • Health β€” overall status (HEALTHY, DEGRADED, BROKEN) with issue count

  • Active profile β€” current profile and list of all available profiles

  • Readiness checklist β€” phases complete, statuses (ok/pending/failed), and the next suggested action

  • Repository count β€” total registered repositories

Files

The Files view shows all strata YAML documents grouped by kind:

πŸ“„ Configurations (2)
  main.yaml           βœ… (0 issues)
  test.yaml           ⚠️ (2 warnings)
πŸ“„ Deployments (1)
  production.yaml     ❌ (1 error)
πŸ“„ Environments (3)
  dev.yaml            βœ…
  staging.yaml        βœ…
  prod.yaml           ⏳ (not validated)
πŸ“„ Modules (1)
  api.yaml            βœ…
πŸ“„ Namespaces (0)
πŸ“„ Providers (2)
  aws.yaml            βœ…
  azure.yaml          βœ…
πŸ“„ Resources (5)
  network.yaml        βœ…
  storage.yaml        βœ…
  ...
πŸ“„ Firewalls (1)
  main.yaml           βœ…
πŸ“„ Networks (2)
πŸ“„ DNS (0)
πŸ“„ Tenants (0)

Icons:

  • βœ… Green β€” validated, no issues

  • ⚠️ Yellow β€” validated, warnings present

  • ❌ Red β€” validation errors

  • ⏳ Gray β€” not yet validated

  • (number) β€” count of documents in this kind

Right-click menu:

  • Open β€” open the file

  • Validate β€” run strata validate on this file

  • Build β€” run strata build (for deployment files)

  • Deploy β€” run strata deploy (for deployment files)

  • Show Schema β€” open JSON schema for this document kind

  • Copy Path β€” copy relative path to clipboard

Single-click:

Opens the file in the editor.

Filtering:

The view auto-discovers files from profiles.paths in the last workspace status. Only files known to strata appear here. If you add a new YAML file, save it and the view refreshes.

Repositories

The Repositories view shows all configured configuration repositories:

πŸ“¦ Repositories (2)
β”œβ”€β”€ infra
β”‚   β”œβ”€β”€ πŸ”— URL: git@github.com:myorg/xyz-infra.git
β”‚   β”œβ”€β”€ πŸ“‚ Path: /home/user/repos/xyz-infra
β”‚   β”œβ”€β”€ 🌿 Branch: main
β”‚   └── βœ… Status: cloned
└── modules
    β”œβ”€β”€ πŸ”— URL: (not cloned)
    β”œβ”€β”€ πŸ“‚ Path: /home/user/repos/xyz-modules
    β”œβ”€β”€ 🌿 Branch: main
    └── ⏳ Status: not cloned

What it shows:

  • Name β€” repository name from strata repo list

  • URL β€” Git remote URL

  • Path β€” local path to the repository

  • Branch β€” current branch (if cloned)

  • Status β€” βœ… cloned, ⏳ not cloned, ❌ error

Right-click menu:

  • Open in Explorer β€” open the repository folder in file explorer

  • Open in Terminal β€” open a new terminal in the repo directory

  • Copy Path β€” copy path to clipboard

Tools

The Tools view shows availability and version of external integrations:

πŸ”§ Tools (5)
β”œβ”€β”€ 🟒 terraform    1.9.0
β”œβ”€β”€ 🟒 docker       27.0.1
β”œβ”€β”€ 🟒 git          2.43.0
β”œβ”€β”€ 🟒 helm         3.14.0
└── πŸ”΄ kustomize    (not found)

Status indicators:

  • 🟒 Available β€” tool is installed, version shown

  • πŸ”΄ Not found β€” tool is not in $PATH

  • 🟑 Error β€” tool was found but failed to report version

This helps you quickly see what integrations are available for your deployment. If a required tool is missing (e.g., terraform), you’ll see it here before running a build.

Right-click menu:

  • Check Again β€” re-probe tool availability (useful if you just installed something)


Interactivity

All tree views refresh automatically when:

  • On save β€” you save any YAML file and validation runs

  • On workspace change β€” external tools modify .strata/solution.json

  • On profile change β€” you switch profiles via the status bar or Command Palette

  • On command completion β€” after running build/deploy commands

  • On manual refresh β€” click the Refresh icon at the top of the Workspace view

No file I/O during rendering β€” all tree data comes from the last getStatus() call, so the UI stays responsive even with large workspaces.