Dandelion is a fair source project. View the code on Github · See the design guide
Commits on Oct 14, 2026
| a733c5b |
Start generated avatars white rather than as a block of the theme colour. .avatar-initials put --theme-500 behind the stencil from the start, so it showed as a solid block until the PNG loaded; it now goes behind only once the image has loaded (avatar-loaded, set by app.js for images already loaded and, in the capture phase, any that load later), fading in over --transition-fast. |
| a133fb6 |
Read only text files on /stats/icons. Its glob of app, models and lib skipped fonts and images but not app/assets/videos, whose mp4s and jpgs aren't valid UTF-8, so scanning them for bi-* classes raised ArgumentError (DANDELION-47). It now globs *.{rb,erb,js,css,md,html}. Fixes DANDELION-47 |
| 373bf84 |
Drop lint exceptions the code can do without. The messages page hid its list on small screens with d-none d-lg-block and showed it again by removing d-none, which needed an ESLint disable: the row now takes messages-thread-open while a thread is open, messages.css hides the list below lg while it's there, and the Messages breadcrumb removes the class. The design guide's email preview is now a real email template, emails/_design_preview.erb, which the email override covers, rather than a string with a Stylelint disable. Its map info window mock takes Google's 12px padding and 8px radius from --space-sm and rounded, so its disable covers only Google's shadow. |
| fcf19f5 |
Show the opencode bug review's work as it goes, and fail it when it stops part-way. Its log was opencode's raw JSON events; it's now a trace of each tool call and each block of text, with opencode's own warnings and errors (--print-logs --log-level WARN), as its first run stopped after one tool call with no error and exited 0. A run whose last step never finished now fails, so the next run's review window still starts from the last run that did. |
| 9f875f2 |
Add an opencode daily bug review, beside Claude, Codex and Cursor's. It runs the shared prompt with opencode run --auto on OpenCode Go (OPENCODE_API_KEY secret), with OPENCODE_MODEL in models.env (opencode-go/gemini-4-argon-contributor), and writes the last text it gave to the job summary. |
| 19d0be4 |
Lint templates' CSS with Stylelint. The colour, radius, shadow and spacing rules only reached app/assets/stylesheets, so the |
| f45c6f6 |
Lint templates' JavaScript with ESLint. Their inline scripts and event attributes had no JavaScript checks beyond erb_lint's regexes. eslint.config.mjs now lints each template as one script, with everything else blanked so lines and columns stay put: inline |
| eaf71f8 |
Use jQuery for requests, not fetch, and check for it. The Copy linked image button, the organisation calendar, the docs' DeepWiki ask and the frontend dependencies stats page used fetch where everything else uses $.get, $.getJSON, $.post and $.ajax. They now use jQuery: the button wraps $.get in Promise.resolve, as ClipboardItem needs a real Promise, and the dependencies page drops fetch's force-cache, which gave the same sizes. ESLint's no-restricted-globals flags fetch in app/assets/javascripts, and a new erb_lint linter, JqueryRequests, flags it in templates. AGENTS.md lists both. |
| 787e736 |
Show Count before Total in the transactions tables. The DataTable's default sort moves with Total to column 5, so the tables still open by most total time. |
| fb75a64 |
List files for the stats pages with Dir.glob rather than Find. /stats/files, /stats/icons and /stats/sentry_spans called Find.find, which nothing loads any more, so they raised NameError (DANDELION-45, DANDELION-46). Dir.glob skips hidden files and directories, as /stats/files did by hand. |
| 5e54f66 |
Fetch the stats row's linked image when Copy linked image is clicked. The row built the image's url as it rendered, and the first time an image's url is asked for, dragonfly_config.rb's define_url stores a copy of it in S3, which took 1.1 s of a 2.1 s GET /e/:slug/edit (the route's p99), most often for a duplicated event's new image. The button now fetches the linked image from GET /events/:id/linked_image (event admins and revenue admins, as for the row) and copies it with navigator.clipboard.write. |
| dac5405 |
Show the error that locked an event in its locked alert. When a payment provider's error locks an event (e.g. GoCardless's "Creditor account not fully verified"), only the email to the organisation's admins said why. The event now stores the error and provider (locked_error, locked_error_provider, both protected), and the alert on the event page shows them to lock admins, in paragraphs, with the provider's advice. Saving the event unlocked clears them. |
| 21be082 |
Check an event's own organisation first in event_revenue_admin?, once per organisation. The events stats page builds each row's pagelet URL with event_revenue_admin?(event), and for an organisation's event managers (not admins) that cost several queries per event: the event's activity, local group and organisation, and an uncached event manager check. The Psychedelic Society's page, with 119 upcoming events, took 4-6 s for an event manager, over the 999-span cap. Admins and event managers of an event's organisation are always its revenue admins, so event_revenue_admin? now checks that first, cached by organisation id, and only falls back to Event.revenue_admin? for other events (co-hosted ones, on that page). An event whose organisation is gone gets false rather than organisation_admins_or_event_managers?'s fallback to @organisation. |
| 9bee511 |
Remove the Sentry link from the stats sidebar |
| 1918a38 |
Put Performance at the top of the stats nav, above Growth |
| aafc90a |
Don't look email domains up in DNS in tests. EmailAddress checks each new account's domain for mail servers, so every account a test saved made a live lookup, and gmial.com stopping resolving broke event_bookings' test that a mistyped domain is booked after confirming: the lookup took 10 s and failed, so the RSVP returned 400. Tests now check syntax only (host_validation: :syntax), so they don't depend on DNS; no test relies on a domain being rejected. |
| 2bd958b |
Keep the profile details beside the photo on desktop, and space wrapped badges. The details column (accounts/_top.erb) couldn't shrink below its longest unbreakable value, so a long website or email pushed it under the photo, left-aligned, in the profile modal: it now takes .profile-details (min-width: 0) and those links text-break. The info badges lost their top margin from lg up, so a wrapped row touched the one above: they now sit in a flex row with gap-1, centred below lg as before. |
| cc281e3 |
Stop event admins listing their event under another organisation. Event's cohosts_ids_cache could be set from the event form, and hosts_ids_cache is rebuilt from it on save, so event[cohosts_ids_cache][]= |
| 31395d0 |
Make mass_assigning an allowlist by kind of setter, and check that a ticket's ticket type belongs to its event. mass_assigning was a denylist over the setters Mongoid and Dragonfly generate, so each kind it missed was assignable from any form, and it didn't filter nested attributes at all: event[ticket_types_attributes][0][ticket_ids][]= moved another event's tickets onto your own ticket type, where they showed in your /events/:id/tickets list with their holders' details. Each model's form_attributes (CoreExtensions) now lists what gets through: permitted_attributes if the model has them, otherwise its own fields less ids, timestamps, foreign keys and attachment storage fields, plus assignable_foreign_keys, attachments and remove_ |
| 744305a |
Speed up the signed-in home page: render upcoming events once, load them once, and show at most 10 GET / for signed-in accounts had a p99 of about 3 s. Nearly all of it was events/my_upcoming, which rendered twice (the small-screen card and the sidebar's, only one of which shows), worked out the account's events for both exists? and each, and ran a page of queries per event with no cap. It's now rendered once and shown in both places, its events are loaded once with their organisation, activity and local group, and it lists the next 10 (See all your events links the rest). With the seed account's 9 events, the page's queries go from 146 to 81. Claude-Session: https://claude.ai/code/session_013TzcEktBLqAwAAauZ1HYF2 |