Skip to content

Thread UX phase four: contextual inspector without losing manual tab choices #1352

Closed

Description

@currentbits

Continue the approved thread/app UX audit (docs/audits/2026-09-24-thread-ux.md) after phases1–3. Current base38770cb8 on codex/thread-worker-ux.

Concrete gaps: AgentsPanel owns its tab locally and unmounts on desktop collapse, losing Memory/Skills choices. The lasting focusAgentsTabNonce seeds Agents on every later remount after one Workers click. Returning from a Pulse route can leave Pulse selected beside a thread. Make context useful without taking control away from the user.

Plan:

  • Grok worker: preserve inspector selection across collapse, use existing crew/workflow semantics for default Team context, retain Environment for ordinary tasks/review and Pulse for operational destinations. Explicit Workers wins only when invoked; stream updates never override a manual choice. Keep collapsed-by-default and narrow drawers.
  • Give the existing inspector tab strip correct keyboard/ARIA behavior and keep labels reachable. Reuse existing contents/handlers; no new dashboard, backend schema, persistent settings or motion library.
  • Root review: targeted/full renderer checks, build/typecheck and isolated Electron keyboard/context/collapse/narrow checks. Present one landing choice after review, then verify approved integration.

Scope is the existing inspector selection/tab strip. No release/install, icons-only sidebar, or narrow thread-header work (already offered separately). No live project data or actual provider execution needed.

Activity

  1. added
    plan:todo
    plan:doing
    and removed
    plan:todo
    on Sep 24, 2026
  2. currentbits commented on Sep 24, 2026

    @currentbits
    OwnerAuthor

    Baseline reproduced in isolated native Electron at38770cb8 using synthetic data: select Memory, collapse/reopen → Environment; click Workers, collapse, select unrelated ordinary thread, reopen → Agents. Grok worker f2f26037-5ed7-4638-8487-17c4012e676f is implementing t11; root has prepared the native context/collapse/route/keyboard fixture for review. No live project data or provider execution used.

  3. currentbits commented on Sep 24, 2026

    @currentbits
    OwnerAuthor

    The initial Grok run remained working for over ten minutes without edits, progress beyond initial tracing, or an input/permission request. Stopped and resumed the same worker with a shorter implementation prompt; no work was lost. Native review fixture and baseline reproductions are ready. Scope unchanged.

  4. currentbits commented on Sep 24, 2026

    @currentbits
    OwnerAuthor

    Grok initial implementation committed as f0500402. Full combined renderer suite: 2,625 passed. Build/typecheck passed on the initial production patch. Review found and the commit fixed DOM event forwarding through Workers and stale no-op tab focus requests. A final follow-up is removing route-project key semantics that did not match the actual inspector project data. Native desktop/narrow review continues; branch remains unmerged.

  5. currentbits commented on Sep 24, 2026

    @currentbits
    OwnerAuthor

    Phase four review is complete at worker tip aaf96e78 on coder/fork-this-is-a-persisetent-issue-when-us-f2f260. Manual inspector choices survive collapse and route changes, context defaults follow crew/workflow or ordinary/review/operational views, and the tabs have native keyboard and ARIA behavior. Review removed a project-key mismatch and fixed Workers click/focus edge cases.

    Validation: 2,625 renderer tests passed at the initial reviewed tip; final build/typecheck and 96 targeted checks passed after the project-key fix. All four changed files match the final tip. Final isolated Electron desktop dark and narrow light/reduced-motion runs passed, with screenshots inspected. Fixtures use synthetic data, not live project transcripts.

    Review committed as 4e740a75: docs/audits/2026-09-24-thread-ux-phase4-review.md. Presenting the user one merge-or-PR decision for destination codex/thread-worker-ux. Not merged; keeping this issue doing until landing.

  6. added
    plan:done
    and removed
    plan:doing
    on Sep 24, 2026
  7. currentbits commented on Sep 24, 2026

    @currentbits
    OwnerAuthor

    Merged with explicit user approval into codex/thread-worker-ux as 1b80fd03. All four landed files match reviewed worker tip aaf96e78 byte for byte. Post-merge production build/typecheck and all 96 targeted checks passed; the worker worktree was cleaned up. Review and original audit status updated in docs/audits/2026-09-24-thread-ux-phase4-review.md and docs/audits/2026-09-24-thread-ux.md. All four UX phases are now merged locally. No release has been published or installed.

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

    plan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions