actmd / abraham

Trackable application tours for Rails with i18n support
MIT License
124 stars 45 forks source link

Manually activate a tour (e.g. on click) #5

Closed prschmid closed 3 years ago

prschmid commented 7 years ago

For example when hovering over the "starred items" icon on Slack, you get a nice popup as follows

screen shot 2016-12-29 at 9 11 13 am

Then when you click on the icon, the (single step) tour begins

screen shot 2016-12-29 at 9 11 20 am

The nice thing is that the "hover" step doesn't need to be there (e.g. on mobile there is no "hover") and so it works nicely on both desktop and mobile.

kofronpi commented 7 years ago

@prschmid Really cool idea ! This gem wraps shepherd.js, did you open an issue there? :)

jabbett commented 7 years ago

@kofronpi I think this is fully implementable without any changes to shepherd.js. Abraham could define a single-step tour and tie the start() action to a click event on a particular DOM element.

kofronpi commented 7 years ago

@jabbett interesting ! you'd have to carefully consider what is configurable at the abraham-level and what is configurable at the shepherd-level (see the issue I opened - #8)

scarroll32 commented 5 years ago

Just wondering if this suggestion is under consideration? It's a useful feature.

jabbett commented 4 years ago

Just thinking through how this might be implemented:

scarroll32 commented 3 years ago

Can also be done by deleting the previous tour entry and reloading the page https://github.com/actmd/abraham/issues/42