dat-ecosystem / public-events

Events hosted by the dat community.
https://events.dat.foundation
MIT License
7 stars 4 forks source link

adding data integration (loading data from pretalx with a 1min ttl) #25

Closed martinheidegger closed 4 years ago

martinheidegger commented 4 years ago

This PR adds basic data integration from pretalx to the netlify site generator. It loads all session and user data (including images & resources).

As the schedule is using the https://conf.consento.org/template-test schedule data for the visualization which has some tricks in there that should work.

For the test, the data is still .gitignoreed to make sure that the git repository is not spammed with commits - so you need to run npm run build in the root directory after npm install

ssaavedra commented 4 years ago

I cannot run netlify build or npm i on the root folder because I'm not the Netlify account holder :-(

martinheidegger commented 4 years ago

@ssaavedra I updated the build scripts to run smoother and without netlify (you should be able to just run npm run dev in the dev folder) - netlify deploy example: https://deploy-preview-25--dat-events.netlify.app/2020/schedule/

martinheidegger commented 4 years ago

I looked a bit into calendar visualization. fullcalendar is the visualization that pretalx uses but in tui (link to docs) it should be easily possible to add multiple timezones.

martinheidegger commented 4 years ago

I think the schedule display should work as-is, now the speaker/talk/speakers/talks displays need some love.

Frando commented 4 years ago

I was finally able to properly test this out - it looks great! Thanks a lot martin for all the work done here. From initial review this looks great to be merged and we can still improve in the process.

Frando commented 4 years ago

I see there is some code to change the timezone in calender.js but it seems it's not yet active - is this an unfinished part or broken? I can look into it today.

dpaez commented 4 years ago

Looks great! <3