- Issue created by @quietone
- First commit to issue fork.
- Status changed to Needs review
about 1 year ago 3:55pm 2 December 2023 - 🇺🇸United States smustgrave
So I moved the CSS to their own libraries so they should still function with these themes and are still there for when we move tour back.
- 🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10
I've pinged FEFM about this. I'm not sure if this needs to be done at all. I don't think it prevents removal of the module but I'll get them to confirm.
- 🇺🇸United States smustgrave
So just for the record did this approach so it will still work with each theme and be easier to re add later on
- 🇫🇮Finland lauriii Finland
I'm fairly sure we've done something similar before but I can't remember where. I tried to look at couple potential places but didn't find anything.
I'm removing the tag because I don't think that the issue needs FEFM review given that it's essentially just an approach for the contrib module. I think it's enough that the approach is confirmed by @smustgrave who is the maintainer of the contributed module.
- Status changed to RTBC
about 1 year ago 5:34am 9 December 2023 - Status changed to Needs work
about 1 year ago 10:17am 18 December 2023 - 🇬🇧United Kingdom catch
This needs a rebase for a conflict in claro.libraries.yml
I think it ought to be possible to add the additional files into the claro libraries definitions using hook_library_info_alter() - this would be the module equivalent of libraries extend - the main advantage of that is it runs on library info build rather than every HTML request (and it might mean the files aren't added when the tour libraries aren't there, although if they're every page then that'll be the same anyway). However optional whether we do that since the existing approach successfully encapsulates the tour-specific stuff in the module and should work fine.
- Status changed to Needs review
12 months ago 8:11pm 19 December 2023 - 🇬🇧United Kingdom catch
It might need the files added directly to the end of the css or js entries - assuming that they need to override tour's own CSS, if it's a dependency it'll be loaded before. Didn't test this though and don't know exactly what they're doing though.
- Status changed to Needs work
11 months ago 8:56am 31 January 2024 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Last one for 🌱 [Meta] Tasks to deprecate Tour module Fixed 🚀
Found two potential regressions in the MR. Eliminated one, leaving just the one — curious what y'all think.
- Status changed to Needs review
11 months ago 3:20pm 31 January 2024 - 🇺🇸United States smustgrave
Added a way to check base theme. But not sure we should worry too much about contrib themes here as we are well in advance announcing Tour is deprecated. Contrib themes should update their code to handle that.
- Status changed to Needs work
11 months ago 3:55pm 31 January 2024 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
That introduced test failures:
Exception: Warning: Undefined property: Drupal\Core\Extension\Extension::$base_theme tour_library_info_alter()() (Line: 125)
- Status changed to Needs review
10 months ago 3:02am 8 February 2024 - Status changed to RTBC
10 months ago 8:30am 8 February 2024 - Status changed to Needs review
10 months ago 11:27pm 8 February 2024 - 🇬🇧United Kingdom catch
One and a half questions on the MR, might be me getting confused.
- 🇺🇸United States smustgrave
Is this something we need to be concerned about? Shouldn’t it be up to the contrib themes to update?
- 🇬🇧United Kingdom catch
Oops I didn't realise I'd actually committed this, then it got pushed with another change today, reverted the commit pending #19.
@smustgrave well once this MR is committed, if it breaks in a claro subtheme situation, that would happen before tour moves to contrib, if it's the difference of a couple of lines here I think it's worth checking. Also the logic doesn't look right to me there unless I'm really missing something.
- Status changed to Needs work
10 months ago 2:48pm 9 February 2024 - 🇺🇸United States smustgrave
Sounds like we have to loop through all sub themes
- Status changed to Needs review
10 months ago 11:09pm 13 February 2024 - 🇺🇸United States smustgrave
The theme removal was discussed in slack https://drupal.slack.com/archives/C04CHUX484T/p1708034907274609
It was agreed upon that leaving the CSS is fine and when we remove tour we can remove the css from the themes
So going to delete the css and postpone this.
- Status changed to Postponed
10 months ago 4:10pm 16 February 2024 - Status changed to Needs review
10 months ago 2:50pm 23 February 2024 - Status changed to Needs work
10 months ago 3:03pm 23 February 2024 - 🇳🇱Netherlands spokje
This displeased
Drupal\KernelTests\Core\Theme\Stable9LibraryOverrideTest::testStable9LibraryOverrides
:
https://git.drupalcode.org/issue/drupal-3405660/-/jobs/891571#L3438 - Status changed to Postponed
10 months ago 3:06pm 23 February 2024 - 🇺🇸United States smustgrave
Thought with the css being removed that wouldn't care but guess since the module is still there. Guess this re-postponed :(
- Status changed to Closed: duplicate
10 months ago 12:02am 28 February 2024 - 🇳🇿New Zealand quietone
This work is being done in 📌 Remove Tour module Postponed . I'll close this as a duplicate and move credit.