Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Tour is being deprecated, see the parent issue for details. This issue is for removing tour from the umami profile.
For an example see how this was done for the RDF module in #3243121: Remove RDF module from the Standard profile.
Steps to reproduce
Proposed resolution
Remove Tour module from the Umami profile.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
TBA
Issue fork drupal-3376339
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 #4
smustgrave CreditAttribution: smustgrave at Mobomo commentedSo umami had css and a config file.
I deleted the CSS and moved the config file.
Also moved the one test function that was related to tour
Comment #5
smustgrave CreditAttribution: smustgrave at Mobomo commentedWonder if this needs sign off from Umami maintainer.
Comment #6
smustgrave CreditAttribution: smustgrave at Mobomo commentedSo moving the config is the issue. But not sure what to do for it.
Comment #7
larowlanMoving the config to optional feels appropriate to me
Comment #8
smustgrave CreditAttribution: smustgrave at Mobomo commentedThat’s what I did but the config has a dependency to demo_umami module. Should this config be deleted?
Comment #9
smustgrave CreditAttribution: smustgrave at Mobomo commentedWent ahead and deleted the config. demo_umami isn't a module that I can tell. And the workflow would have to be
Someone installs umami
Download contrib tour
Not sure tour as a contrib really should maintain config for a demo profile.
Comment #10
markconroy CreditAttribution: markconroy at Annertech commentedThanks for working on this. I've no issue with our Tour items being removed if Tour is being removed from core. But let's definitely not support Tour as a contrib module in our demo_umami profile - so let's remove _all_ of Tour from Umami and not have some of it supported via "optional" config.
Comment #11
andypostComment #12
smustgrave CreditAttribution: smustgrave at Mobomo commented@andypost think all the tour stuff has been removed
Comment #13
andypostInstead of removal the Umami's tour could live in optional config of the module
core/profiles/demo_umami/config/install/tour.tour.umami-front.yml
Comment #14
smustgrave CreditAttribution: smustgrave at Mobomo commentedSo I tried that but I couldn't get around https://www.drupal.org/pift-ci-job/2722966
Comment #15
andypostReverted commit with removal - that's just a test which needs more fixes, so I excluded the profile and added todo to existing issue #2834250: Core schema tests (DefaultConfigTest and TestViewsTest) can't reliably check contrib.
Comment #16
smustgrave CreditAttribution: smustgrave at Mobomo commentedWorks for me
Started CR here https://www.drupal.org/node/3377475 (just copied Standard CR)
Comment #17
lauriiiAdded comment to the MR.
I don't think we actually need CR for this since this should not impact anyone. Umami is the demo experience and we are allowed to change that as we see fit.
Comment #18
andypostremoved test
Comment #19
smustgrave CreditAttribution: smustgrave at Mobomo commentedBack to RTBC
Comment #20
catchMoving to needs work for the test restoration.
Comment #21
smustgrave CreditAttribution: smustgrave at Mobomo commentedSo instead of writing a new test module just used the toolbar module. Locally this passed.
Comment #22
SpokjeThanks @smustgrave, all threads answered, code changes look OK to me => RTBC
Comment #23
longwaveCommitted 12be8e7 and pushed to 11.x. Thanks!
Does not backport cleanly to 10.1.x due to PerformanceTest, so let's just leave tour in Umami in 10.1.x, it doesn't harm anything.
Comment #26
quietone CreditAttribution: quietone at PreviousNext commentedPublished the change record.