-
-
Notifications
You must be signed in to change notification settings - Fork 647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tour name is not being added as data-shepherd-active-tour
attribute
#1188
Comments
Regarding 2., I have noticed tour id and step id are designed rather poorly:
So step id is configurable, but tour id is not. However, a tour gets a name, which is then used when generating tour id... Kinda convoluted if you ask me. We could make this more coherent. What do you say we introduce |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
No discussion for over a year, closing this issue. |
@EmNicholson93 we should make sure our docs are correct here. This issue is saying we are not setting |
@rwwagner90 The code and tests for this feature were removed as part of launching v10.0.1. So assuming that was intentional, I can pull mentions of tourName from all the docs? |
@EmNicholson93 Do you happen to know the PR or commit where it was all removed? I cannot recall why we removed it, but if we definitely want it gone, then yeah the fix here would be to remove all this stuff from the docs. |
@rwwagner90 |
@EmNicholson93 yes, it appears we did remove all that. I think to close this ticket then we should remove all that from the docs. |
Hey, found a discrepancy between the docs and the library behaviour.
This property is not being added. For some reason it was removed in 0594278. I think it's a useful feature though, so I suggest what follows:
data-shepherd-active-tour
attribute on document.bodyid
appear asdata-shepherd-active-step
when the step is shownWith this improvement, the toured application could apply CSS rules to elements based on active tour and step, without the need for explicit javascript logic. This is something I could really use right now.
I could prepare a PR, what do you say? @rwwagner90
The text was updated successfully, but these errors were encountered: