Show talk and workshop descriptions inline on the schedule page#2108
Show talk and workshop descriptions inline on the schedule page#2108smagdali wants to merge 1 commit into
Conversation
|
Thanks for this, I think it might be a more useful fix for #2115. However, I don't think we want to make this the default - it would need to be behind a toggle button or separate "full programme" page. You seem to have removed all visual feedback on the links, and included redundant And please remove the |
636e67d to
7a94f1a
Compare
…oggle The line-up lists each item's speaker and title but hides the description behind a click into the detail page. Add an opt-in "Show descriptions" toggle that reveals every description inline, so the whole programme can be read on one page. Descriptions are shown by default for users without JavaScript; with JavaScript they are collapsed and the toggle (remembered per browser) controls them, keeping the default line-up compact. Each item becomes a container div with the title as the link, because descriptions contain links and the item can no longer be wrapped in a single anchor; the favourite button stays inside the form. The per-user shuffle in line_up() is unchanged.
7a94f1a to
2fc2f9f
Compare
|
The existing line-up lists every item's speaker and title but hides the description behind a click into each detail page. Better UX to render the description inline instead, so the whole programme is readable on one page. The total page size is actually still manageable (with all the descriptions added, the total page weight increases from 330k to 584k) , but much easier to explore.
Each item becomes a container div with the title as the link (descriptions contain urlized links, so the item can no longer be wrapped in a single anchor), and the description is shown with the same markup as the detail page. The favourite button stays inside the form.
I left the links to the detail page - you might argue that they're redundant now but this way you can still still share a link to a specific event.
Based on the first pass I did at https://whitelabel.org/emf-2026/ before I realised this repo was available.
Disclaimer - I made this with Claude Code.