Repository navigation
Section 04 and the sessions control (stack 4 of 6) - #385
Merged
Merged
Conversation
Three things that no page renders yet, shipped first so the landing page can import them.
`scripts/generate-sessions.js` reads the archive's frontmatter and writes
`src/data/sessions.json`. It derives each href from the file's own path, accounting for
Docusaurus stripping number prefixes and for `readme`/`index` folders, because the archive is
inconsistent: most sessions carry a `slug:` that includes their number, eight have none and are
served at the number-stripped path, and two folders are both numbered 14. 21 sessions against
26 built routes, none missing.
`scripts/fetch-github-data.js` also calls `/repos/{owner}/{repo}` and writes a `repo` block,
with the same keep-on-failure rule as the rest of that script. `githubData.json` gains that
block so a local build has stars and forks to render.
`@types/react-dom` arrives for the components that follow.
Colour, spacing, radius and shadow tokens named by intent rather than by value, plus the warning callout's four values, the track accents, the focus ring and the theme-switch rules. 106 tokens where the stylesheet had 85 and drops none of them, so every existing rule keeps resolving to what it resolved to before: the rendered page is unchanged, which is the point of landing the vocabulary before the page that speaks it. The dark surface moves to html[data-theme='dark'] in the same pass. Infima declares its own dark tokens on that selector, so a bare [data-theme='dark'] block loses every contested token without saying so.
Hero on caramel, then five bands: 01 Start here, 02 Pathways, 03 Explore Cardano, 04 Become a Contributor, 05 Latest Updates. 03 and 05 invert to midnight in light mode and to moon in dark mode, so the page has two chapter breaks instead of five near-identical bands, and every band declares --band-bg / --card-bg rather than a colour. Pathways is an expanding panel per track with that track's accent on a 3px leading stripe. Latest Updates is a session track built from sessions.json. Section 04 pairs the contribution routes with the next working-group call. The hero illustration ships as webp. The old navbar and footer rules are carried forward unchanged at the foot of the stylesheet: this PR lands the page before the chrome that replaces them, and without those rules the current footer would lose its gradient the moment it merged. The next two PRs delete them, one each.
Section 04 becomes a two-column band on the page's own frame: the contribution routes on the left, the next working-group call on the right, with the contributor strip under the copy. The repository pulse card goes, along with its two caret-less counts and the quarterly-date note that decayed between refreshes. The sessions control becomes a floating action that expands on hover, and moves into the navbar below 769px. It also brings the chunk-load recovery in Root: a deploy replaces the hashed chunks, and a tab left open across that boundary fails its next lazy route load. Reload once, rate-limited so a genuinely missing chunk cannot loop.
This was referenced Nov 7, 2026
danbaruka
pushed a commit
that referenced
this pull request
Nov 10, 2026
Credits people for something specific rather than for showing up: the first entry is the security report that removed the Discord server invites from the site, and the second is the landed work, counted from commits on main. Kept as its own docs page rather than a homepage band because the landing page is mid-rewrite in the open stack (#383, #385, #386, #387), and a band here would conflict with all four and renumber every section.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this does
Section 04 and the sessions control, in their own PR so the page can be read without them.
Section 04 becomes a two-column band on the page's own frame: the contribution routes on the left, the next working-group call on the right, and the contributor strip under the copy. It goes with the repository pulse card, whose two cumulative counts and one snapshot needed a quarterly manual update and had already drifted: the local snapshot said 1 August 2026 while the deployed page said 2 November, because the prebuild that refreshes it only runs under
npm run build.The sessions control becomes a floating action that expands on hover, and moves into the navbar below 769px.
theme/Root.tsxcomes with it: a deploy replaces the hashed chunks, and a tab left open across that boundary fails its next lazy route load, so it reloads once, rate-limited so a genuinely missing chunk cannot loop.The next call is computed at build time from
meetup-sessions.json, not fetched. #378 records what that costs when a series pauses or ends.Merge order
Stack 4 of 6. Depends on #380, #384 and #383. Until those are on
main, this PR's diff includes their files as well; its own layer is 6 files, +551 −226.The two layers above it (the footer, then the bar and the phone menu sheet) are pushed and open as soon as this merges.
One thing to accept if you merge this before the next two
Section 04 lands under the old bar and the old footer. That is what this PR is: the page without its chrome. The band, the card and the contributor strip all render correctly, but the copy above them still says "Ask Questions or Suggest Improvements" and the old blue overview card is gone from the page while the new bar and footer arrive two PRs later.
If a partially rebuilt page in
mainfor a day is not acceptable, merge #383 and this one in the same sitting; they were split for review, not for staging.Verified
npx tsc --noEmitclean,npx docusaurus buildsucceeds