Skip to content

Conversation

@johnhughes1984
Copy link
Member

@johnhughes1984 johnhughes1984 commented May 15, 2025

Closes #7 #8

See the issue for the rationale. Additional notes below.

This PR specifically aids us at Hyvä in regard to building our own admin theme for Hyvä Commerce using the M137 theme as a base, but we felt it may be useful for others, too, so we wanted to contribute back here. If it's not something you want included in this module, we're happy to implement this for our own needs internally instead.

I'm also aware that removing and replacing the existing configuration option with a new select-based option should be considered a major breaking change. However, as the new config option also defaults to the Mage-OS M137 Admin Theme, the only users who would be impacted are those who have already installed the theme but then disabled it, which I believe is likely to be very few people at this stage. Disabling it again is not difficult, nor does it affect business logic. At worst, it may be a minor annoyance. Open for further discussion or approaches that could mitigate this further.

I noticed a couple of small issues I've resolved in this PR (see #8), if you'd prefer these are moved in a separate PR, let me know.

Co-authored-by: Ryan Hoerr <rhoerr@users.noreply.github.com>
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.

Feature enhancement: allow choosing the active admin theme via dropdown select in config

5 participants