Code Monkey home page Code Monkey logo

Comments (5)

anaisconce avatar anaisconce commented on July 3, 2024 1

You can definitely use this feature! As Paul said, it isn't polished yet, but it works! Here's the fastest way to learn how to build one:

  1. Visit a template with a doc tour and edit the URL to add /p/GristDocTour after the document's name. E.G. https://templates.getgrist.com/gtzQwTXkgzFG/Meme-Generator/p/GristDocTour

This reveals a special, hidden table named GristDocTour. It is only visible when you modify the url as described above.

It has 4 columns.

  • Title - the pop-up header; this is a text column
  • Body - the pop-up body; this is a text column
  • Placement - a text column that places the pop-up in relation to a cell with words like right, top, bottom. https://popper.js.org/ has an interactive tool that shows how this works.
  • Location - a text, formula column with the formula SELF_HYPERLINK()+$Location_Cell SELF_HYPERLINK adds the URL through to the end of the document's title.
  • Location Cell - another text column. This is where you copy and past a cell's anchor link from /p onwards. E.G. /p/3#a1.s3.r3.c3
  1. Create a table named GristDocTour in your document with the columns described above.

Finding anchor links in a row:
image

Finding anchor links in a card:
image

Finding anchor links in a card list:

image

from grist-core.

paulfitz avatar paulfitz commented on July 3, 2024

Document tours were implemented, and are used in many examples in https://templates.getgrist.com/

The implementation wasn't polished to the point where it became a feature that users could apply to their own documents in a friendly, documented way. Leave a comment on this thread if you're interested in that.

from grist-core.

MHOOO avatar MHOOO commented on July 3, 2024

Would love to know more about this feature, or other ways of helping people "use" the table(s) that I have created for them (i.e. tooltips or similar)

from grist-core.

MHOOO avatar MHOOO commented on July 3, 2024

Thanks, that is actually quite simple!

from grist-core.

anaisconce avatar anaisconce commented on July 3, 2024

FYI, there's three more optional columns you may add to a doc tour. Here's the full explanation in our forum: https://community.getgrist.com/t/creating-document-tours/688

from grist-core.

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.