Skip to content

[P6.7.3] Frontend polish: AlertDialog for session end, consistent no-workspace UI, dead ComingSoon branch #653

Description

@frankbria

Problem

Assorted low-priority frontend polish items found during the audit (none block beta):

  1. Native window.confirm for a destructive action instead of the project's AlertDialog (used everywhere else, e.g. BatchExecutionMonitor stop/cancel) — web-ui/src/components/sessions/SessionCard.tsx:22 ('End this session?').
  2. Inconsistent "no workspace selected" UI/ and /costs render the full WorkspaceSelector; /proof, /review, /execution render a small "Return to Workspace" link. Same state, two UIs.
  3. Dead ComingSoon() branchweb-ui/src/app/settings/page.tsx:215 (rendered at line 158) is effectively unreachable leftover scaffolding.
  4. useMemo/useCallback dep churnStressTestModal.tsx:75 and GitHubIssueImportModal.tsx:94 create fresh array literals each render, so memos recompute every render (wasted work, flagged by lint).

Fix

  • Replace window.confirm with AlertDialog.
  • Standardize the no-workspace state on one component.
  • Remove the dead ComingSoon branch.
  • Stabilize the array literals feeding the memo deps.

Acceptance criteria

  • Session end uses AlertDialog.
  • Consistent no-workspace UI across pages.
  • Dead ComingSoon branch removed.

Source: release-readiness audit 2026-06-13 (frontend agent). Polish — safe to defer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3-post-betaLow priority - can wait until after beta (v2.0)phase-6.7Phase 6.7: Frontend/UX hardening (post-beta-tag)ux

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions