PECE-project / drupal-pece

PECE development repository
GNU General Public License v3.0
21 stars 28 forks source link

Theme Timeline Essay #423

Open MegaKeegMan opened 1 month ago

MegaKeegMan commented 1 month ago

D7 example: https://stsinfrastructures.org/content/pedagogies-practice-challenges-provocations-responses

The above link is to the essay landing page, but (for now) this issue encompasses this landing page and the "view essay" page, only one more click away.

Some notes on timelines from recent meeting

There is a module for modern Drupal, https://www.drupal.org/project/views_timelinejs but that is based on views as opposed to the custom implementation drawing data from a single piece of content.

The timelinejs library powers the styles of how it looks.

https://timeline.knightlab.com/

Code: https://github.com/NUKnightLab/TimelineJS3 Unless we are using the old code: https://github.com/NUKnightLab/TimelineJS

Reva: Ctools content type plugin that loads TimelineJS library

https://github.com/PECE-project/drupal-pece/blob/master/src/modules/pece/pece_timeline_essay/plugins/ctools/content_types/timeline_pane.inc

https://github.com/PECE-project/drupal-pece/blob/master/src/modules/pece/pece_timeline_essay/pece_timeline_essay.functions.inc

Keeping the timeline as is is desirable. The first step will be to see how easily this functionality can be ported to D10.