Ws-timeline : timeline widget

Hi @akuz !

You could copy the code from the repository and host your own, modifying the timezone to your own. I walked through the steps on how to do this using Grist’s Invoice custom widget in our recent Creating Custom Invoices webinar. The steps would be the same, just downloading the files from the correct folder here: GitHub - rague/ws-timeline: Timeline plugin for Grist

This webinar link will start the webinar about 18min in, when I cover how to modify custom widget code: https://www.youtube.com/watch?v=IQTUj5CZDwU&t=1086s

It covers the steps on how to create your own repository using GitHub Pages, upload code and call your own custom widget in Grist.

Thanks,
Natalie

Hi Natalie,

Thank you for the advice, I will do that! Btw, I found another “timeline” widget in the below GitHub repository… Do you know if it’s the same?

Thank you

Hi @akuz !

I have fixed the two problems you encountered:

  • the widget now filters out incorrect values for start dates, end dates and durations.
  • the time zone is taken into account. I will not be surprised if it doesn’t works properly at the moment… So let me know !
1 Like

Thanks to @Varamil, I’ve added the option to use days durations.
https://rague.github.io/ws-timeline/start-duration-days

1 Like

Hi Raphael! The timezone now works! It automatically detects I am in London, and the editing is fine. It would still be great to be able to specify the time zone for the control. For example, if I am travelling to New York, it would show everything in New York time (I assume), which would not be good…

Separately, I am trying to filter the data within timeline by conditioning data selection on the other row selected in a different widget, on the top left: BRANCH), but it doesn’t seem to work at all. The link filter state is null. However, if I apply the same logic to other other widget, it does show the filtered data (on another page). I am not sure if the problem is with the timeline, or with the way I set up the link filter. But I am doing it exactly the same as on the other page, and it does filter there, but not on this page where I use timeline… Any ideas?

Hi @akuz ! The timezone used is the one defined in the parameters of the document (bottom left column).

Filtering data as you do should works… But it doesn’t. I don’t know why and I need to work on it. You can consider this a bug, sorry !

That’s perfect thank you! (About time zone.)

I hope the filtering works soon… I need it to complete functionality of what I am doing this for… Then it would be 100% perfect!

It seems to be a limitation of the way the link between views works. I’ve started a new thread on the subject here: setSelectedRows and cylic linking
I can’t think of a solution at the moment…

1 Like

Super boulot,
par contre, je n’arrive pas a faire afficher correctement 2 lignes ? Le rectangle ne s’agrandi pas et la 2eme ligne est tron


quée.

Bonjour,

Avez-vous essayé Alt + Molette ou Alt + 2 doigts (trackpad) - dans la colonne de gauche ?
Dans tous les cas, n’hésitez pas à consulter l’aide pour tous les raccourcis (? en haut à gauche)

Wow @Raphael_Guenot ! Thank you for sharing this, it’s amazing, I don’t understand the process for building this, but I can’t wait to give a go.

Désolé, je ne parle pas français, j’espère que Google comprendra.

Waouh @Raphael_Guenot ! Merci pour ce partage, c’est génial, je ne comprends pas le processus de construction, mais j’ai hâte d’essayer.

Hi ! I love your plugin but i’m wondering : could it be possible to adjust the width of the title column ? I’m using rather short group names so the fixed width of their columns takes up a lot a space for nothing :

Bonjour,

Un message en français car je pense que je vais être compris.

J’utilise ce widget dans un de mes docs : Loading... - Grist

Et je ne comprends pas pourquoi je récupère le calendrier en anglais alors qu’il s’affiche en français quand je vais directement sur le lien d’exemple.

Désolé, mais ça dépasse mes faibles compétences.

Merci à @Raphael_Guenot pour ce magnifique widget et à celleux qui me répondront pour leur aide.

Hello @Enthouane . Now it’s possible !

1 Like

Bonjour Alain,

La langue du widget est normalement celle configurée dans les paramètre du document. (cf capture).

Merci @Raphael_Guenot,

Aussi simple que ça. Ce n’est que du bonheur :tada: