Commit credit: Add mdrummond, davidhernandez
Problem/Motivation
Stable exists but is not yet stable (no snapshot of markup, CSS, etc. yet).
Why this should be an RC target
Before RC we added the Stable theme itself "underneath" themes with no base theme set. We need to copy templates, CSS, and related assets, and add library overrides so that people can start extending from Stable templates rather than core templates, and similar for libraries.
Proposed resolution
Copy templates, CSS and relevant image assets and use libraries-override to make it happen. Potentially add test coverage here or in a separate issue for certain scenarios: https://drive.google.com/open?id=1rHV4L67W5AIYvmBmovY4p87D4aPcJqn9MchKpY...
Making Classy inherit from Stable is separate: #2581443: Make Classy extend from the new Stable base theme but there may be some automated test fallout to deal with depending on what goes in first.
Because this is a large patch, here's what's going on (in order of the changes in the patch):
- Automated test for library overrides to ensure completeness
- Automated test for template overrides to ensure completeness
- Copy all the CSS, changing image paths as necessary
- Copy all the images, no changes
- Add all the libraries-override needed to stable's .info.yml
- Copy all the templates, with appropriate doc changes
Remaining tasks
Add tests to ensure we have all the Twig templates overridden.
Review!
User interface changes
Should be none.
API changes
Should be none.
Data model changes
n/a
| Comment | File | Size | Author |
|---|---|---|---|
| #136 | interdiff.txt | 611 bytes | star-szr |
| #136 | copy_templates_css-2575737-97.patch | 186.68 KB | star-szr |
| #98 | interdiff.txt | 730 bytes | star-szr |
| #98 | copy_templates_css-2575737-97.patch | 187.3 KB | star-szr |
| #97 | interdiff.txt | 1.4 KB | star-szr |
Comments
Comment #2
star-szrComment #4
joelpittetComment #7
star-szrI think we can soon use this issue to do all the template copying and such.
Comment #8
webchick#2575421: Add a Stable base theme to core and make it the default if a base theme is not specified is now in.
However, I believe we'll want to postpone this one until just after RC1 to ensure we get the very latest default markup.
Comment #9
star-szrYeah, we got pretty far on this so I'm hesitant to actually postpone but we certainly wouldn't want to commit anything until RC1. We should be able to check to make sure all our assets are up to date by using git log.
Comment #10
webchickOk sure, let's start now. :)
Comment #11
star-szrThanks @webchick just came to do that :)
Updated the IS. Making Classy inherit from Stable is happening separately at #2581443: Make Classy extend from the new Stable base theme so this issue should only be concerned about Stable itself if at all possible.
Comment #12
davidhernandezI'm thinking we should do this in two steps if possible, to make things easier to track and review. Do the assets in one patch and copy the templates in a separate issue?
Since there are so many things to move I'm worried about missing something small.
Comment #13
kevin morse commentedHi, I just installed rc1 to play around with it and got kind of confused by Classy and Stable and why one was missing a screenshot. That led me to this issue.
I gather you're aware that Stable is displaying a "no screenshot" screenshot right now? If so, sorry for the extra post. Thanks for all your hard work!
Comment #14
star-szrHi Kevin, thanks for the keen eye. We are aware and the plan is to hide these core base themes from the UI: #2574975: Allow (base-)themes to be excluded from the UI (e.g. blocks, Appearance).
Comment #15
star-szrWorking on this today.
Comment #16
star-szrHere's a new initial patch but this is based on commit 158d434 and many assets have been updated since then. The next patch will bring things at least more in sync and I'm going to try to come up with an automated way of verifying we have a complete set of assets.
Comment #18
star-szrHere's the missing libraries-override bits from stable.info.yml.
Comment #20
star-szrAt one point in #2575421: Add a Stable base theme to core and make it the default if a base theme is not specified I rebased/rerolled on top of commit 0e4c0f3 so that is the reference used here. Not much difference in terms of assets from 158d434, just 2 less JS file changes, it was a reroll for #2576037: "Sorry" in user-facing errors violates the User Interface Standards.
I'm attaching additional three "interdiffstat" files if anyone wants to compare the changes I'm making here with what actually happened in core. The only differences should be for test files and the one Twig template difference noted below.
Twig templates updated based on:
Interdiffstat note: The whitespace operator had already been updated in views-view-field.html.twig, that explains the slight discrepancy there.
CSS updated based on:
JS updated based on:
Libraries and library overrides updated based on:
Only system.libraries.yml needed to be updated for the addition of item-list.module.css.
Also, I removed the file.theme.css library and override because the CSS file isn't there. A separate issue was created earlier to deal with it: https://www.drupal.org/node/2580049
Next up, some forms of automatic verification, and probably looking into the testbot fails.
Comment #21
star-szrReverting some changes for #2581443: Make Classy extend from the new Stable base theme to deal with.
Comment #22
star-szrAnd I think stable.libraries.yml is not needed at all with the approach we are taking but instead I need to pay more attention to the overrides!
Comment #23
star-szrWondering out loud whether we should consider copying assets referenced from CSS into Stable, like icons. These mostly just live in core/misc right now.
Comment #27
star-szrThis should fix the fail.
Comment #28
star-szrJust to give an update I've been working on an automated test to verify the library overrides, and I think we can do something similar for the template overrides and such.
Comment #29
star-szrHere's a work in progress, this makes sure core module JS assets are all overridden by Stable. This was tricky to get working as a kernel test, the key was to install Stable first before installing all the modules. I spent quite a chunk of time trying to get things to work the other way around.
Edit: I know some services are unused etc. :)
Comment #30
star-szrA couple new patches here, the first to demonstrate that the tests will catch problems. The second will not be green either but will have less fails. We can either special case #2580049: Removed CSS files not removed from library definitions and editor.css which needs an issue created (I'll do so shortly) or be blocked on those getting in.
If someone wants to review the tests now that would be great. Tagging for more tests and updating the IS because we could use some test coverage for making sure we have all the Twig templates.
Comment #31
star-szrComment #34
star-szrOkay we combined those two issues into one, thanks for the idea @nod_!
Comment #35
star-szrMaking things more expandable.
Comment #36
star-szrComment #37
davidhernandezWhy wouldn't we copy these to Stable?
Just a sanity check. Did we discuss the fact that module CSS, like from a contrib module, will now always load above core CSS? Since it is now coming from a theme it will always be group with the other theme CSS, but the modules won't.
Comment #38
star-szr@davidhernandez thanks, I brought that up in #23, I'm leaning towards copying them although there are still likely cases where paths would need to be adjusted.
Are you sure about the CSS loading thing? The way we are using libraries-override shouldn't the positions of the assets be preserved and therefore it wouldn't matter that the assets are actually in a theme? Maybe that needs an automated test.
Comment #40
davidhernandezAh, you are right. I did check that back on the other issue and it was working. I forgot.
Comment #41
rainbowarrayIf we haven't checked already, we should make sure that the last theme function conversions that got in have their templates in Stable. I think at least a couple went in after I had done the initial copying.
We should also make sure that the last two theme function conversions, if they get in, put a copy of their templates in Stable.
Comment #42
davidhernandezThank you for catching that. I just realized this needed to be done. We should also change the extends in the other themes. Seven and Bartik can be done later, but we should change any in Classy since those will get copied by people.
Comment #43
star-szr@mdrummond yup I checked pretty thoroughly in #20 when I updated all the changed/added/removed assets and we'll work on adding tests to verify that as well.
And yes, any new things that are added, bugs fixed etc. will need to happen in Stable. One thing we haven't done yet is in Stable's templates is change the top line to start with "Theme override…" and remove the @ingroup themeable.
I'm going to:
Comment #44
star-szr#2588289: Update Classy's Twig extends now that it extends from Stable
Comment #45
star-szrThere are two interdiffs here, one to show the image/CSS changes, the other to show the Twig template docblock changes. The tricky part is that in the diff now some templates will actually be copied from Classy because they are actually more similar now that the docblocks have been updated. So some parts of the diff look a bit weird (removing classes etc.) because of this. Unfortunately the patch is also quite a bit larger now.
I'm still open to the idea of splitting this because the CSS/JS/images/libraries + tests part needs review but the template part still needs tests, for example. But the committers might not want that split.
Notes:
I used this regex to search/replace the @file stuff:
I opened #2588373: Remove unused image files from core.
Comment #47
star-szrJust some cleanup for the library tests.
Comment #49
star-szrMore test futzing/fixing.
Comment #51
star-szrThis should definitely be reviewed by a JS maintainer. Unfortunately it copies a lot of JS and the idea is that bugfixes would need to be copied to Stable. Luckily as far as I know no changes would need to be made to those files.
Maybe we don't need to copy JS, or we can be more selective? I don't know.
Comment #52
wim leersTagging JavaScript to get nod_ to review this.
Duplicating all of core's JS seems an enormous maintenance burden, because it'll require fixing everything twice. Initially in the same way, but over time potentially even in two different ways.
That frightens me.
Comment #53
catchI really do not think we should be copying js here.
JS is logic, not presentation. And the specific logic of a js file does not imply a backwards compatibility break at all - it has a public API the same as PHP does.
If we have js changes we want to do that imply a backwards compatibility break, then we might need to figure out a way to handle bc there, but I don't think that would be via Stable theme - modules could equally be relying on core's js and a theme can't help them.
Comment #54
star-szrI'm fine with that, the JS part really hadn't been discussed that much.
Comment #55
star-szrHere's what that would look like. This also removes the
is_file()check because that will be run by the test added to #2580049: Removed CSS files not removed from library definitions anyway.Comment #56
wim leersThanks, that makes it much more maintainable — now I defer to strong CSS/markup people for reviewing this.
Comment #57
star-szrWe can also update the .info.yml of Stable to take out "JavaScript"…
Comment #60
star-szrGoing to take a look at some tests for the template overrides.
Comment #61
star-szrHere are the template tests, they caught one missing template (status-report.html.twig). The first patch should show more fails.
I tried to get away with only enabling, not installing modules, but Views/Views UI does quite a lot in its hook_theme() implementations. So the test is a bit slow, but I don't know how else to do it. One other thing I tried was enabling all modules except Views ones and then only installing Views and Views UI but that didn't work out.
Despite the fact that this patch will still be red, it should turn green once #2580049: Removed CSS files not removed from library definitions is committed so reviews, please!
Comment #62
star-szrBetter assertion message.
Comment #67
star-szrCatching up with other changes.
Comment #69
star-szrNow that we have 0 theme functions 2 more templates needed to be copied to Stable.
Comment #70
star-szrReviews please! I think we have quite a reasonable amount of test coverage but of course those need review as well.
Comment #71
davidhernandezGoing back to an earlier suggestion, maybe we should split this up? I wanted to try to review it some over the weekend, but after looking over the patch I realized I didn't have a big enough block of time. To thorough go over everything I'm thinking a 4-6 hour block of time is needed, which I can't do in one night.
Comment #72
star-szrWorth considering, thanks @davidhernandez. For now here is the patch split by library/CSS/image changes and template changes (and their accompanying tests). If we get the go-ahead from a core committer then we can split this issue into two.
For now we can review the patches separately, they don't conflict at all so it's not a big deal to maintain it like this, whether on this issue temporarily or on separate issues to be committed separately.
No changes, just splitting.
Comment #73
star-szrBreaking down the patch in the issue summary.
Comment #74
davidhernandezStarted looking over the templates patch.
Confirmed that I find 146 templates in core and the same number moved in the patch.
Confirmed that all templates are moved to Stable and appear to be in the correct folders based on the Classy organization of subfolders.
Note that these patches do not set Stable as a base for Classy. "base theme: false" needs to be removed in Classy's info file. There is another issue to work on this part.
But I also noticed that Stable is not installed as part of the default install profile. Will that be changed? Without it installed if someone tries to create a theme but does not set the base theme to false they will get a white screen with a theme initialization error. Thats bad TX/DX.
Starting to look at the individual templates now and verify that template inheritance and everything else is working. I'll likely continue this tomorrow.
p.s. What is views-view-mapping-test ?
Comment #75
davidhernandezLooking good so far, will try to continue tomorrow.
aggregator: good
block: good
block content: good
book: good
ckeditor: good
color: good
comment: good
config translation: good
field ui: good
file: good
filter: good
forum: good
image: good
language: good
link: good
locale: good
node: good
rdf: good
responsive image: good
search: good
simple test: good
Comment #76
star-szrThanks! Steps to reproduce the theme initialization error would be helpful, because when installing the sub theme we *should* be installing any dependencies as well. If that doesn't work that problem is bigger than Stable I think.
I don't remember what views mapping test is.
Comment #77
davidhernandezFresh install, Stable is not installed.
Install custom theme with no base theme setting defined.
Works, Stable gets installed.
Fresh install, Stable not installed.
Remove base theme setting from Classy, or set it to false.
Refresh homepage and get theme initialization error.
So that is less problematic than I thought. It looks like that works correctly when installing the theme. We may just need some documentation around that, since I imagine people will play around while making a theme and not realize they may have to reinstall when changing that setting. But, I assume Stable will be installed by default anyway since we'll have Classy depend on it.
Playing around some more I see the dependency checking is working correctly. I get an uninstall option based on whether any of the other themes are depending on it or now.
Comment #78
davidhernandezsystem: good
taxonomy: good
toolbar: good
update: good
user: good
views: good
views_ui: good
As far as copying the all the templates, everything looks good. I want to check all the include/extend/etcs in any files and do some testing with the inheritance and BC, but so far so good.
Comment #79
star-szrThank you @davidhernandez!
Checking to see if anything needs updating since 15d0695. Commit hash based on #67. I also dug through the logs in a similar manner and didn't find any surprises. The patches don't need to be updated based on core changes.
No changes needed here, the latest patch(es) copy these files correctly, all is well.
Nothing to do.
Edit: Oops did a Markdown thing. Fixed.
Comment #80
star-szrComment #81
star-szrSo this does need a slight reroll after #2574975: Allow (base-)themes to be excluded from the UI (e.g. blocks, Appearance). got committed. The template patch doesn't need to change so please see #72 for that.
Comment #82
davidhernandezI checked all the include/extends/import/macro etc I could find. All seem fine.
The only thing that stands our to me is the extend in block--local-actions-block.html.twig
{% extends "@stable/block/block.html.twig" %}We should be able to just extend block.html.twig directly, no? Or does that mean that if someone were to override block.html.twig but not to local actions block that it would use their theme's modified block template. That might be a problem, and the solution would be to specify Stable's template as it is doing. But, if that is the case, we may want to do that with the other extended templates as well. The other ones are not specifying Stable.
I'll try to test that. Otherwise, I'd call the template patch RTBCable.
Comment #83
davidhernandezTested that. So, yeah, it properly uses the suggestions so if we leave it as:
{% extends "block.html.twig" %}it will use the block template that is in your custom theme instead of the Stable template. We should make sure that makes sense, because if you override the block template, but not the system branding template, you can break the system branding one.
Comment #84
star-szrYeah I'm not sure on that, we could check back to when that was added. Maybe that could be followup. Thanks!
Comment #85
davidhernandezLooking through the libraries now. Checking before and after of asset ordering. For the most part, the replacement of core/modules files with Stable versions is working perfectly.
Here is one thing I noticed did change while viewing a page logged in. I'm using a custom theme.
Before:
After:
Seven's quickedit.css moved position.
Seven has this in the info file
I think this is one of those special snowflake settings like adding ckeditor stylesheets in the info file, so I'm not sure how this gets handled when all the libraries are processed.
Comment #86
davidhernandezI'm noticing that this does not override libraries that are JS only. Is that intentional? Things are like drupal.js, drupa.ajax library, etc are missing.
Comment #87
star-szrFor #85 we may need to think about using dependencies more with CSS libraries, right now a lot of these dependencies are not declared - if Seven's quickedit CSS does not rely on being loaded after the core stuff then it's fine, but if it does arguably it should be explicit about that.
As for JS yes that is intentional, see the discussion from around #51 to #56.
Comment #88
davidhernandezIt was decided not to include JS. Got it, thanks.
Regarding the quickedit stylesheet, I don't think you can explicitly declare a dependency since this is being added in info.yml not in a library. It may be that the code in the quickedit module needs to be modified to make sure CSS coming from info.yml come later. The same for CKEditor.
Comment #89
star-szrAh yes very good point :)
Comment #90
davidhernandezI'be been checking Bartik and as far as I can tell all the CSS links are coming out the same (The Seven quickedit still being the one exception.)
Comment #91
davidhernandezLooking at libraries. I'm checking each libraris.yml file and excluding ones that are JS only.
block
-drupal.block.admin: good
ckeditor
-drupal.ckeditor: good
-drupal.ckeditor.plugins.drupalimagecaption: good
-drupal.ckeditor.admin: good
color
-admin: good
config_translation
-drupal.config_translation.admin: good
content_translation
-drupal.content_translation.admin: good
contextual
-drupal.contextual-links: good
-drupal.contextual-toolbar: good
drupal core
-drupal.dropbutton: good
-drupal.vertical-tabs: good
One thing I noticed is that we could do the folder organization a little different when it comes to some of these subitems. For example, dropbotton is going into core/dropbutton but vertical tabs directly in core/. Also, drupalimgecaption going into that deep subdirectory. I know that is replicating the original structure, but other things have been changed so we don't have direct one-to-one everywhere.
Just an observation. For simplicity sake we may not make any changes, but I thought worth pointing out.
Comment #92
davidhernandezdblog
-drupal.dblog: good
field_ui
-drupal.field_ui: good
file
-drupal.file:
filter
-drupal.filter.admin: good
-drupal.filter: good
-caption: duplicate
There is a duplicate here. filter/caption is listed twice.
Comment #93
davidhernandezimage
-admin: good
language
-drupal.language.admin: good
locale
-drupal.locale.admin: good
menu_ui
-drupal.menu_ui.adminforms:
node
-drupal.node: good
-drupal.node.preview: good
-form: good
-drupal.node.admin: good
quickedit
-quickedit: good
shortcut
-drupal.shortcut: good
simpletest
-drupal.simpletest: good
system
-base: good
-admin: good
-maintenance: good
-diff: good
taxonomy
-drupal.taxonomy: good
toolbar
-toolbr: good
-toolbar.menu: good
tour
-tour-styling: good
update
-drupal.update.admin: good
user
-drupal.user: good
-drupal.user.admin: good
-drupal.user.icons: good
views
-views.module: good
views_ui
-admin.styling: good
That is all the libraries. The images/icons are the last thing on my list to verify.
Comment #94
star-szrRegarding #91 part of the reason the directory structure was kept uniform was so that we could have automated tests. If we start moving things around then we need to special case the tests for asset overrides. Otherwise I'd agree that things could be improved.
Attached should fix #82/#83 and #92, no other changes. Thank you very much @davidhernandez.
Comment #96
davidhernandezOne nitpick. I think it is better to delete the first instance of the caption library, not the second, to keep them in the same order as they are in the original filter library file.
Comment #97
star-szr#2581443: Make Classy extend from the new Stable base theme is in now, so bringing over some changes from there to make this greener.
Comment #98
star-szrAgreed on #96, I meant to check that. Fixed here.
Comment #99
davidhernandezImages
color
-hook: good
-hook-trl: good
-lock: good
contextual
-gear-select: This file is unused and needs to be deleted from core. There is an issue for it. https://www.drupal.org/node/2588373
quickedit
-icon-throbber: good
shortcut
-favstar: good
-favstar-rtl: good
user
-icon-user: same as gear select.
-icon-user-active: same as gear select.
views_ui
-arrow-active: same as gear select.
-close: same as gear select.
-expanded-options: same as gear select.
-loading: same as gear select.
-overriding: same as gear select.
-sprites: good
-status-active: same as gear select.
I think we also discovered Color module functionality for lock may be broken.
By my count there are 76 icons copied over, but only 54 references to them in Stable CSS. I'm assuming Cottser just copied over everything from the misc folder for completion sake maybe. I can't say anything is wrong with that, I just wanted to note it.
If the tests are green, and the couple things I mentioned are fixed which they look like they are in the latest, I think we're good. In an ideal world I'd like to do some more real world testing on this, but we are really limited on time. I also have yet to encounter any part of it that made me thing there was something that really needed more thorough examination. All in all, great work by Scott!
Comment #100
davidhernandezI approve of 97 and 98.
Comment #123
star-szrCalm down bots :)
I filed an issue for the color module weirdness.
Thank you very much for reviewing this @davidhernandez!
Comment #124
xjmDiscussed with @effulgentsia. I think this issue needs to be an RC target if it is a required part of #2588303: Stable base theme in core.
However, neither @effulgentsia nor I were entirely clear on why this is necessary or desirable, so it'd be good to get a clarification on that from either the subsystem maintainers or another committer who understands this plan better.
Comment #127
star-szrThis issue is to create a snapshot of our templates and other frontend assets for backwards compatibility. If we don't copy the templates, CSS, and such, there's not much point to having Stable in core IMO. Around the time of Barcelona we had discussed some potential ways of handling backwards compatibility without copying everything and explored some solutions there. However, because of the way that Twig templates can reference each other by namespace (a similar thing applies to libraries), only copying templates and assets to Stable when we change them in core is not viable, so we need to shift things over to Stable to actually make Stable stable and work as a BC layer.
For example, if someone does this in a Twig template in a theme extending only from Stable and we didn't have a block template in Stable:
{% extends "block.html.twig" %}They would be extending the core block module's block template. Then if/when we later make a change to that template, we can potentially break their site unless we first copy the template into Stable. That might sound like what we should do to handle BC, however templates can also be referenced by namespace:
{% extends "@block/block.html.twig" %}{% extends "@stable/block/block.html.twig" %}…and referencing templates via namespaces is needed in some cases to prevent infinite loops when extending. So without being able to reference @stable, people would in some cases be forced to couple themselves with core's wild west markup, knowing (or not knowing) that it's going to change from under them and break their site at some point in the future.
So with Stable being fully populated, people can reference the templates and assets from Stable rather than core and we are free to later update the block module's block template. People using Stable or Classy as a base theme won't see any of those changes unless they specifically reference the core template or copy the modified template into their theme.
Hope that makes sense :)
For some other takes on this see:
Edit: Fixed a technical inaccuracy, it would be
@stable/block/block.html.twig, not just@stable/block.html.twig. The path is relative from the /templates directory and stable has a similar folder structure to Classy.Comment #129
wim leersDoes this mean that sites using
{% extends "@stable/block/block.html.twig" %}will always be using the templates as they were in 8.0.0? Including sites developed against Drupal 8.4.0, for example? That would mean they wouldn't get the improvements two years into the release cycle, even if that's the version they're building against, which would be a big loss.Comment #130
catch@Wim that's the whole point of this issue. Either they extend the core templates and are prepared to stay up to date, or they extend Stable templates and never get up to date - but this issue gives them the choice.
Otherwise in core we have to make the choice between not making changes at all, vs. potentially breaking custom themes each minor release because they're relying on the 8.0.0 markup which would be changing under their feet.
Comment #131
wim leersAlright, fair. Thanks for confirming. I think it's important to document that super explicitly.
Comment #132
davidhernandezHoly testbot, Batman! What caused that?
Should we create a follow up issue and add a read me file to Stable explicitly explaining its purpose as a BC layer? I'm in favor.
Comment #133
catchYes that sounds good.
Can also link to it from d.o docs from #2550249: [meta] Document @internal APIs both explicitly in phpdoc and implicitly in d.o documentation.
Comment #134
davidhernandezAdded
#2612618: Add README.txt file to Stable explain its role as a backwards compatibility layer
Comment #136
star-szrTiny conflict with #2025707: Remove unused #theme "file_widget", straightforward reroll. Interdiff shows we no longer copy that file because it's gone.
Edit: Note that in my excitement I forgot to change the patch filename.
Comment #137
catchGood to get this in before RC4 in case there's anything we missed.
Committed/pushed to 8.0.x, thanks!
Comment #139
star-szrThanks @catch! I think this could probably benefit from a change record telling people how to update their Twig/library extends etc.
If nobody beats me to it I can probably work on that about ~4h from now and put a draft up.
Comment #140
davidhernandezThere is already a change record from when Stable was aded. https://www.drupal.org/node/2580687
Do we need a separate one here?
Comment #141
star-szrAs discussed (on IRC) I think we can just edit that to add more info and maybe have an admin bump/republish it.
Comment #142
greg.1.anderson commentedThis issue causes the installer to not initialize the cache correctly when installing a site where (a) the database record and configuration settings are already defined in settings.php, and (b) the database is empty. The symptom is that progress bars are drawn in black rather than stylized (looks just like the minimal theme), breadcrumbs are unstyled lists, etc.; the reason for this is that theme files in the selected theme (seven) that override theme files inherited from a base theme (e.g. classy) are ignored in favor of the inherited file. All symptoms disappear after a cache-rebuild, so this problem is limited to cache initialization, and seems to go no deeper than that. I don't know the root cause, but suspect it always existed, and was merely exposed by the reorganization done here.
It is possible that the scenario that causes this problem is unsupported; the re-install instructions tell the user to empty the database, and copy default.setting.php over settings.php. The installer does seem to attempt to support this setup, though, and hosting environments such as Pantheon take advantage of this in order to provide database settings for the user.
Comment #143
joelpittet@greg.1.anderson it's not this issues fault it just revealed the problem. The fix is here #2614014: Progress bar, fieldsets, messages broken in the installer due to theme ordering bug
Comment #144
greg.1.anderson commentedYes, thanks. This was actually happening on clean installs as well, and is now fixed in HEAD of 8.0.x by above-mentioned issue.
Comment #145
star-szrI updated https://www.drupal.org/node/2580687, see https://www.drupal.org/node/2580687/revisions/view/9101472/9118256. Maybe it can be republished.