-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Adding an option to hide themes #13723
Conversation
MAUT-10202 : Hide/Unhide themes
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 5.x #13723 +/- ##
============================================
+ Coverage 61.50% 61.53% +0.02%
- Complexity 34068 34098 +30
============================================
Files 2241 2241
Lines 101852 101930 +78
============================================
+ Hits 62647 62719 +72
- Misses 39205 39211 +6
|
A couple of questions:
|
Good questions
|
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.
From the UX perspective, that's a nice addition!
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.
LGTM!!
Thanks @escopecz for having this feature in core.
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.
On add/edit langing page I got error:
500 Internal Server Error - Key "visibility" for array with keys "name, key, config, dir, themesLocalDir" does not exist.
/html/app/bundles/CoreBundle/Resources/views/Helper/theme_select.html.twig:37 at
Other parts seems work properly.
…g it to the less file and running `grunt compile-less` to generated it to css properly
… themesLocalDir" does not exist."
@kuzmany I couldn't reproduce but I fixed it based on the error message you provided. I also noticed that the CSS class was added to libraries.css and not to any less file. So I fixed that too. It's not my code. I'm just pushing it to the community repo, so I'm not that familiar with 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.
@escopecz can we add a notification panel shown when user unhides a theme |
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.
Works properly 👍
Description:
Give user option to hide/unhide 'default' themes in the themes list page
Do no show these hidden themes in the Email/Page theme list
Update existing themes using migration
Steps to test this PR:
MAUT-10202:
public_html/themes
directory.MAUT-10140:
abc
already exists.fall-in-love-with-this-seasons-collection
will generate - beefree-fall-in-love-with-this-seasons-collection is the default theme and therefore cannot be overwritten.