-
-
Notifications
You must be signed in to change notification settings - Fork 436
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
Remove "default" themes from 20.x #1600
Conversation
This pull request fixes 17 alerts when merging 2485d0d into 46ebf30 - view on LGTM.com fixed alerts:
|
I agree. Relics from the time when the design was not responsive. PS - /errors directory should be revised too. |
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.
I approve since these themes are incredibly old (e.g. IE6 support) and in the off chance someone wants them they can just grab the files from the repo.
@luigifab was your frontend set to use the default? because the new installations have RWD by default if I didn't get everything wrong when I tested it. |
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.
No, it was set to my dev website very long time ago.
I see this PR as merged but I would like to clarify a potential issue that could appear. As you know OM is shipped with
Most of the themes on the market are requesting installations into this directory. If a file is missing from theme Magento fallback will solve the issue and will search in /frontend/default/default then in frontend/base. If we remove /default/default directory are we creating any errors with fallback model? |
Yes, these themes will possibly break then. |
if they use themes so old for sure they're not using composer and so they
won't lose the directories and so won't have problems.
also, we can't think of having rhose ugly unmaintained themes forever,
we're talking about the 20.x branch here.
Il Dom 16 Mag 2021, 20:11 Daniel Fahlke ***@***.***> ha
scritto:
… Yes, these themes will possibly break then.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1600 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAG6DLYTUVJZQL5ORSXKCPTTOAKHZANCNFSM44F5LKJA>
.
|
@Flyingmana: In this case we should remove only /blank, /modern and /iphone directories in /app/designfrontend/default. Also, blank, blue, french, german, iphone, modern directory in /skin/frontend/default. @fballiano : It is just a matter of fallback model in Magento. OM should keep backward compatibility related to default folder for old themes installed in /frontend/default directory. Please note that although OM wants to be a better Magento it is doomed to work with old products such as themes and extensions. What we do through OM is just to dress the code, to add facilities, but 99% of the people who are using the platform adapt it to their own needs using this "old stuff". An eloquent phrase says "If it ain't broke, don't fix it". |
sorry but i don't agree, the default theme is ugly and has to go. backwards
compatibility up to a certain point (theres the 19.x branch for that).
otherwise we'd have to support php5.6
Il Dom 16 Mag 2021, 20:42 ADDISON ***@***.***> ha scritto:
… @Flyingmana <https://github.com/Flyingmana>: In this case we should
remove only /blank, /modern and /iphone directories.
@flaliano: It is just a matter of fallback model in Magento. OM should
keep backward compatibility related to default folder for old themes
installed in /frontend/default directory. Please note that although OM
wants to be a better Magento it is doomed to work with old products such as
themes and extensions. What we do through OM is just to dress the code, to
add facilities, but 99% of the people who are using the platform adapt it
to their own needs using this "old stuff".
An eloquent phrase says "If it ain't broke, don't fix it".
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1600 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAG6DL7ZC4ZUGTFMLBR3BMTTOANZTANCNFSM44F5LKJA>
.
|
@addison74 would a solution for you be to have a new package on openmage github with these old themes? |
@tmotyl: I think my original post was misunderstood. I did not mean to allow myself to continue using old themes from this directory If I install a theme called Luna in the directory This PR deletes the default directory and I asked to evaluate if deleting it could affect this fallback. I did a simulation by renaming the directory and nothing happened. But I did not check if there were any errors in the logs and the page load time was longer. |
This PR removes app/design/frontend/default and skin/frontend/default.
Those themes are very old, not good looking and nobody (who keeps magento somewhat updated) is using them.
With this PR we delete almost 580 (useless) files from the repository.
Fixed Issues
Manual testing scenarios (*)
Just browse a new installation and see that the RWD theme (the default since some time) doesn't need the old "default" ones to work.
Questions or comments