Dandelion is a fair source project. View the code on Github · See the design guide
Commits on Oct 09, 2026
| 1f7a2f9 |
Fix bugs in app.js. .compact-urls shortens each long link's text rather than running a greedy regex over the element's HTML, which merged two links into one. The loader no longer starts for downloads (download attribute, .csv, .pdf, .ics), which fire beforeunload but never leave the page, so it spun forever. A #photo- hash containing a quote no longer throws and stops the rest of the setup. Destroy links are confirmed only when their path ends in destroy, matching when they're sent as a POST. The mention search encodes its query, and the mention regex takes a literal hyphen rather than the range ' to . |
| d204c89 |
Upgrade Chart.js from 3.5.1 to 4.5.1, and chartjs-plugin-datalabels from 2.0.0 to 2.2.0, the first version that supports Chart.js 4. Version 4's dist/chart.js is an ES module, so the page loads dist/chart.umd.min.js, its browser build, which defines the same global Chart. A responsive chart in version 4 resized itself without end when its canvas sat directly in a flex column (the bar chart from _chart.erb and the doughnut on /design), so each canvas now has a container of its own, as Chart.js expects. |
| d47efff |
Upgrade intro.js from 6.0.0 to 8.6.0. Version 8 deprecates calling introJs() directly, so the four tours now start with introJs.tour(), which takes the same options. The minified file paths and the .introjs-tooltipReferenceLayer class that app.css overrides are unchanged. |
| e77ec60 |
Upgrade slick-carousel from 1.8.1 to 2.0.0. Version 2 makes Slick compatible with jQuery 4 (dropping $.type and .focus()) while still working with jQuery 3, fixes pausing autoplay on focus, swipeToSlide with centerMode and the dots' ARIA labels, and removes ids from cloned slides rather than blanking them. Its CSS lets text in the carousel be selected and shows a grab cursor only when it's draggable. The file paths are unchanged. |
| 8d1b2bc |
Handle clicks and changes from the document rather than binding them to each element after every AJAX request, so content added later needs no setup and the data-*-registered markers go. Confirming [data-confirm] and destroy links and sending data-method="post" and destroy links as a POST is now one listener in the capture phase. It runs before any other click handler, as the per-link handler did, and a cancelled click now stops there, so pagelets.js no longer needs the no-trigger class to skip it. The either-or checkboxes, submitOnChange, the 10MB file check, select placeholder colouring, comment options and the account modal are delegated jQuery handlers, with either-or bound before submitOnChange so a search submits with the other box already unticked. The edit, star and hide links on blocks now show on hover with CSS instead of jQuery hover, and also while the block has keyboard focus inside it. Star and hide links reloaded by their pagelet while the pointer is over the block now show straight away. |
| cf2e090 |
Upgrade linkify from 2.1.9 to 4.3.3. Version 4 moves the jQuery plugin into its own package, linkify-jquery, which loads after linkifyjs. Version 4 no longer opens links in a new tab by default, so the call in app.js sets target for URLs only, keeping v2's behaviour of opening web links in a new tab and email links in the same tab. |
| 62d3490 |
Upgrade typed.js from 2.0.10 to 3.0.0 on the signed-out homepage. Version 3 drops lib/typed.min.js, so the page loads dist/typed.umd.js, its browser build, which defines the same global Typed. Note that typed.js 3 is licensed GPL-3.0, where 2.x was MIT. |
| 7ba0388 |
Configure Coloris and open a linked photo once on page load, rather than after every AJAX request. Coloris listens on the document for [data-coloris] fields, so fields loaded later open the picker without it being configured again. #photo- links only come from Photo#url for gathering photos, which are in the page itself rather than in a pagelet, so they are there to open on load. |
| b61effb |
Move the quick theme colour circles and the DeepWiki Enter-to-send handler out of app.js into their partials. Each partial now carries a script that sets up just its own markup, so app.js no longer looks for them on every page and after every AJAX request. The DeepWiki box also appears on /contact and the docs pages, where docs_ask.js isn't loaded, so its handler lives in _deepwiki.erb. |
| d509ec1 |
Delete three pieces of dead code from app.js. Nothing has had the .labelize class since the profile sexuality and dating preference fields were removed. Nothing sets data-dropdown-close; the handler came from the old Infinite Admin theme. The quick theme colours still updated a bootstrap-colorpicker, which was removed in 2023: colour fields use Coloris, which never sets the colorpicker data the line checked for, so it never ran. |
| f99c398 |
Move scrollMessageThreadToBottom from app.js to the messages page, the only page that uses it. It's defined in a script at the top of messages.erb, next to the messages.css link, so it's there whenever the thread and send partials call it, including after a pagelet reloads them. |
| d02972c |
Load typed.js only on the signed-out homepage, the one page with the typewriter strapline, rather than on every page. Its script tag sits just above the code that uses it, as other single-page libraries (fullcalendar, jsQR, web3) do. |
| 6c20ac9 |
Replace jquery.typewatch with a few lines of debounce. Its only use was the search box on the orders page, which submits once typing pauses for half a second. A delegated input handler now does that, so it also covers fields loaded later without setup, and the plugin no longer loads on every page. |
| 2628940 |
Draw the Celo payment QR codes on the server rather than with qrcodejs. The purchase and gathering payment panels now show an |
| b9d7410 |
Combine the small jQuery helpers into utils.js. currencySymbol.js, deparam.js, serializeObject.js and jquery.lookup.js become one file, along with cssColor and hideTooltips from the top of app.js, so app.js is left with what it sets up on each page. utils.js loads first, so the helpers are defined before the other scripts run. |
| cb47306 |
Replace Masonry with CSS columns for the feedback quotes on the signed-out homepage. It was the only thing using Masonry, yet the library loaded on every page. The quotes now sit in two CSS columns from 768px up (one below), with break-inside: avoid so none splits across columns; they read down each column rather than across. |
| 8e81d58 |
Replace jquery-deparam with our own $.deparam in deparam.js. The package hadn't had a release since 2017. URLSearchParams now splits and decodes the query string, and nested keys are rebuilt as before: a[]=1&a[]=2 and a=1&a=2 give arrays, a[b][c]=1 gives nested objects. A malformed escape like %zz is kept as text rather than throwing, a=b=c gives 'b=c', and keys containing __proto__, constructor or prototype are ignored so a URL can't add properties to every object. The value coercion option was never used and is gone. Checked in the browser on /map, an organisation's calendar and the discount code box. |
| 1302436 |
Replace sticky-table-headers with CSS position: sticky on the event stats table. The page itself scrolls both ways (no ancestor of the table has overflow), so the real header row can stick under the fixed header at --header-offset, with the name column still sticking on the left and the corner cell above both. Because it's the real header rather than a floating copy, it no longer needs resizing after each DataTables redraw or hidden column, sorting works from it directly, and it works at every width rather than only above 992px. |
| e1952ee |
Give payment and gathering cards their bottom padding back. They used card-body pb-0, relying on the last field's mb-3 for the space below it, but .card-body > :last-child now zeroes that margin, so the last field sat on the card's edge. Without pb-0 the card's own padding provides the space, as on the Stripe card. |
| fd1f450 |
Show each package's latest release date on /stats/frontend_dependencies. It's the release time of npm's latest dist-tag, taken from the registry response we already fetch, so packages that have stopped releasing stand out next to the date of the version we pin. |