From @catch in #3219959-51: Update standard profile so Olivero is the default theme.
There are a lot of test changes in here which are swapping Bartik for Olivero. I think we should split those out to their own issue since they aren't directly coupled to making Olivero the default theme in Standard.
If there are a tests of the standard profile itself, then obviously fine to update those here as necessary.
Assuming I understand this correctly, we need to move the Bartik specific test changes from the MR in #3219959: Update standard profile so Olivero is the default theme and create a separate MR to be merged first. This will make the original MR substantially smaller and easier to review.
Link to MR changeset from the original issue: https://git.drupalcode.org/project/drupal/-/merge_requests/938/diffs
Be sure to note review comments on that MR for recommendations on specific child issues and changes from the current MR.
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | 3260592-11_0.patch | 1.21 KB | catch |
| #11 | 3260592-11.patch | 6.74 KB | catch |
| 3260592-11.patch | 1.84 KB | catch | |
| #10 | 3260592.patch | 13.72 KB | catch |
Issue fork drupal-3260592
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:
Comments
Comment #3
xjmComment #4
xjmLet's make this a meta, since we might not want to do this all in a single issue. See #3083275: [meta] Update tests that rely on Classy to not rely on it anymore for discussion of how child issues might be scoped.
Comment #5
xjmSee https://git.drupalcode.org/project/drupal/-/merge_requests/938/diffs for many of the changes that should be split out.
Comment #6
xjmComment #7
xjmComment #8
xjmComment #9
huzookaComment #10
catchI can't see any changes in the fork, here's a patch with the test changes extracted from the other issue.
After splitting the changes out, I don't think this needs to be a meta - we can just update any tests that can already use Olivero here, and then tests relying on the standard profile can be changed in #3219959: Update standard profile so Olivero is the default theme. If it does turn out to be more complicated than I think it is, we could always split one or two sub-issues out for anything tricky.
Comment #11
catchSome of these changes already landed elsewhere.
Comment #12
catchSelf-review: why does this class have to be different in Olivero, could we just change it to use what core provides? Or is it just different to Bartik rather than core?
Olivero has already been added to OffCanvasTestBase and this doesn't fail, so I think this change is probably not necessary too.
Comment #13
catchThis might be all we actually want to do here in the end. I think a lot of this got cleaned up with decoupling from classy already.
I've taken the menu trail change out from here, I think that needs its own issue to discuss. edit: #3276618: Olivero sets inconsistent classes for active trail between menu and book
Comment #14
catchWait O
olivero twice lol
Closing this as duplicate of #3219959: Update standard profile so Olivero is the default theme.