Dandelion is a fair source project. View the code on Github · See the design guide

Commits on Oct 13, 2026
00fcf3f

Run CI's linters through script/lint, so their commands and flags are set in one place. The lint job repeated each linter's command, which script/lint also had, so the pre-commit hook and CI could drift apart: now each of its steps runs script/lint --all --only

2ffb80d

Report to Sentry when the Daily can't be made. OpenRouter.chat returns nil, rather than raising, when the model doesn't answer, so Daily.publish dropped an edition missing a summary without a word, and as only late:errands makes them, that date then had none. It now reports a Daily::GenerationFailed naming the date and the articles with no summary. Errors raised while making it already reached Sentry through its Rake integration.

Claude-Session: https://claude.ai/code/session_01AXX2dj7xkktFHvnAWmgUFQ

a108ad9

Open the latest Daily for any date param that won't parse, as with no date, rather than today, or a 500. Only Date::Error was rescued, so a date over 128 characters (a plain ArgumentError, Date::Error's parent) or date[]= (an array, so TypeError) raised; garbage that did raise Date::Error fell back to today, which says "Still at the printers" until late:errands has run.

Claude-Session: https://claude.ai/code/session_01AXX2dj7xkktFHvnAWmgUFQ

4b7f188

Add the Daily's notice to the design guide as .empty-notice, a second kind of empty state: for a page whose whole content is missing, centred, with an icon in a circle, a title, a line of text and an optional button, beside the plain grey phrase for an empty list or table. Its styles move from daily.css to app.css so the guide can show it, as loading daily.css there would also shrink the guide's average rating.

Claude-Session: https://claude.ai/code/session_01AXX2dj7xkktFHvnAWmgUFQ

f14d16c

Stop the Daily's arrows leading crawlers through endless empty dates. Each arrow went to the day before or after, so a crawler could follow "previous" back through every date, each a "Not available" page. They now go to the nearest date with an edition (Daily.previous_date, Daily.next_date), and greyed out where there is none; forward still reaches today before late:errands has made it. A past date with no edition is now a 404, keeping the Daily's own notice: the app's not_found handler leaves a page alone when the route sets @own_not_found_page. A future date stays a 200, as it will have an edition, with X-Robots-Tag: noindex.

Claude-Session: https://claude.ai/code/session_01AXX2dj7xkktFHvnAWmgUFQ

6c9d2dc

Open /daily on the latest edition rather than today's, so it doesn't say "Still at the printers" each night until the errand has run. Daily.latest_date is the latest date up to today with a stashed edition, found from the key range on the key index; with none, /daily is today, as before. The notices' button now reads "Read the latest Daily", shown whenever there is one.

Claude-Session: https://claude.ai/code/session_01AXX2dj7xkktFHvnAWmgUFQ

0ca795e

Show a printer rather than an hourglass on the Daily's "Still at the printers" notice.

Claude-Session: https://claude.ai/code/session_01AXX2dj7xkktFHvnAWmgUFQ

7139425

Title the Daily's notice for an edition that isn't out yet "Still at the printers", with "This edition of the Daily isn't out yet. Check back soon!" beneath it, so the two don't both say printed.

Claude-Session: https://claude.ai/code/session_01AXX2dj7xkktFHvnAWmgUFQ

efd281d

Centre the Dandelion Daily's notices for a date with no edition, with an icon in a hairline circle, a title and a line of text: "Not out yet" (an hourglass) for today before the errand has run and for later dates, and "Not available" (a newspaper) for earlier dates with none. Dates other than today link back to today's Daily.

Claude-Session: https://claude.ai/code/session_01AXX2dj7xkktFHvnAWmgUFQ

d76232e

Make the Dandelion Daily only in late:errands. Opening a date with no edition wrote one on the spot, a 16-38 s request, and half the old dates were Googlebot's: today's edition was made by Googlebot at 01:01 UTC, an hour before the errand got there. Daily.publish(date) now makes and keeps an edition only if the date has none, and Daily.edition(date) just reads it, so /daily renders it straight away rather than loading it as a pagelet. A date with no edition says it isn't available, or, for today or a later date, that it isn't out yet and to check back soon. An edition with no facilitator of the day no longer fails to render.

Claude-Session: https://claude.ai/code/session_01AXX2dj7xkktFHvnAWmgUFQ

c589d0b

