Skip to content

refactor(frontend): delete orphaned views/enterprise/Sessions.vue left by the Sessions-page retirement #2132

Closed

Description

@trinity-ability

Found while validating #2120.

ent#381 retired the standalone Sessions page: NavBar.vue lost its entry and the /sessions/:roomId? route became a redirect into the Workspace. The component it used to render was left behind:

$ git show origin/dev:src/frontend/src/views/enterprise/Sessions.vue | wc -l
     ...   # still present
$ git grep -n "enterprise/Sessions" -- src/frontend/src src/frontend/e2e
     # no importers

Nothing imports it. Its only surviving reference is a stale entry in the raw-color ratchet:

src/frontend/raw-color-baseline.json:711:    "src/frontend/src/views/enterprise/Sessions.vue": {

Dead Vue is mildly costly in three ways: it is a plausible-looking file someone can edit for hours before noticing nothing renders it; it keeps a raw-color budget alive for a file that can never improve, which is exactly the kind of entry the ratchet is meant to shrink; and it makes git grep for room UI return a surface that no longer exists.

Fix

Delete src/frontend/src/views/enterprise/Sessions.vue and its raw-color-baseline.json entry.

Check first whether any sibling under views/enterprise/ became unreferenced in the same change.

Acceptance criteria

  • File deleted, baseline entry removed
  • node src/frontend/scripts/scan-raw-colors.mjs src/frontend passes (per-file counts may only shrink — a removed file is the limit case)
  • npx vitest run and the frontend build stay green
  • No remaining reference in src/, e2e/, or docs

Related: #2120, abilityai/trinity-enterprise#381

Activity

  1. added
    priority-p3
    type-refactor
    theme-devex
    complexity-low
    on Aug 12, 2026
  2. added a commit that references this issue on Aug 12, 2026
  3. added a commit that references this issue on Aug 12, 2026
  4. added
    status-in-dev
    on Aug 12, 2026
  5. removed
    status-in-dev
    on Aug 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

    complexity-lowpriority-p3theme-devextype-refactor

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions