Skip to content

Activity guide library - #185

Merged
SableRaf merged 32 commits into
mainfrom
activity-guide-library
Sep 1, 2026
Merged

Activity guide library#185
SableRaf merged 32 commits into
mainfrom
activity-guide-library

Conversation

@SableRaf

Copy link
Copy Markdown
Collaborator

Add activity guide pages

Replace the old "Contribute an Activity Guide" page with a new "What are Activity Guides?" page, including overview and draft contribution guidance. Update the Activity Guide Library page to add a dedicated submission section and licensing note so contribution info is surfaced there as well.
@netlify

netlify Bot commented Aug 25, 2026

Copy link
Copy Markdown

Deploy Preview for processing-community-day ready!

Name Link
🔨 Latest commit 3af34d9
🔍 Latest deploy log https://app.netlify.com/projects/processing-community-day/deploys/6a96ea457f357a0008202ac9
😎 Deploy Preview https://deploy-preview-185--processing-community-day.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Reworks Activity Guide zines to load from file-backed cards sorted by required `order` frontmatter, with explicit placeholder entries (`placeholder: true`) that render “Guide wanted” cards but do not generate detail pages. Published zines now support optional covers, optional license blocks, local or external PDF downloads, and required human-readable `file_size` metadata.

Introduces reusable `BackButton` and `ZineDownloads` components, updates grid/detail rendering and styles for cover fallbacks, adds new zine/placeholder content entries (including Zine Making Kit), and updates schema/validation logic by removing fixed topic-slot uniqueness in favor of id/identity checks. Tests and docs were expanded to cover ordering, placeholder behavior, external downloads, and emitted asset expectations.
Placeholder Activity Guide cards now show a “Submit a zine” button that opens the Discourse new-topic form with the topic prefilled in both the title and submission template body. This replaces the old “Guide wanted” placeholder text, updates card styling/layout, and refreshes Organizer Kit and zine documentation copy to match. Tests were updated to assert the new button text and prefilled URL behavior.
Updates the Organizer Kit copy and navigation labels to use "Zine Library" instead of "Activity Guide Library," and reorders the two related docs so the overview page comes first. Also refreshes the submission template text to match the new naming.
Rename "resources" to "event resource", add "additional guides", and reorder sections
Add support for using .env for local dev carto.com API key. Introduces `src/lib/carto.ts` with a `cartoTileUrl()` helper that appends `PUBLIC_CARTO_API_KEY` (`import.meta.env.DEV`). MapView and NodePanel now use this helper for all CARTO basemap layers, so local development can use keyed tile requests without affecting production URLs. AGENTS.md was updated to document the new helper and the local `.env` behavior.
Only render the docs page table of contents when there is more than one h2 heading. This avoids showing an unnecessary “On this page” block on pages with a single section.
Refactors zine `cover` metadata from a filename string to a strict `{ src, alt }` object, updates asset resolution/types accordingly, and enforces non-empty alt text in validation. The zine grid and detail page now render accessible cover images (with updated cover-frame styling and content order), adds a real cover asset for `zine-making-kit`, and updates fixtures, tests, and docs to match the new schema and behavior.
Adds end-to-end zine intake: a `05-new-zine.yml` issue template, `process-new-zine-issue.mjs` script, `zine-intake-helpers.mjs` pure helpers, and `new-zine-intake.yml` workflow. Valid submissions stage `submission.json` + `index.md` in `zines-drafts/` on a stable `automation/new-zine-<number>` branch. The submission card in the library now links to the GitHub issue form. Adds author byline to activity guide cards. Updates docs, tests, and the test runner.
Expand the Organizer Kit zine guide with a new “How to Make a Zine” section, including a one-page folding illustration and attribution. Add shared prose styles for image captions and document the caption pattern in AGENTS.md so future Markdown content can reuse it consistently.
Felt unnecessarily restrictive
This removes the summary text from the zine library cards and updates the library intro to point readers to the Making a Zine instructions page.
Renames the organizer-kit zine library components from `ActivityGuide*` to `Zine*` for clearer, consistent naming. Updates the organize catch-all page imports/usages to the new component names and changes the submit CTA text to “Submit a Zine.”
Replaces the single copy-markdown button with a richer docs action menu that copies markdown or the page permalink, opens a QR code dialog, and keeps the GitHub edit link. Adds the qrcode dependency and the related layout/style updates for the Organizer Kit pages.
@SableRaf
SableRaf marked this pull request as ready for review September 1, 2026 14:57
@SableRaf
SableRaf merged commit 955d652 into main Sep 1, 2026
4 checks passed
@SableRaf
SableRaf deleted the activity-guide-library branch September 1, 2026 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant