Problem/Motivation
core/themes/admin/images/core/README.md:
## Purpose of this folder
Icons in this folder are copied from Drupal core. This folder with its content
should be removed before moving Claro to Drupal core. See
https://www.drupal.org/project/claro/issues/3045216 for details.
This folder was not removed before moving this theme to core.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3576497
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3576497-decide-what-to
changes, plain diff MR !15293
Comments
Comment #2
quietone commentedComment #4
quietone commentedMade an educated guess what to do here.
Comment #5
quietone commentedThis isn't correct. For the status page, it isn't using the error/warning/check svg it should be it seems to be using icons from migration/media/icons instead.
What is the way to fix that?
Comment #6
jurgenhaasThe current state of the MR is most likely conflicting with the CSS cleanup done by @mherchel and others over at #3582833: Consolidate, refactor, remove and untangle Claro's CSS from Default Admin theme which is close to get merged.
Then, when we get back to this one, let's define the scope of what we want to achieve first. Let me get started and when we have a common understanding, let's update the IS then.
The file
core/themes/admin/images/core/README.mdmentioned in the IS comes from Claro, not from Gin (or now default_admin). So, I guess Claro wanted to remove that folder before getting merged into core and then update their CSS to link to the core images instead of their own copy of them. And then for Gin, we've copied everything from Claro, so that we have an independent theme folder indefault_admin. As a result, we now have 3 identical copies of the same directory structure:core/misc/iconscore/themes/claro/images/corecore/themes/default_admin/images/coreLeaving Claro out, as it's not within scope for this issue, we should go through the following steps:
core/themes/default_admin/images/coreis also available incore/misc/iconsand delete them all in the theme folder. Should there be any missing file incore/misc/icons, this needs to be raised as an issue and we need to find out what to do about it.default_adminto reference those files incore/misc/iconsinstead of from the themeNot mentioned in the IS but in #5, there are also icons in
core/themes/default_admin/migration/media/iconsthat need to be addressed separately such that they should be deduplicated and moved over tocore/themes/default_admin/images/icons.Comment #7
mherchelClosing this as a duplicate of #3603162: Consolidate and cleanup media - icons, SVGs and others, where the work is occurring.
My thought is that we can clean up core's images in general, but we can do that in a followup if needed.