Git Product home page Git Product logo

Comments (6)

jabbett avatar jabbett commented on June 16, 2024 1

Just thinking through how this might be implemented:

  • Rework AbrahamHelper.abraham_tour to pass all a page's tours, regardless of completion, to the partial, along with a list of tour names that have been completed
  • Have the ability to indicate in the tour config YAML whether a tour should only be manually-activated
  • Update _abraham.html.erb to
    • render the JavaScript initialization of all tours, not just one
    • auto-start a tour on page load only if it's:
      • next in line
      • not manual
      • not completed
      • not already dismissed for later
      • not missing its first attachTo element
    • register JavaScript event listeners to make each tour individually startable by name

from abraham.

kofronpi avatar kofronpi commented on June 16, 2024

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

from abraham.

jabbett avatar jabbett commented on June 16, 2024

@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.

from abraham.

kofronpi avatar kofronpi commented on June 16, 2024

@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)

from abraham.

scarroll32 avatar scarroll32 commented on June 16, 2024

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

from abraham.

scarroll32 avatar scarroll32 commented on June 16, 2024

Can also be done by deleting the previous tour entry and reloading the page #42

from abraham.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.