-
-
Notifications
You must be signed in to change notification settings - Fork 439
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
add OpenMage admin theme and theme switcher #1008
Conversation
Would you mind to add a screenshot? I would love to get an impression without installing it 😅 |
what i did not ask in my comment, is this a change for the 19.4 branch, because it is a non breaking change, or should it go to the 20.4 branch because is something new? At the 20.4 branch, i don't see progress at the moment? |
Looking great! Please make sure you include somewhere instructions on generating the CSS files from the SCSS files so that anyone may easily add updates and not have to figure out the tooling from scratch. A comment in the generated CSS file to prevent users from directly editing them would be good to avoid confusion. |
Forgot to address the branch question.. You have it on the right branch. How the version is tagged after this is merged I think I would defer to @Flyingmana. Upon upgrade it would be nice if this is the default skin as long as users can go back to the old one in case it breaks their extensions somehow. |
if there is no BC break, adding it to 1.9.4.x sounds good enough. Regarding 20.x , I need to add a note to merge the changes upstream and also do a release there <.< |
i have added a comment to prevent editing the css files. Also i have replaces a lot of old looking icons with svg versions - but still everything via css. From my point of view, that should be BC, but it has to be tested with the usual extensions. @colinmollenhour its allready build that way, the OpenMage theme is as standard theme, but the old legacy theme can be selected from backend. |
Any reasons not to go ahead and merge this? I loaded it up and tested it out and everything works well. |
Is the theme can be set per admin user? (in System / My account). |
i tested it myself in some customer installations without problems. From my side, it would be ready to merge. I will change the state! |
No, that is not a feature currently. |
no, its selected for all users, from my point of view, it should not be selectable by individual user. Its not the intension to open a complete new playground for X Admin themes with Y incompatibilites. Its meant to give OpenMage its own look and identity. But you could switch back if there are Problems with extensions. |
I'll test on saturday! There is no default config value for
.... and maybe rename it to |
app/design/adminhtml/default/openmage/template/forgotpassword.phtml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dont want to wait for last minor fixes.
as far as i can see, every mentioned issue is solved now? I will add optimisations in the future, but i think it should not block merging now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks okay to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work 👍
Not blocking, but ...
- i dont like the default yellow admin notifications :P
- "Global Record Search" results are displayed on full width (IMHO default width was bit to small, but full width ins't better)
anything i should change? I intended to stop any further development until this state is merged? |
Great work everyone! Please feel free to submit separate PRs for improvements. |
Could this be tagged as a minor release? I'd love to try it |
Oops, I didn't realize there was a 20.0 branch.. I just merged it into the 20.0 branch. @Flyingmana do you want me to revert it from 1.9.4.x? I'll leave the release strategy up to you. |
@colinmollenhour IMHO 1.9.4.x is correct ... (or is it clear what the 20.x branch is for?) |
After it is merged ... see my comment above ;) Thanks for your work 💯 |
@colinmollenhour |
After 12 years of using M1 it is difficult to ask people to adapt to other backend theme. We should be patience with everyone. This new theme should be a proposal not an imposition. Personally I will advice anyone to test it before using it. It could be a package installed by those who want it. Related to the style of the theme I agree we need a SCSS file to change easy the values. Many programmers are not UX designers. I suggest a limitation in using colors and please use a Color Wheel to choose correctly the color pallet. You may use Adobe Color Wheel from here: https://color.adobe.com/create/color-wheel. Or ColorImpact from here: https://www.tigercolor.com/. Probably the colors look OK for the eye but the brain could have some issues with the chosen ones. I would like to see a different logo for OpenMage to express an idea not an m with a text. This is a personal opinion and should be taken as such ... |
I would give as a inspiring idea for new admin theme release, the extension created by CMSmart Admin Theme for Magento 1 It has icons on the menu names and it can be set to be horizontal (like normal magento) and vertical (like magento 2). |
in addition to logo integration build a draft version of a new styled backend-theme for OpenMage. I think it is more and more important to show the ongoing development to the users. I would like this to be seen as a first step - a new Backend-Style mainly build by css changes on top of the old default/default admin theme to be as compatible as possible. I my mind, there should follow a second step, with a more up-to-date approach.
This PR consists of to parts, the theme switcher to switch from OpenMage Theme to the legacy Magento M1 theme, and the theme itself.
The theme itself supply only one phtml file to change the login, because that can not be done via layout files. For the themes CSS i used some parts from https://github.com/jreinke/magento-admin-theme and converted them to SCSS. I have replaces as many icons as possible to inline-SVGs.
Help with the styling would be very welcome!