Skip to content

Conversation

@michael-020
Copy link

Fixes: keploy/issues/2637

Description

Fixed theme inconsistency of editor at playground page, when dark mode of the editor was enabled and refreshed the theme switched back to light mode. I have fixed this issue by maintaining a consistent theme

Changes

I am storing the theme in localStorage to maintain consistency in theme. This approach ensures that the theme doesn’t switch back to light mode as it was happening previously.

Type of Change

  • Chore (maintenance, refactoring, tooling updates)
  • Bug fix (non-breaking change that fixes an issue)
  • New feature (change that adds functionality)
  • Breaking Change (may require updates in existing code)
  • UI improvement (visual or design changes)
  • Performance improvement (optimization or efficiency enhancements)
  • Documentation update (changes to README, guides, etc.)
  • CI (updates to continuous integration workflows)
  • Revert (undo a previous commit or merge)

Testing

  • Ensured the theme doesn’t switch when refreshed and stays consistent while navigating through other pages

Demo

Before:

Screen.Recording.2025-04-05.at.4.50.19.PM.mov

After:

Screen.Recording.2025-04-05.at.3.38.14.PM.mov

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added corresponding tests
  • I have run the build command to ensure there are no build errors
  • My changes have been tested across relevant browsers/devices
  • For UI changes, I've included visual evidence of my changes

Signed-off-by: Michael Hosamani <michaelhosamani26@gmail.com>
Signed-off-by: Michael Hosamani <michaelhosamani26@gmail.com>
@keploy-staging
Copy link

⚠️ Oops! We currently support Unit Test Generation only for Go projects.
Stay tuned – support for more languages is coming soon! 🚀

6 similar comments
@keploy-staging
Copy link

⚠️ Oops! We currently support Unit Test Generation only for Go projects.
Stay tuned – support for more languages is coming soon! 🚀

@keploy-staging
Copy link

⚠️ Oops! We currently support Unit Test Generation only for Go projects.
Stay tuned – support for more languages is coming soon! 🚀

@keploy-staging
Copy link

⚠️ Oops! We currently support Unit Test Generation only for Go projects.
Stay tuned – support for more languages is coming soon! 🚀

@keploy-staging
Copy link

⚠️ Oops! We currently support Unit Test Generation only for Go projects.
Stay tuned – support for more languages is coming soon! 🚀

@keploy-staging
Copy link

⚠️ Oops! We currently support Unit Test Generation only for Go projects.
Stay tuned – support for more languages is coming soon! 🚀

@keploy-staging
Copy link

⚠️ Oops! We currently support Unit Test Generation only for Go projects.
Stay tuned – support for more languages is coming soon! 🚀

@keploy-staging
Copy link

Nice Pr 😄. We currently support Unit Test Generation only for Go projects.
Stay tuned – support for more languages is coming soon! 🚀

2 similar comments
@keploy-staging
Copy link

Nice Pr 😄. We currently support Unit Test Generation only for Go projects.
Stay tuned – support for more languages is coming soon! 🚀

@keploy
Copy link

keploy bot commented Apr 15, 2025

Nice Pr 😄. We currently support Unit Test Generation only for Go projects.
Stay tuned – support for more languages is coming soon! 🚀

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug]: Theme Inconsistency at /playground – Reverts to Light Mode Unexpectedly

1 participant