Closed (fixed)
Project:
Tour
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Aug 2021 at 10:01 UTC
Updated:
7 Jun 2024 at 18:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
arjenk commentedI had the same issue and solved it by removing the function _removeIrrelevantTourItems() from js/tour.js.
This function "* Removes tour items for elements that don't have matching page elements.". Now i dont know why it should do that, by disabling the function, the tip is shown, but centered and not pointing to a specific element. From a developer standpoint that makes more sense then to remove the tip. (Not to mention that it breaks valid tips when bigpipe is enabled)
There is a second purpose of this function: "* Or that are explicitly filtered out via the 'tips' query string.". Now this seems to me a more valid use-case.
So i would propose to refactor this function to not remove the tips that 'don't have matching page elements', and leave the second use-case.
Any other opinions?
Comment #3
fabianderijkThanks for debugging this a little further. I will see if I can come up with a solution for this and create a patch.
Comment #6
fabianderijkI've just created the MR that removes the function.
Comment #7
gauravvvv commentedPlease right the js code in es6.js file then compile. I have rerolled the patch #5, and attached interdiff for same. Please review.
Comment #10
cilefen commentedComment #12
quietone commentedThis extension is being deprecated, see #3336033: [Meta] Tasks to deprecate Tour module. It will be removed from core and moved to a contrib project, #3376099: [11.x] [Meta] Tasks to remove Tour.
This is now Postponed. The status is set according to two policies. The Remove a core extension and move it to a contributed project and the Extensions approved for removal policies.
Comment #13
mistrae commentedPatch for core version 10 is anyone is interested
Comment #15
quietone commentedComment #16
smustgrave commentedInstead of removing this wonder if we can do a lazybuilder like announcement_feeds does.
Comment #18
smustgrave commentedSomeone mind testing this solution out?
Comment #20
smustgrave commentedWill be included in 2.x alpha1 release