- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10+++ b/core/modules/tour/js/tour.js @@ -239,7 +239,22 @@ + const details = $(selector).parents('details'); + if (details) { + const id = details.attr('id'); + const link = $('a[href="#'.concat(id, '"]')); + if (link.length) { + link.click(); + } else { + details.find('summary').click();this is too coupled to details elements, it assumes the only reason an object isn't visible is if its in a fieldset/tabset this feels like a won't fix to me 
- πΊπΈUnited States smustgraveMeans tour canβt really work with elements that are hidden in tabs. 
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10Ideally the TipPlugin would support a ::beforeShow method that would allow a plugin class for 'hidden in a details' 
- πΊπΈUnited States smustgraveConfused by the last comment. The tour tip applies correctly itβs just the element itβs attached to is hidden. So wouldnβt this have to happen in the JavaScript side? 
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10Yeah sorry I'm talking about extending the tip plugin interface to add some JS integration points 
- πΊπΈUnited States smustgraveNot entirely sure how to do that. Would request if this ticket is wonβt fix to postpone it for when moves to contrib. 
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10I think we'd need to expand the TIpPluginInterface (or add an additional one) to allow tip plugins to nominate libraries. And then somehow wire up JS for each tip to allow it to do the 'before show' so we didn't have to hard code knowledge of e.g. details/vertical tabs in the generic JS. But yes, might be a thing to wait for when its in contrib 
- πΊπΈUnited States smustgraveJust not sure how the tip interface would know if the tip is inside a details tag before the page loads to determine if a new library is needed. 
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10When the author is writing the yml, they will know, so they would nominate a different tip plugin ID for that tip 
- πΊπΈUnited States smustgraveSo we would need a new field Boolean if this tip is in a container. Then if true load this other library? 
- Status changed to Needs workover 2 years ago 7:58pm 28 February 2023
- πΊπΈUnited States smustgraveHad a conversation with @larowlan on slack and most likely will have to wait until contrib, making the strong assumption that will happen. 
- Status changed to Postponedover 2 years ago 2:18pm 21 July 2023
- π³πΏNew Zealand quietoneThis extension is being deprecated, see π± [Meta] Tasks to deprecate Tour module Fixed . It will be removed from core and moved to a contrib project, π [11.x] [Meta] Tasks to remove Tour Postponed . 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. 
- Merge request !5Issue #2911208 by smustgrave, _utsavsharma: Add support for details/vertical tabs β (Merged) created by tobiasb
- Status changed to Needs reviewover 1 year ago 8:51pm 22 April 2024
- Status changed to Fixedover 1 year ago 4:44pm 1 May 2024
- 
            
              smustgrave β
             committed 748737b2 on 2.0.x authored by 
            
              tobiasb β
            
Issue #2911208 by smustgrave, _utsavsharma: Add support for details/... 
 
- 
            
              smustgrave β
             committed 748737b2 on 2.0.x authored by 
            
              tobiasb β
            
- 
            
              smustgrave β
             committed c0d870b8 on 2.0.x
Issue #2911208 by smustgrave, _utsavsharma: Add support for details/... 
 
- 
            
              smustgrave β
             committed c0d870b8 on 2.0.x
- Automatically closed - issue fixed for 2 weeks with no activity.