Skip to content

Conversation

@roaga
Copy link
Member

@roaga roaga commented Dec 5, 2025

Replaces the hamburger menu with a small top bar with buttons. This addresses feedback that the actions were hard to discover. Slash commands are still supported and the position of any menus changes to match whether you used the button or the slash command

Screenshot 2025-12-05 at 8 54 41 AM

Closes AIML-1953

@roaga roaga requested a review from aliu39 December 5, 2025 16:58
@roaga roaga requested a review from a team as a code owner December 5, 2025 16:58
@linear
Copy link

linear bot commented Dec 5, 2025

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Dec 5, 2025
@roaga roaga requested a review from aliu39 December 5, 2025 22:32
<Button
ref={sessionHistoryButtonRef}
icon={<IconTimer />}
onClick={() => onSessionHistoryClick(sessionHistoryButtonRef)}

This comment was marked as outdated.

Comment on lines 217 to 219
const panelRect = anchorElement
.closest('[data-seer-explorer-root]')
?.getBoundingClientRect();

This comment was marked as outdated.

@roaga roaga merged commit 5bfd01c into explorer/questions-tool-ui Dec 5, 2025
39 of 40 checks passed
@roaga roaga deleted the explorer/top-bar branch December 5, 2025 22:49
isSessionHistoryOpen: boolean;
onFeedbackClick: () => void;
onNewChatClick: () => void;
onSessionHistoryClick: (buttonRef: React.RefObject<HTMLElement | null>) => void;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Type signature mismatch for unused callback parameter

The onSessionHistoryClick prop is typed to accept a buttonRef parameter, and the button's onClick handler passes sessionHistoryButtonRef to it. However, the actual function passed from explorerPanel.tsx (openSessionHistory) takes no parameters and completely ignores the ref. The interface signature is misleading and the passed argument is never used.

Additional Locations (1)

Fix in Cursor Fix in Web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants