Problem/Motivation
Toolbar is being removed from core.
Steps to reproduce
Proposed resolution
- Move library overrides for Toolbar from Claro and Default Admin to Toolbar.
- Also the testing of it from system module should move.
- CSS files need to move.
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|
Issue fork drupal-3614955
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:
- 3614955-move-library-overrides
changes, plain diff MR !16555
Comments
Comment #3
gábor hojtsyAdded MR with changes proposed. Also turns out default_admin was referring to a CSS file it did not even ship :) So we are fixing that as a side effect.
Comment #4
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #5
gábor hojtsyComment #6
smustgrave commentedTest failure in Drupal\Tests\toolbar\Functional\ToolbarClaroOverridesTest seems related.
Maybe the part that was removed from core/themes/claro/claro.info.yml needs to be added to Toolbar? I think it was you who showed me the trick of detecting the theme and loading the css for that, so maybe this needs new library definitions for that?
Comment #7
gábor hojtsyNo it was a double directory name. Fixed :)
Comment #8
smustgrave commentedOh nvm :) All green.
Comment #9
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #10
gábor hojtsyAuto-rebased without conflicts so I don't know where is the bot getting the unable to apply :)
Comment #11
gábor hojtsyAdding tag as depreacting Toolbar is a 11.5 release priority.
BTW there are odd CSS changes in the MR,
remtopxchanges, those were all generated by thepcsstocsstooling by me, but I am not aware why they need to happen. I assume the css was done prior to recent coding standards updates that are now enforced.Comment #13
catchCommitted/pushed to main and 11.x, thanks!
Comment #16
godotislateMoving toolbar.icons.theme.pcss.css from the themes to a module makes those files get excepted from the pixels to REM conversion.
See https://git.drupalcode.org/project/drupal/-/blob/main/core/scripts/css/c...
Comment #17
godotislateOops, cross posted.