Skip to content

Workspaces: one name, rename in place, roots in a dialog, and a plain sidebar link #185

Description

@harenome

Priority

medium. The change is in the web layer: one page, two new routes and the sidebar. The backend gains one small helper.

Components

  • app/nullius (backend)
  • app/web (routes)
  • templates and static files
  • docs and the site
  • catalogue (benchmarks, agents, capabilities)
  • the standard (ports, kits, relay, runs)
  • CI, workflows and skills

Today

The Workspaces page has two name columns. "Cached runs" counts the files in the workspace's parse cache, which is not the number of runs the Runs page shows. The page does not say how many launches a workspace holds.

The page has two name columns. "Workspace" holds the label in a text field with a "rename" link. "Name" holds the folder name on disk, for example witty-pelican. Each row lists every root path in full, and the Roots cell cuts long paths with an ellipsis. A column holds "runs →" for the open workspace and Open for the others, although the menu at the top of the sidebar already opens a workspace. The page has no way to remove a root from a workspace or to delete a root's folder.

The sidebar shows Workspaces as a folding tree: each workspace, and the runs of the open one. The menu at the top of the sidebar, the Runs page and the Launches page already give these.

Wanted

  • One name column: the label. The folder name is its tooltip, and it shows only when two workspaces have the same label.
  • A pencil button beside the name opens a text field. Enter or Save saves. Escape or Cancel restores the name and gives the focus back to the pencil.
  • A Runs column and a Checks column that count what the header of the Runs page counts for that workspace: the agents' runs, and apart from them the checks (nop, oracle).
  • A Launches column: the number of launches of that workspace, as the Launches page filtered to it shows. The number links to the Launches page with its Workspaces filter set to that workspace. Zero is plain text.
  • In place of the list of roots, a button with a folder icon and the number of roots. It opens a wide dialog titled "Roots of " with an Add a root button on the same line. Its confirms also name the workspace. The dialog lists one root per line. The path wraps and is never cut. Each line has two icon buttons:
    • Unlink removes the root from this workspace only, after a confirm in the dialog. The files stay.
    • Delete deletes the folder from disk, after a confirm that names the folder, its runs and size, and the other workspaces that lose it too. Delete is possible only for a run folder that Nullius made in its runs folder, and only when that run has ended. For any other root the button is disabled, and its tooltip says why.
  • The table sorts and pages, as the Launches page does: a Sort by button above it, a click on a header, and 10, 25, 100 or all rows a page. It sorts by Name, Roots, Runs, Checks, Launches and Last opened.
  • No Open column. A New workspace button on the line of the page title, at the right.
  • Delete workspace is a trash icon button with a confirm in the dialog, as on the Launches page. The confirm says what is lost for good: "Its judgements (N) are deleted. Its run folders stay on disk.", or only "Its run folders stay on disk." when the workspace has no judgements. The converted imports and the parse cache go too, but Nullius makes them again from the run folders.
  • The sidebar shows Workspaces as a plain link, as Launches is.

Acceptance

  • The table has one name column and no Open column.
  • Rename by pencil: Enter or Save saves, Escape or Cancel sends nothing and gives the focus back to the pencil. An empty name changes nothing. A name that another workspace has gets a numbered folder name, as a rename does today.
  • Delete workspace names the number of its judgements, in every judge lane, when it has some.
  • Runs and Checks are the counts of the Runs page's header for that workspace. Launches is the count of rows of the Launches page filtered to it, and links there with that filter set (?ws=<name>). An unknown ?ws= changes nothing.
  • The Roots button shows the count and opens the dialog, titled with the workspace. Escape closes it and the focus goes back to the button.
  • Unlink removes the root from that workspace only, and the workspace's runs are read again.
  • Delete removes the folder only for a run that Nullius made in its runs folder, after its links are resolved. It refuses while any run of the same launch is preparing, running, paused or stopping, as Delete launch does. A disabled trash says why in its tooltip. The confirm names the other workspaces that lose the root.
  • Add a root adds to the workspace of the dialog, open or not. When that workspace is gone, nothing is added.
  • Sort by and a click on a header sort by Name, Roots, Runs, Checks, Launches and Last opened, in both directions. Only the sorted header shows an arrow and has aria-sort. Default gives the first order back. Rename and the Roots dialog still work after a sort.
  • The sidebar has a Workspaces link and no workspace tree.
  • Icon buttons have an accessible name and a tooltip.

Dependencies and related

Activity

  1. added
    enhancementNew feature or request
    P2Planned: limited in scope, has a way around it, or a missing feature
    on Nov 17, 2026
  2. added theissue type on Nov 17, 2026
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

    P2Planned: limited in scope, has a way around it, or a missing featureenhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions