Problem/Motivation

Proposed resolution

Use Element::isEmpty().

Remaining tasks

Review.

User interface changes

None.

API changes

None.

Data model changes

None.

Beta phase evaluation

Reference: https://www.drupal.org/core/beta-changes
Issue category Bug because Bartik currently considers empty-but-has-cacheability-metadata render arrays to be proof that a region will be not empty. This is wrong.
Issue priority Normal because it doesn't cause big problems (yet).
Major because bartik maintainer is upset about the current behavior.
Prioritized changes The main goal of this issue is setting the right example for contrib, and ensuring Bartik doesn't break with D8 contrib.
Disruption Zero disruption.

Comments

wim leers’s picture

Status: Active » Needs review
StatusFileSize
new1.92 KB
fabianx’s picture

Unless we already formally introduced Element::isEmpty() we should add a change record as part of that issue as a special for themers one.

Being a bug this obviously needs tests.


The patch itself looks great though!

Status: Needs review » Needs work

The last submitted patch, 1: 2529308-1.patch, failed testing.

Status: Needs work » Needs review

Wim Leers queued 1: 2529308-1.patch for re-testing.

cilefen’s picture

Title: Fix bartik_preprocess_html() » bartik_preprocess_html() should use Element::isEmpty()
wim leers’s picture

Thanks for renaming! Just wanted to file it really quickly.

wim leers’s picture

Issue summary: View changes
Issue tags: -Needs tests
fabianx’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: -Needs beta evaluation, -Needs change record

Lets do it.

davidhernandez’s picture

:( themer experience-- Probably out of scope here, but it would be nice if there was a helper function to handle that check instead of requiring the themer to be that specific. Especially, since there is no way to intuit that you'd have to do that.

From the change record, I don't understand what this means:

An element that only has #cache set is considered empty, because it will render to the empty string.

I'm not sure if I'm lacking technical clarity or if it's the construction of the sentence that is the problem.

wim leers’s picture

Status: Reviewed & tested by the community » Needs review

TBH, the problem is really the fact that bartik_preprocess_html() is fundamentally wrong/broken. This just makes it less broken.

E.g; if $page['some_region'] = ['#markup' => 'foobar', '#access' => FALSE], then it should not conclude that the region will be not empty. But it does.

davidhernandez’s picture

@Wim, it is carry over from the previous version. What the theme (and any theme would want to do this) is determine if the region is displayable, regardless of whether that is determined by the existence of content or access. It doesn't look like we have a proper way of doing that it seems. (at least not an ugly way)

$page['some_region'] = ['#markup' => 'foobar', '#access' => FALSE]

Why would a region have access be false? Not a block or something else, but the region itself.

lauriii queued 1: 2529308-1.patch for re-testing.

Status: Needs review » Needs work

The last submitted patch, 1: 2529308-1.patch, failed testing.

wim leers’s picture

Per #953034-161: [meta] Themes improperly check renderable arrays when determining visibility, I'm not sure if we can fix this. :( I think we simply shouldn't have conditional HTML based on emptiness.

fabianx’s picture

Priority: Normal » Major
Status: Needs work » Reviewed & tested by the community

This should still go in as it is a large large improvement.

Only because we cannot fix all use-cases, does not mean we should not fix at least the obvious visible bugs.

Major because bartik maintainer is upset about the current behavior.

fabianx’s picture

Issue tags: +Needs reroll

Needs a re-roll though ...

davidhernandez’s picture

Status: Reviewed & tested by the community » Needs review
Issue tags: -Needs reroll
StatusFileSize
new1.79 KB
fabianx’s picture

Status: Needs review » Reviewed & tested by the community
alexpott’s picture

Status: Reviewed & tested by the community » Needs review

The isset() && Element::isEmpty() looks ugly.

What to do people think about making the following change:

  public static function isEmpty(array $elements, $key = NULL) {
    if ($key !== NULL) {
      return empty($elements[$key]) || (count($elements[$key]) === 1 && array_keys($elements[$key]) === ['#cache']);
    }
    return empty($elements) || (count($elements) === 1 && array_keys($elements) === ['#cache']);
  }
+++ b/core/themes/bartik/bartik.theme
@@ -15,14 +16,14 @@
-  if (!empty($variables['page']['sidebar_first']) && !empty($variables['page']['sidebar_second'])) {
+  if (isset($variables['page']['sidebar_first']) && isset($variables['page']['sidebar_second']) && !Element::isEmpty($variables['page']['sidebar_first']) && !Element::isEmpty($variables['page']['sidebar_second'])) {

So this would become:

if (Element::isEmpty($variables, 'sidebar_first') && Element::isEmpty($variables, 'sidebar_second')
davidhernandez’s picture

I'd still prefer a simpler, non-oop, function for themers to use. It's a little much to expect non-devs to know how to intuit the syntax and know about namespaces just to add something for a region. But at least removing the double check is an improvement.

fabianx’s picture

Status: Needs review » Needs work

With my theme maintainer hat on:

I would be fine with a function like:

element_is_empty($variables, 'sidebar_second')

which calls Element::isEmpty() with the new $key functionality, which I very much like.

Lets do it!

CNW for the change and lets make Emma happy! :)

davidhernandez’s picture

A element_is_empty function or whatever it should be named sounds good to me.

wim leers’s picture

Assigned: Unassigned » wim leers

Unfortunately, this is an oversimplification:

if (Element::isEmpty($variables, 'sidebar_first')

Because it is actually a non-top-level child that we need to check: $variables['page']['sidebar_first']. Fortunately, that's an easy enough change, that I think is still in line with what Alex Pott, Fabianx and davidhernandez consider an improvement:

if (Element::isEmpty($variables['page'], 'sidebar_first')

Implementing that now.

wim leers’s picture

Assigned: wim leers » Unassigned
Status: Needs work » Needs review
StatusFileSize
new2.54 KB
new2.68 KB

Here you go.

wim leers’s picture

But note that this patch does not actually do what you think it does. It is in fact impossible to solve.

I've explained why this is impossible to solve at #2503755-116: Switch from user login block to login menu link and search block in standard profile. Let me repeat that verbatim here:

I rerolled #2529308: bartik_preprocess_html() only works correctly without lazy rendering, without placeholders, without cacheability metadata for access checks, that should be able to go in now.

Except that that patch does NOT actually solve the problem. Because of the reasons already cited in #97, which I'll repeat here:

Because, in fact, this exact same problem exists in HEAD also. To reproduce:

  1. Install HEAD fresh, using the Standard install profile.
  2. Create an authenticated user.
  3. Log in as the authenticated user.
  4. Note that authenticated users by default can not add content, so the menu block is not visible.
  5. Note that authenticated users by default can not search, so the "Tools" menu block is not visible.
  6. Hence, this is what it looks like:

But I think I can make it more clear by showing a screenshot of the everything is in at the time where bartik_preprocess_html() runs, and thus at which time it tries to decide to add either the layout-two-sidebars class, or layout-one-sidebar, or layout-no-sidebars. Here you go:

As you can tell, the structure looks like this:

$variables['page']['sidebar_first'] = [
  'bartik_tools' => [
    '#cache' => …,
    '#weight' => …,
    '#lazy_builder' => …,
  ],
  '#sorted' => …,
  '#theme_wrappers' => …,
  '#region' => 'sidebar_first',
];
  1. So, we see that the bartik_tools block is present. Because any user can in fact access that block. It's just that that block may turn out to be empty in the end, if the user does not have access to any of the links in that block.
  2. Therefore, because that block is rendered lazily, it is impossible to know whether this region will be empty.
  3. Similarly, because that block may be automatically placeholdered (if we already know it varies by user or by session, so that its poor cacheability does not make the entire page uncacheable) it is totally possible that that block does end up rendering to the empty string.
  4. And finally, to tie this all together in what is hopefully the clearest possible example: in a world where we do BigPipe-style rendering (see https://www.youtube.com/watch?v=JwzX0Qv6u3A), or in general, any rendering where we the things that are cheap to render before the things that are expensive to render, it is effectively impossible for the page template to know which regions will be empty and which ones will not be empty. We need layout to be predictable regardless of whether certain blocks render to the empty string or not. Imagine that we assume the first sidebar is empty, and therefore apply the layout-no-sidebars class. Then, a block is delivered, and the first sidebar is no longer empty, so we then suddenly apply the layout-one-sidebar class. That would cause massive jumping of content. We don't want massive jumping of content, therefore we don't want the behavior that bartik_preprocess_html() currently has.

In other words: bartik_preprocess_html()'s conditional page-level classes do not make sense at all in a world where you want things to be fast, because it requires you to always render everything on the page before assembling the page, which inherently implies very poor cacheability, and rules out lazy rendering.

fabianx’s picture

Status: Needs review » Reviewed & tested by the community

RTBC, thanks #23.

#25:

Yes, however because access conditions vary upwards the overall page is cached based on the variation in those conditions, which means that the sidebar is either populated or not for blocks, because their access is checked up-front and not afterwards.

Which means for bartik this all should work out well.

Only if there is a placeholder either deeper in or if the block is returned empty based on something that is not 'access' (and visibility conditions are 'access' here), then it gets to be a problem, which is way less a problem, so this should be fine for everything except those edge cases.

wim leers’s picture

Status: Reviewed & tested by the community » Needs review

sidebar is populated or not for blocks, because their access is checked up-front and not afterwards.

That's not really true. See the menu block example I gave in #25. The user has access to the block itself, but turns out that they don't have access to any of the content in that block, so the block is empty after all.

So it's not just about placeholders, it's also about lazy rendering. Which is exactly the problem described in #25.

Therefore, I'm not at all certain this issue/patch is actually a step forward. I think it may actually be a step in the wrong direction.

wim leers’s picture

Also note that the menu block with its menu links is just one example.

Views is another example: a block display for a view could behave in the same way, depending on the "empty result set" setting (if it is configured to show something when the result set is empty, then there won't be a problem, but if a view isn't configured to show something, then it'll be the exact same problem as with the menu block above).

davidhernandez’s picture

If I get the gist of this, we are entering a world where the page layouts (at a high level) need to not be adapted by the backend. If any manipulation is to occur, it has to occur on the frontend. The sidebar needs to always exist in markup, in case something later gets shoe-horned into it? Things like the layout-one-sidebar classes would have to go, because at what point do we actually know, unless they are added by JS?

This would indeed be a very different world than what a lot of people are currently used to. We'll need understand this.

davidhernandez’s picture

Issue tags: +Needs tests
+++ b/core/themes/bartik/bartik.theme
@@ -6,6 +6,7 @@
+use Drupal\Core\Render\Element;

We don't need this any more, right?

I'm adding needs tests, because we're adding a new api function.

catch’s picture

The sidebar itself could be lazy rendered if we want, but then you wouldn't know if it'll eventually contain anything or not either.

So yes in terms of the entire page layout, the only way to have those body-level classes is via js.

wim leers’s picture

#29:

Things like the layout-one-sidebar classes would have to go, because at what point do we actually know, unless they are added by JS?

We actually can now on the server side, to some extent: if no blocks are placed in a region, that region is always going to be empty. Which actually is… almost exactly what HEAD does.

But that does mean that you can't have page-specific page-level classes: you'd either always have two sidebars, or always have one, across an entire site.

This would indeed be a very different world than what a lot of people are currently used to. We'll need understand this.

Not "would", but "is". We are already in this world. Everything is adjusted for it. Except this feature of Bartik. Because nobody who does core development ever uses both sidebars or only the second sidebar. Everybody always uses the first sidebar.


From this POV (#27 + #28 + this comment), the current patch does not make sense at all. I tries to give you a tool to pretend we're not in this "different world", even though we actually are there already, and have been for… at least a year already, and have been working towards it since almost the beginning of the Drupal 8 cycle.

davidhernandez’s picture

if no blocks are placed in a region, that region is always going to be empty

But that fact is meaningless. People aren't trying to build flexibility in case where they know they've never placed a block in a region. It is cases where a block is placed, but may not render because the content is conditional.

If the login block is in the sidebar, the sidebar appears. If I'm logged in and the login block doesn't render, I have no need for the sidebar. That is a conditional layout. I can't add "layout-one-sidebar layout-sidebar-first" at the page layer if I don't know if it is true. Those classes would be used to determine the styling of the layout; widths, margins, etc. I can completely re-theme a site with just those two classes.

Because nobody who does core development ever uses both sidebars or only the second sidebar. Everybody always uses the first sidebar.

I'm not sure what you are implying by this. That no one does this in the real world, or just that no one noticed a problem because most of us don't actually use Bartik for this?

wim leers’s picture

But that fact is meaningless. People aren't trying to build flexibility in case where they know they've never placed a block in a region. It is cases where a block is placed, but may not render because the content is conditional.

I disagree with this. If your site has zero blocks in a certain region, then it's useful for the theme to adapt to that. It may be less valuable/flexible, but it still is valuable for the same reasons it's valuable for conditional content.

I'm not sure what you are implying by this. That no one does this in the real world, or just that no one noticed a problem because most of us don't actually use Bartik for this?

  1. I did imply or just that no one noticed a problem because most of us don't actually use Bartik for this?.
  2. Besides that, I implied that when people do manual testing of things in core, while working on core, that I've never seen anybody use the second sidebar. Let alone both sidebars. At least not during the D8 cycle.
  3. Finally, I did not imply nobody does this in the real world. I think people do do this in the real world, and it sounds like you're one of them. But the thing is that this is a case of where we cannot have it all: we cannot both be fast (thanks to lazy rendering and placeholdering) and support this. In the real world, in Drupal 7, and other CMSes similar to D7 (wrt page delivery mechanisms), those sites are either simple or slow. If they're simple, there is no need for lazy rendering and placeholdering, and so the lack of lazy rendering and placeholdering does not make things slow. Otherwise, if it is advanced/complex/personalized, it is slow, because we don't have lazy rendering/placeholdering. And I think we all know that in the case of Drupal 7, it was very often the latter.
davidhernandez’s picture

I implied that when people do manual testing of things in core, while working on core, that I've never seen anybody use the second sidebar

Ok, I just wanted to make sure. I agree we aren't always good testing all use cases. I thought you might have been saying, "second sidebars, who does that??"

If your site has zero blocks in a certain region, then it's useful for the theme to adapt to that.

If I'm understanding correctly, you are saying in cases where no block has been configured for a region at all. Like it is empty in the block layout UI. That could be useful to know for a generic theme - one meant for distribution (like perhaps Bartik) - but much less useful for a site build. That sounds to me like a region that doesn't need to exist.

Well, what is the next step? It sounds like Bartik's CSS architecture needs to be fixed and this preprocessing removed altogether. Also, can we document the best-practice for this so people can understand why and how we should be doing this properly? I think themers can adjust if they know what to do and why.

wim leers’s picture

That could be useful to know for a generic theme - one meant for distribution (like perhaps Bartik) - but much less useful for a site build.

Agreed!

Well, what is the next step? It sounds like Bartik's CSS architecture needs to be fixed and this preprocessing removed altogether.

I'm afraid that is correct… :(

Also, can we document the best-practice for this so people can understand why and how we should be doing this properly? I think themers can adjust if they know what to do and why.

I don't know what the best practice would be, only that this practice we've used in the past, and that we've used until now, does not work. I think it's up to themers in D8 to collectively define a best practice. But we should definitely recomend against what Bartik does specifically, and mark it as something to explicitly avoid.


And if we're honest, this problem actually also existed in D7, just in a less severe form, which is why #953034: [meta] Themes improperly check renderable arrays when determining visibility is a few weeks away from its fifth birthday.

davidhernandez’s picture

Issue tags: -Needs tests

Short term will the patch in #17 fix Bartik's use case, even if somewhat superficially and dismissing the lazy render issues?

I think we need some fix now that solves at least the most basic use cases for Bartik, and then deal with the CSS architectural changes later. We can do that now that Bartik is being marked @internal. A wholesale sidebar rethinking might be too much to deal with right now.

wim leers’s picture

Short term will the patch in #17 fix Bartik's use case, even if somewhat superficially and dismissing the lazy render issues?

No, #17 doesn't fix it at all. It only fixes the case where something is not accessible and the cacheability metadata for that thing still appears.

I think we need some fix now that solves at least the most basic use cases for Bartik

We can't fix it.

That's why I'm saying nobody ever tests with blocks in the second sidebar etc.

catch’s picture

Well I think we could do a short term fix with js?

That won't work with js disabled, and it is worse for front-end performance, but for now it'd look better.

wim leers’s picture

Title: bartik_preprocess_html() should use Element::isEmpty() » bartik_preprocess_html() only works correctly without lazy rendering, without placeholders, without cacheability metadata for access checks
Assigned: Unassigned » wim leers

Yep, true.

Fixing title and working on that.

wim leers’s picture

Assigned: wim leers » Unassigned
Issue tags: +JavaScript, +CSS
StatusFileSize
new3.67 KB

KISS.

Status: Needs review » Needs work

The last submitted patch, 41: bartik_layout_body_classes-2529308-41.patch, failed testing.

wim leers’s picture

Status: Needs work » Needs review
StatusFileSize
new3.66 KB

Oops. Identical to the previous one content-wise, but this patch doesn't assume that Bartik already has a layout.js file. Should be actually applicable.

fabianx’s picture

Aren't JS files in js/ subfolder per some definition?

davidhernandez’s picture

I guess that seems ok. Emma should sign off on the library addition/changes.

Status: Needs review » Needs work

The last submitted patch, 43: bartik_layout_body_classes-2529308-43.patch, failed testing.

The last submitted patch, 41: bartik_layout_body_classes-2529308-41.patch, failed testing.

The last submitted patch, 43: bartik_layout_body_classes-2529308-43.patch, failed testing.

nod_’s picture

Status: Needs work » Needs review
StatusFileSize
new3.43 KB

malformated dependency.

The layout-no-sidebar seemed to have been lost in the process. Used querySelector to make things nicer. And since the region format in bartik has an inner element, updated the query to make sure we count the right things. Added JSDoc, renamed the function, not a constructor so no capital letter.

I removed the early call to bartikLayoutUpdate because it'd break if that script ends up in the head at some point. Better safe than sorry and the delay doesn't show that much on stock bartik. Just keeping it simple.

Status: Needs review » Needs work

The last submitted patch, 49: core-js-bartik-body-layout-2529308-49.patch, failed testing.

The last submitted patch, 49: core-js-bartik-body-layout-2529308-49.patch, failed testing.

wim leers’s picture

+++ b/core/themes/bartik/js/layout.js
@@ -0,0 +1,54 @@
+    var element = document.querySelector('#' + regionName + ' .section');
  1. This selector is wrong, it's using classes, not IDs.
  2. This selector is wrong: what's that .section thing doing there?
  3. querySelector() returns Nodes, not Elements, so IIRC you can't just invoke childElementCount on that?
nod_’s picture

1. The selector is using whatever we tell him to. Open up bartik's page.html.twig:

        {% if page.sidebar_first %}
          <div id="sidebar-first" class="column sidebar">
            <aside class="section" role="complementary">
              {{ page.sidebar_first }}
            </aside>
          </div>
        {% endif %}

Good enough for me to rely on ids for bartik.

2. see above.

3. from https://dom.spec.whatwg.org

Objects implementing the Document, DocumentFragment, DocumentType, Element, Text, ProcessingInstruction, or Comment interface (simply called nodes) participate in a tree, simply named the node tree.

Node and Element, same difference.

wim leers’s picture

  1. Oh, HAH! I totally missed that. @nod_++++++ :)
  2. ^^
  3. Hrm, ok, I know I ran into problems when I tried to use querySelector(), and this was my conclusion after checking docs, but I clearly must've done something wrong :)

So, other than the test failures, I think this is ready then.

fabianx’s picture

Here is another idea, which could just use CSS and keep our no-JS for anonymous users selling point.

We can use CSS :empty (http://caniuse.com/#feat=css-sel3) - provided that the space in between is not even having spaces and page.sidebar_first is truly empty after rendering.

There is two ways:

a) Use {{- page.sidebar_first -}} - If that would work to remove all whitespace around the element that would be wonderful.
b) Add a special data- attribute and have a generic FilterResponseEvent, which does a preg_replace() and removes all whitespace from a section which has that data selector - that should not be too bad performance wise and pretty easily reg-exp expressionable.

While the JS only solution works fine for bartik itself and probably other contrib themes, both these solutions would purely rely on CSS in the end just ensuring content is filtered correctly down to empty.


Edit:

Nevermind I tried that and the structure of the CSS / DOM does not allow that.

While it would be possible to target some regions in that way, it is impossible for this sidebar-first implementaton as that one relies on the content shifting itself to 75% width ...


Edit:

Any contrib theme can use display: flex and correct flex adjustments just fine with :empty, so its mainly core that needs the JS here, which should be fine ...

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 49: core-js-bartik-body-layout-2529308-49.patch, failed testing.

davidhernandez’s picture

Like Fabian, I've been trying to find a non-JS solution. As Wim repeatedly points out, this looks impossible. (Well, I could probably work one out in just CSS if I redesign Bartik's responsive CSS.)

So if the JS solution is good to go, what do we do about the failing test? It is the "no anonymous js" test. Are we saying we have to get rid of that, or should the test be switched to use Classy and not Bartik?

wim leers’s picture

Make the "no JS for anon" test exempt this JS" just like it exempts the HTML5 shiv.

nod_’s picture

wim leers’s picture

#60: indeed it does. Which buys us the time to fix this in a non-rushed manner, which surely is preferable :)

Version: 8.0.x-dev » 8.1.x-dev

Drupal 8.0.6 was released on April 6 and is the final bugfix release for the Drupal 8.0.x series. Drupal 8.0.x will not receive any further development aside from security fixes. Drupal 8.1.0-rc1 is now available and sites should prepare to update to 8.1.0.

Bug reports should be targeted against the 8.1.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.9 was released on September 7 and is the final bugfix release for the Drupal 8.1.x series. Drupal 8.1.x will not receive any further development aside from security fixes. Drupal 8.2.0-rc1 is now available and sites should prepare to upgrade to 8.2.0.

Bug reports should be targeted against the 8.2.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.6 was released on February 1, 2017 and is the final full bugfix release for the Drupal 8.2.x series. Drupal 8.2.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.3.0 on April 5, 2017. (Drupal 8.3.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.3.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

balagan’s picture

Issue summary: View changes
balagan’s picture

Issue summary: View changes

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.6 was released on August 2, 2017 and is the final full bugfix release for the Drupal 8.3.x series. Drupal 8.3.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.4.0 on October 4, 2017. (Drupal 8.4.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.4.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.4 was released on January 3, 2018 and is the final full bugfix release for the Drupal 8.4.x series. Drupal 8.4.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.5.0 on March 7, 2018. (Drupal 8.5.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.5.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.6 was released on August 1, 2018 and is the final bugfix release for the Drupal 8.5.x series. Drupal 8.5.x will not receive any further development aside from security fixes. Sites should prepare to update to 8.6.0 on September 5, 2018. (Drupal 8.6.0-rc1 is available for testing.)

Bug reports should be targeted against the 8.6.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.6.x-dev » 8.8.x-dev

Drupal 8.6.x will not receive any further development aside from security fixes. Bug reports should be targeted against the 8.8.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.9.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.9.x-dev » 9.2.x-dev

Drupal 8 is end-of-life as of November 17, 2021. There will not be further changes made to Drupal 8. Bugfixes are now made to the 9.3.x and higher branches only. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.15 was released on June 1st, 2022 and is the final full bugfix release for the Drupal 9.3.x series. Drupal 9.3.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.4.x-dev branch from now on, and new development or disruptive changes should be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.9 was released on December 7, 2022 and is the final full bugfix release for the Drupal 9.4.x series. Drupal 9.4.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.5.x-dev branch from now on, and new development or disruptive changes should be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

pameeela’s picture

Project: Drupal core » Bartik
Version: 9.5.x-dev » 1.0.2
Component: Bartik theme » Look and Feel
Issue tags: -JavaScript +JavaScript, +Bug Smash Initiative

Moving to contrib since Bartik was removed from core in D10.