Repository navigation
Try the features of Symfony UX 3.7, and the rest of UX - #120
Merged
Merged
Conversation
The next page no longer skips QOTD when the ones already displayed get voted.
Only the pages that use them need these libraries.
The font is 97 KB of CSS, plus the font file, for three icons.
Filtering no longer scrolls back to the top. The filters are permanent, morphing would remove the DOM added by Tom Select.
The search stopped at the first 15 results.
The formulas are neutralized: a QOTD is what anyone wrote on Slack, and spreadsheets run such cells.
A LiveComponent refreshed by an event emitted on each vote.
The form is saved by a LiveAction: a re-render and a form submission cannot share a stateless CSRF field. Its change event would start a re-render with the previous value during the submission.
The charts no longer block the page. The period is a single chart bound to the URL, and a click on a slice lists the QOTD of its author.
AutocompleteChoiceType replaces the custom autocompleter and its choice loader. The preferred choices are the authors the user votes for the most: the authors were already sorted by number of QOTD.
They replace the hand-made modal and notification, and the Clipboard recipe copies a QOTD.
The images are resized in the browser before the upload, and the rejected files are explained.
The dev stack resizes them with an IPX service. The default DSN renders the originals: production needs nothing new.
Each user keeps up to 10 favorite QOTD and reorders them by drag and drop.
A worker publishes on private topics, and every open page updates through Turbo Streams, with a native notification from UX Notify. Disabled by default: only the dev stack comes with a hub and a worker.
The locale comes from the browser, or from the switcher in the navbar. UX Translator only dumps the "js" domain, the messages of the JavaScript.
It was 2600px high: nl2br doubled the line breaks of a <pre>, and the useful details came last. The raw data now lives in tabs, and a cancelled vote no longer counts as a vote.
Ranked bars replace the doughnuts, without the slice of the other users that crushed the rest. Two charts replace the dual axis, whose scales suggested a correlation. The periods are the latest 100 ones: the query kept the oldest.
The context of the QOTD comes first, then its tools, then the top and the votes.
Event listeners, commands, Messenger routing, Twig functions and templates are declared where they apply. The subscribers become listeners, and a constraint validates the position in the top.
lyrixx
force-pushed
the
ux-3-7-features
branch
from
November 7, 2026 20:15
3fca7b6 to
d83433d
Compare
lyrixx
marked this pull request as ready for review
November 7, 2026 20:19
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.
This project is the sandbox for Symfony UX: follow-up of #119, this tries what 3.7 brings and the packages not used yet. One commit per feature.
New: live votes and new QOTD banner (Mercure), French interface, personal top, images on a QOTD, several authors in the filter, paginated search with CSV export, stats and details modal reworked.
Before deploying
my_toptable.LIVE_UPDATES_ENABLED=0): they need a Mercure hub and a Messenger worker, only the dev stack has them.UX_IMAGE_DSN=null://null).Behaviour changes
?author=xto?authors[]=x: old links lose the filter.Screenshots
From the dev fixtures: one QOTD per author, so the rankings are flat.
Stats: ranked bars, and one chart per measure
Details of a QOTD
My top
Images, with Dropzone
Live validation