Skip to content

fix: Remove collapse button#3904

Merged
maciaszczykm merged 1 commit into
masterfrom
marcin/prod-5069-improve-ux-of-right-side-panel-closing-and-opening
Jul 24, 2026
Merged

fix: Remove collapse button#3904
maciaszczykm merged 1 commit into
masterfrom
marcin/prod-5069-improve-ux-of-right-side-panel-closing-and-opening

Conversation

@maciaszczykm

Copy link
Copy Markdown
Member

Plural Flow: console

@maciaszczykm
maciaszczykm requested a review from a team July 23, 2026 14:51
@linear

linear Bot commented Jul 23, 2026

Copy link
Copy Markdown

PROD-5069

@soffi-ai

soffi-ai Bot commented Jul 23, 2026

Copy link
Copy Markdown

Soffi AI Summary

This PR removes the collapse/expand toggle button for the actions panel from the AI Chatbot header. The button, which used a HamburgerMenuCollapseIcon to toggle actionsPanelOpen state, has been deleted along with its associated state references (actionsPanelOpen and setActionsPanelOpen) from the ChatbotHeader component. This simplifies the chatbot header UI, likely because the actions panel collapse behavior is being removed, replaced by a different interaction model, or was deemed unnecessary.

Commits

Commit Summary
45b565a Removes the actions panel collapse toggle button from the AI chatbot header, along with its icon import and associated state bindings (actionsPanelOpen, setActionsPanelOpen).

Deploy in Soffi


Updated: 2026-07-23 14:51 UTC

@greptile-apps

greptile-apps Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR removes the manual collapse button for the actions panel from the chatbot header. The actionsPanelOpen/setActionsPanelOpen state in AIContext and its usage in ChatbotActionsPanel are untouched — the panel already auto-manages its open state via a useEffect that sets it based on whether relevant data exists, so the toggle button was functionally redundant.

Confidence Score: 5/5

Safe to merge — the change is a targeted removal of a UI element with no broken references or side effects.

The diff removes three things — an import, two context destructured values, and the JSX block that rendered the collapse button. The underlying state (actionsPanelOpen/setActionsPanelOpen) remains in AIContext and is still consumed correctly by ChatbotActionsPanel, which drives the panel open/close automatically. Nothing is left dangling.

No files require special attention.

Important Files Changed

Filename Overview
assets/src/components/ai/chatbot/ChatbotHeader.tsx Removes the HamburgerMenuCollapseIcon import, the actionsPanelOpen/setActionsPanelOpen context destructuring, and the collapse button JSX — leaving no residual references; the actions panel state remains intact in AIContext and is still consumed by ChatbotActionsPanel.

Reviews (1): Last reviewed commit: "remove collapse button" | Re-trigger Greptile

@michaeljguarino michaeljguarino added the enhancement New feature or request label Jul 23, 2026
@maciaszczykm
maciaszczykm merged commit 482ef87 into master Jul 24, 2026
14 of 15 checks passed
@maciaszczykm
maciaszczykm deleted the marcin/prod-5069-improve-ux-of-right-side-panel-closing-and-opening branch July 24, 2026 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants