-
Notifications
You must be signed in to change notification settings - Fork 0
fix: remove operator digest panel, bump v1.3.1 #242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,9 @@ | ||
| import { useState } from 'react' | ||
| import { StatsBar } from './StatsBar' | ||
| import { AgentCard } from './AgentCard' | ||
| import { ToastStack } from './Toast' | ||
| import { CelebrationDeck } from './CelebrationDeck' | ||
| import { SoloOperatorPanel } from './SoloOperatorPanel' | ||
| import { useAgentStore } from '../store/agents' | ||
|
|
||
| export function HUD() { | ||
| const [digestOpen, setDigestOpen] = useState(true) | ||
| const hasSelectedAgent = useAgentStore((s) => s.selectedAgentId !== null) | ||
|
|
||
| return ( | ||
|
Comment on lines
6
to
7
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Removing the digest panel here also removes the only UI path that calls Useful? React with 👍 / 👎. |
||
| <div className="absolute inset-0 pointer-events-none z-10"> | ||
| {/* Top bar */} | ||
|
|
@@ -38,46 +32,6 @@ export function HUD() { | |
| <CelebrationDeck /> | ||
| </div> | ||
|
|
||
| {/* Bottom-left operator digest — offset right when AgentCard is visible */} | ||
| <div | ||
| className="absolute bottom-4 pointer-events-auto" | ||
| style={{ left: hasSelectedAgent ? 332 : 16 }} | ||
| > | ||
| {digestOpen ? ( | ||
| <div | ||
| style={{ | ||
| maxHeight: 'calc(100vh - 80px)', | ||
| overflowY: 'auto', | ||
| scrollbarWidth: 'thin', | ||
| scrollbarColor: 'rgba(89,86,83,0.3) transparent', | ||
| }} | ||
| > | ||
| <SoloOperatorPanel onClose={() => setDigestOpen(false)} /> | ||
| </div> | ||
| ) : ( | ||
| <button | ||
| type="button" | ||
| onClick={() => setDigestOpen(true)} | ||
| style={{ | ||
| width: 36, | ||
| height: 36, | ||
| borderRadius: 10, | ||
| border: '1px solid rgba(89,86,83,0.25)', | ||
| background: 'linear-gradient(180deg, rgba(17,18,17,0.9), rgba(10,10,10,0.85))', | ||
| color: '#9A9692', | ||
| fontSize: 16, | ||
| cursor: 'pointer', | ||
| display: 'flex', | ||
| alignItems: 'center', | ||
| justifyContent: 'center', | ||
| }} | ||
| title="Open operator digest" | ||
| > | ||
| ☰ | ||
| </button> | ||
| )} | ||
| </div> | ||
|
|
||
| {/* Toast notifications */} | ||
| <ToastStack /> | ||
| </div> | ||
|
|
||
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Persisted non-default focus mode now permanently stuck
Medium Severity
Removing
SoloOperatorPaneleliminates the only UI that callssetOfficeFocusMode, butofficeFocusModeis still persisted in localStorage and actively used byOffice.tsxto filter which agents appear in the 3D scene viafilterAgentsForOfficeFocus. Existing users who previously set the mode to'show-errors'or'changed-files'will be permanently stuck with that filter — potentially hiding all agents from the office view — with no way to change it back.