Skip to content

Sandbox page: open on the working view and keep shell, logs and proposals one click away #102

Open

Description

@Gkrumbach07

What happens

At f625e302, the sandbox page has nine tabs: Details, Logs, Terminal, Providers, Policy, Proposals, Services, Settings, Files. It opens on Details (a metadata card and a conditions table) unless the URL carries ?tab=. The Proposals tab title carries no count.

Why it matters

People open a sandbox to do one of three things: get a shell, read the logs, or review a proposed rule. Each is a tab away from the default view, every time.

The TUI's sandbox view puts a summary in the header (status, providers, where the policy comes from, how many rules are pending) and each of those three actions on a single key (s, l, r).

Proposed

  • Open on the tab the user last used for a sandbox, falling back to Logs when the sandbox is Ready. Details stays available as a tab.
  • Keep a compact summary above the tabs: attached providers, policy source (sandbox, or global with its version), and the number of pending proposals as a link to that tab.
  • Show the pending count on the Proposals tab title.
  • Offer Terminal and Logs as direct actions on each row and card of the sandbox list, linking to ?tab=terminal and ?tab=logs.

Done when

  • Reopening a sandbox lands on the tab used last.
  • Terminal, Logs and pending proposals are each one click from the sandbox list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions