-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make filters box collapsible in React competitions overview #10461
Make filters box collapsible in React competitions overview #10461
Conversation
gregorbg
commented
Dec 22, 2024
|
Changes
Nits
|
Won't fix right now, see below
This only works to a degree. If you make the screen narrow enough, you can always find a breakpoint where it "doesn't quite fit" anymore, and as pointed out elsewhere 320px is already quite a stretch. Even the iPhone SE has 375px.
Out of the scope of this PR, although I will be happy to create a follow-up. When that is done, it will also make much more sense to move the "Show cancelled competitions" into the filter (see above).
Won't fix. First off, it reuses the exact same wording as the current legacy page. Second, it really always depends on the translation and how long the term "Upcoming" is until the line wraps and the counter breaks. I am open for more creative ideas about label placement, though.
Done ✔️
Done ✔️ That is, they are more compact now and should need less line breaks. I won't dig much deeper than this, because it pretty much imitates the legacy layout where they are also quite "squeezed-together". |
Re sizing issues: I naively assumed that the default resolution in dev tools' mobile view was representative of the average user's phone size, but that turns out is quite false :D Happy with the spacing at 360px - the most common screen width according to Google Otherwise happy with the changes, and have opened issues for the out-of-scope ones If you can resolve the conflicts - I tried, but CompetitionsView is nontrivial - then I'll give it a final spin before approving and deploying to staging for feedback |
Merge conflicts resolved! |