Read UTF-16 and tab-separated follower CSVs, skip rows without an email, and reject unreadable CSVs on upload. Excel's "Unicode Text" export is UTF-16 with a BOM, which sanitize took for Windows-1252, so parsing failed with "Illegal quoting in line 1"; it's now decoded as UTF-16, and a header row with tabs and no commas is parsed as tab-separated. A row with no email (a blank row, or a file whose column isn't headed email) crashed the job on email.downcase; those rows are now skipped. Uploads to the organisation, local group and activity followers pages are checked before the job is queued, so an unreadable file or one with no email column shows an error instead of failing silently in the background.

Fixes DANDELION-43 Fixes DANDELION-44

a4a0553

Label discount badges with their code instead of a tooltip. A fixed discount read "£5 discount applied" and a percentage one just "10%", with the code and the kind of discount only in a tooltip, so a discount code and a monthly donor discount looked the same. The badges in the orders table and on ticket prices now read CODE: £5, CODE: 10% (Discount: when the order has no code) and Monthly donor: 5%, all with me-1 between them. The design guide's examples follow.

4c7f9ca

Explain in AGENTS.md that Dandelion is built with many agents. A new Many agents section says how the repo stays equally usable by Claude Code, Codex, Cursor, opencode and others: this file is every agent's instructions, with no tool-specific instruction files to drift from it; rules that code can check are enforced where every agent passes, the pre-commit hook and CI, not by one tool's hooks; setup is shared through script/agent-env; MCP servers are defined once in .mcp.json; commits take only your own changes in a shared checkout; and the AI workflows run each agent on the same prompts.

73ecc25

Lint staged files before each commit, with script/lint. script/lint runs CI's linters with CI's flags, each on the files of its kind, in place of the four commands AGENTS.md listed: script/lint FILE... lints files on disk, --all everything, and a changed linter config runs that linter on everything, as CI does. The pre-commit hook in .githooks runs script/lint --staged, which pipes each staged file's staged version to its linter, so other sessions' unstaged edits in a shared checkout don't count. script/agent-env/install.sh points core.hooksPath at .githooks for cloud agents; AGENTS.md says to set it once in a checkout of your own, and never to skip the hook with --no-verify.

8e1e048

Check rgb() and named colours, radii, blurred shadows and px insets with Stylelint. AGENTS.md said colours, radii and shadows come from tokens, but the check only caught hex values: it now also flags rgb()/hsl() of numbers and named colours outside custom property definitions (rgba(var(--bs-black-rgb), a), which the design guide uses for translucent black, still passes), lengths in radii, and shadows with blur, which should be one of Bootstrap's three elevations. The px check now covers top, right, bottom and left as well as inset. The date tile's .3em corners and a 1px icon nudge in app.css are disabled with reasons. AGENTS.md's spacing rule now matches the design guide, which allows values off the scale to match another control or a layout dimension.

c03720a

Catch two more forms in the ParamsBlank and CapybaraRefuteHas cops. ParamsBlank now follows dig as well as [] back to params, so params.dig(:event, :name).present? is flagged. CapybaraRefuteHas now flags assert_equal false, page.has_css?(...), which waits the full timeout like refute does, and knows the element, ancestor and sibling matchers.

7f8a8c2

Check template literals and the .label class with ESLint. AGENTS.md said ESLint shared DesignClasses' .label rule, but it had none: it now flags label in a class attribute or added with addClass or toggleClass. The -success, badge-*, .label and d-none rules now look in the static parts of template literals too, where our scripts build most of their HTML, through a strings() helper that selects both kinds of string.

3959c29

Check the conditions of if, unless and elsif tags in templates. erb_lint runs RuboCop on each tag's Ruby on its own and silently skips any that doesn't parse, as these don't without their end (Shopify/erb_lint#332), so our cops never saw a condition like <% if params[:q].present? %>. RubocopTags (.erb_linters/rubocop_tags.rb) replaces the Rubocop linter, closing such a tag before checking it, with elsif padded into an if of the same length so columns stay put. It found fourteen assignments in conditions, now in parentheses as Lint/AssignmentInCondition asks and as our Ruby files have them.

54a3701

Remove CLAUDE.md, whose only line imported AGENTS.md. Claude Code reads AGENTS.md itself from 2.1.277 when a project has no CLAUDE.md.

850789c

Name transactions by the route's parsed format, not the path's extension

/u/nika.shoot was named GET /u/:username.shoot, as if .shoot were a format, when the dot is part of the username.

Claude-Session: https://claude.ai/code/session_01Qf9yYAx1tsb8n8KoT7yi4B