Split each day's class into its own schedule entry #24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "split-schedule-sessions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Every day held one entry that mixed a class with the dance that followed it, so a dancer coming for the class and a dancer coming for the milonga read the same block and got one calendar file covering both. Each day now carries two entries, and each gets its own
.ics.Seven session
.icsfiles, up from five.pride-glow-nightandafternoon-practicakeep their slugs, so any link already out in the world still resolves.brunch-and-farewellis gone, replaced bycommunity-brunchandfarewell-milonga.The Sunday farewell milonga runs 12–4 PM, not 12–5. That is a real time change, not just a reshuffle.
The two class entries now describe the step they teach, soltadas on Friday and colgadas on Saturday, with the Spanish root the step is named for set in italics. That italic is what the new optional
termon aSessionis for.splitSlotalready cut a sentence around a credited name so the name could become a link, which is the same cut with a different tag, so it generalizes tosplitAroundand both call sites use it. The generic parameter keeps the needle's own type on the way out, so the slot call site still gets aBioNameback andbioIdtype-checks. The.icsfiles stay plain text, because DESCRIPTION has no formatting.A session with no DJ renders no credits row. The class and brunch entries have no DJ, and the empty row still carried its 1rem bottom margin, which left a gap under those headings.
Testing
Gates on this branch after
npm ci:astro check— 0 errors, 0 warnings, 0 hints across 17 fileslasertag check— no dead CSS in 6 filesastro build— complete, 2 pagesVerified in the built output rather than off the exit code.
dist/index.htmlcarries<i>soltar</i>and<i>colgar</i>.dist/events/holds the seven files.farewell-milonga.icsreadsDTSTART:20260913T190000Z/DTEND:20260913T230000Z, which is 12–4 PM PDT. Neither class.icscontains an<i>tag.Reviewed on the dev server before commit.