Skip to content

[QoL] Add Collapse Button to Sidebar History Panel (#6222) #6489

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

amarnathgupta
Copy link

@amarnathgupta amarnathgupta commented Jul 7, 2025

Hi @sestinj, I noticed this issue and found it a good fit to contribute.
I went ahead and implemented the collapse/expand functionality for the history sidebar.

Let me know if any changes are needed. Happy to tweak things as required.
Thanks! 🙌

Fixes #6222


Summary by cubic

Added a collapse/expand button to the history sidebar, letting users hide or show the panel as needed. This makes the sidebar more flexible and saves screen space.

@amarnathgupta amarnathgupta requested a review from a team as a code owner July 7, 2025 15:03
@amarnathgupta amarnathgupta requested review from RomneyDa and removed request for a team July 7, 2025 15:03
Copy link

netlify bot commented Jul 7, 2025

👷 Deploy request for continuedev pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 30f64c5

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Jul 7, 2025
Copy link

github-actions bot commented Jul 7, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@amarnathgupta
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

@RomneyDa
Copy link
Collaborator

RomneyDa commented Jul 9, 2025

@amarnathgupta it looks like some tests are failing!

RomneyDa
RomneyDa previously approved these changes Jul 11, 2025
@github-project-automation github-project-automation bot moved this from Todo to In Progress in Issues and PRs Jul 11, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jul 11, 2025
@RomneyDa
Copy link
Collaborator

@amarnathgupta note looks like prettier tests are failing, you can add the prettier extension and enable format on save and then save gui/src/components/History/index.tsx or do npx prettier --write gui/src/components/History/index.tsx

@amarnathgupta
Copy link
Author

amarnathgupta commented Jul 12, 2025

@RomneyDa Thanks for pointing out the Prettier failure. I’ve run Prettier and committed the changes. The build should be green now. Let me know if you need anything else! ✌️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

[QoL] Button to collapse sidebar history in VS Code
2 participants