Skip to content
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

Ability to switch themes from the debug toolbar #55

Open
pamil opened this issue May 7, 2020 · 0 comments · May be fixed by #117
Open

Ability to switch themes from the debug toolbar #55

pamil opened this issue May 7, 2020 · 0 comments · May be fixed by #117
Assignees

Comments

@pamil
Copy link
Contributor

pamil commented May 7, 2020

Similar to what Sylius does with the channel toolbar.

What to do?

  • decorate ChannelContextInterface service in the dev env
  • if there's GET parameter / COOKIE set, force context to return a given theme
  • if there's GET parameter and not COOKIE, set a COOKIE
  • if there's empty GET parameter, erase a cookie
  • if there's no GET parameter and no COOKIE, use decorated context
@Roshyo Roshyo self-assigned this Mar 21, 2022
@Roshyo Roshyo linked a pull request Mar 24, 2022 that will close this issue
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 a pull request may close this issue.

2 participants