Skip to content

fix: toggle switch marker styling #6627

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

Merged
merged 2 commits into from
Jul 17, 2025
Merged

Conversation

uinstinct
Copy link
Contributor

@uinstinct uinstinct commented Jul 15, 2025

Description

The marker inside the toggle switch seemed to be little out of position. This PR corrects its position to some degree.

Checklist

  • [] I've read the contributing guide
  • [] The relevant docs, if any, have been updated or created
  • [] The relevant tests, if any, have been updated or created

Screenshots

previous
image

now

image

Tests

[ What tests were added or updated to ensure the changes work as expected? ]


Summary by cubic

Fixed the toggle switch marker alignment and added a Help Center option to view the current session's history as a JSON file.

  • UI Improvements
    • Adjusted toggle switch marker position for better alignment.
    • Added "View current session history" in Help Center to open the session file for troubleshooting.

@uinstinct uinstinct requested a review from a team as a code owner July 15, 2025 07:18
@uinstinct uinstinct requested review from RomneyDa and removed request for a team July 15, 2025 07:18
@uinstinct
Copy link
Contributor Author

To be in complete size sync with the switch, we might need to use variant sizing

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Jul 15, 2025
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Jul 15, 2025
@chezsmithy
Copy link
Contributor

Could we not just use a standard react slider button?

Copy link
Collaborator

@RomneyDa RomneyDa left a comment

Choose a reason for hiding this comment

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

Nice improvement to toggle styling
@chezsmithy will add a ticket to look into this

@github-project-automation github-project-automation bot moved this from Todo to In Progress in Issues and PRs Jul 17, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jul 17, 2025
@RomneyDa RomneyDa merged commit f06df57 into continuedev:main Jul 17, 2025
38 of 39 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Issues and PRs Jul 17, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Jul 17, 2025
@uinstinct uinstinct deleted the toggleswitch branch July 18, 2025 03:39
@sestinj
Copy link
Contributor

sestinj commented Jul 22, 2025

🎉 This PR is included in version 1.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm This PR has been approved by a maintainer released size:S This PR changes 10-29 lines, ignoring generated files.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants