Skip to content

Redesign Part 4 - New design for public competitions page - #2722

Merged
Didayolo merged 7 commits into
developfrom
redesign_public_competitions
Nov 20, 2026
Merged

Didayolo merged 7 commits into
developfrom
redesign_public_competitions

Conversation

@ihsaan-ullah

@ihsaan-ullah ihsaan-ullah commented Nov 7, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Public competitions page

Layout

  • Competitions are shown with the same cards as the home page, 12 per page
  • The page title has the same size as the other redesigned pages
  • New empty page messages: one when there are no public competitions, and one with a Clear filters button when nothing matches
  • The external competitions banner uses the new theme

Search, filters and sort

  • Search by title, with filters that can be opened and closed, and a sort menu
  • Active search and filters are shown as small pills that can each be removed, plus Clear all
  • The search, filters and sort stay in the page address, so refresh, back and shared links keep them
  • The page links keep the search and filters
  • Competitions with the same submissions count keep a fixed order, so none shows on two pages or missed from any page

Logged out visitors

  • Create and Upload buttons, and the personal filters are hidden
  • Personal filters in the address are ignored instead of showing an error

Shared styles

  • New shared button styles, with a large and a small size
  • Used on the home page, the Organizations page, the empty page message and the Copy BibTeX button

Other

  • The page and the public competitions API now use the same filters
  • Removed the old page code

Tests

  • Added tests for the new page: filters, sort, pages, empty messages, logged out visitors and hidden emails

Screenshots

New page without any filters applied
screencapture-localhost-competitions-public-2026-11-07-17_42_15

With filters applied
screencapture-localhost-competitions-public-2026-11-07-17_43_31

Checklist

  • Code review by me
  • Hand tested by me
  • I'm proud of my work
  • Code review by reviewer
  • Hand tested by reviewer
  • CircleCi tests are passing
  • Ready to merge

@Didayolo

Didayolo commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

@ihsaan-ullah Very nice.

I just wanted to warn you that @Mindr0ide's PR we just merged might be conflicting with this one, so you'll need some rebasing / conflict merging:

Indeed, he added tags in the filters of the public competitions page. You'll need to move the tag select interface into your new filter interface.

Capture d’écran 2026-11-12 à 15 21 25

@ihsaan-ullah
ihsaan-ullah marked this pull request as draft November 13, 2026 10:42
@ihsaan-ullah
ihsaan-ullah force-pushed the redesign_public_competitions branch from b247cb0 to 40fc06f Compare November 14, 2026 08:04
@ihsaan-ullah

Copy link
Copy Markdown
Collaborator Author

I updated the public page and related code to accommodate the new additional filters.

Here is the new look of the page:
screencapture-localhost-competitions-public-2026-11-15-18_41_45

Here is the new competition card with tags and a bit of design update:
Screenshot 2026-11-15 at 3 37 09 PM

Here is the filter panel with nothing selected:
Screenshot 2026-11-15 at 3 37 27 PM

Here is the filter panel after multiple options are selected:
Screenshot 2026-11-15 at 3 37 55 PM


Below is the latest commit message which explains what updates are done:

Redesign the benchmark cards and adapt the tags and filters to the new design

Cards

  • The cards on the home page and the public competitions page have a new layout
  • The organizer is shown on its own line with their profile photo, or the first letter of their name when there is no photo
  • The start date, participants, submissions and prize are shown as small pills with new icons
  • The tags are shown on one line at the bottom of the card, with a +N more label when they do not fit
  • The tags use the page colors instead of one color per category
  • Hovering a tag shows its category, hovering +N more lists the hidden tags, and hovering a pill shows what it is
  • Cards without tags show No tags
  • All tags of a competition are now shown on the card, sorted by category and name, instead of at most five per category

Public competitions page

  • The tag, date and match filters are adapted to the redesigned page
  • Tags are picked from one dropdown for each tag category, with a search to find a tag
  • Tag choices apply when the dropdown closes, so several tags can be picked at once
  • The match option shows Any filter first, as the default, and All filters second
  • Has reward is renamed to Has a prize, in its own Prize group
  • The search also finds competitions by the name of the organizer, like the API
  • Each filter is shown as a label under the search bar, with its category or type in front, for example Conference: NeurIPS
  • When filtering by tags, the matching tags are shown first on the cards and highlighted
  • The page keeps its scroll position after a filter change
  • The Upload button uses an icon that matches the style of the Create button

API

  • The public competitions API and the page share the same filter and sort code
  • Tags can be sent as repeated values or as a comma separated list
  • The has_reward filter is renamed to has_a_prize
  • The API documentation lists every filter of the public competitions API with its type, values and an example
  • The API documentation now shows the parameters of every endpoint in the order they are written in the code, instead of A to Z, so related ones stay together, for example start_date before end_date

Tests

  • Updated the home page card tests for the new card
  • Added tests for the tag, date and match filters on the page, the filter labels, the tag dropdowns and the matching tags on the cards
  • Added tests for reading tag ids and dates from the URL, and for sending tags in both ways to the API

Documentation

  • Added a section to the participant guide about finding a benchmark or competition with the search, sort and filters

@ihsaan-ullah
ihsaan-ullah marked this pull request as ready for review November 15, 2026 17:51
@ihsaan-ullah
ihsaan-ullah force-pushed the redesign_public_competitions branch from 1e0682b to 4f584d2 Compare November 18, 2026 12:34
@Didayolo Didayolo self-assigned this Nov 19, 2026
@Didayolo
Didayolo self-requested a review November 19, 2026 18:42
@Didayolo

Copy link
Copy Markdown
Member

@ihsaan-ullah

For me it looks like the search bar is not doing anything:

Capture d’écran 2026-11-19 à 19 46 30

@ihsaan-ullah

Copy link
Copy Markdown
Collaborator Author

@ihsaan-ullah

For me it looks like the search bar is not doing anything:

The search works when you press enter. If that is a problem we can change this behaviour in next PR.

@ObadaS

ObadaS commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator

@ihsaan-ullah
For me it looks like the search bar is not doing anything:

The search works when you press enter. If that is a problem we can change this behaviour in next PR.

I think this is much better than what we have now since it will make a lot less requests to the database. Right now, if someone wants to search something and types out the request in the search bar, it will spam the database with requests

@Didayolo

Copy link
Copy Markdown
Member

Yes, this is a nice design. I'll try again because I think nothing happened when I pressed enter.

@ihsaan-ullah

Copy link
Copy Markdown
Collaborator Author

Indeed there was a problem with the search. The latest commit fixes it.

@Didayolo

Copy link
Copy Markdown
Member

Works perfectly now. It is nice to have a GET query for the search.

- Add one file with the button styles for the redesigned pages
- Add a large and a small size
- Use them on the home page, the Organizations page and the empty page message
- Show competitions with the home page cards, 12 per page
- Add search, filters that can be opened and closed, and a sort menu
- Keep the search, filters and sort in the page address and in the page links
- Show the empty page message when nothing is found
- Hide Create, Upload and the personal filters for logged out visitors
- Keep a fixed order for competitions with the same count, so none shows on two pages
- Use the new theme for the external competitions banner
- Use the same filters for the page and the public competitions API
- Remove the old page code
- Add tests for the new page
- Hide the Create and Upload icons from screen readers so the links are named only by their text
- Find the Create and Upload links by their text in the e2e tests, so changing an icon does not break them
…w design

Cards
- The cards on the home page and the public competitions page have a new layout
- The organizer is shown on its own line with their profile photo, or the first letter of their name when there is no photo
- The start date, participants, submissions and prize are shown as small pills with new icons
- The tags are shown on one line at the bottom of the card, with a +N more label when they do not fit
- The tags use the page colors instead of one color per category
- Hovering a tag shows its category, hovering +N more lists the hidden tags, and hovering a pill shows what it is
- Cards without tags show No tags
- All tags of a competition are now shown on the card, sorted by category and name, instead of at most five per category

Public competitions page
- The tag, date and match filters are adapted to the redesigned page
- Tags are picked from one dropdown for each tag category, with a search to find a tag
- Tag choices apply when the dropdown closes, so several tags can be picked at once
- The match option shows Any filter first, as the default, and All filters second
- Has reward is renamed to Has a prize, in its own Prize group
- The search also finds competitions by the name of the organizer, like the API
- Each filter is shown as a label under the search bar, with its category or type in front, for example Conference: NeurIPS
- When filtering by tags, the matching tags are shown first on the cards and highlighted
- The page keeps its scroll position after a filter change
- The Upload button uses an icon that matches the style of the Create button

API
- The public competitions API and the page share the same filter and sort code
- Tags can be sent as repeated values or as a comma separated list
- The has_reward filter is renamed to has_a_prize
- The API documentation lists every filter of the public competitions API with its type, values and an example
- The API documentation now shows the parameters of every endpoint in the order they are written in the code, instead of A to Z, so related ones stay together, for example start_date before end_date

Tests
- Updated the home page card tests for the new card
- Added tests for the tag, date and match filters on the page, the filter labels, the tag dropdowns and the matching tags on the cards
- Added tests for reading tag ids and dates from the URL, and for sending tags in both ways to the API

Documentation
- Added a section to the participant guide about finding a benchmark or competition with the search, sort and filters
@Didayolo
Didayolo force-pushed the redesign_public_competitions branch from ebd6fed to e4cf2da Compare November 20, 2026 16:29
@Didayolo
Didayolo merged commit 18b88ff into develop Nov 20, 2026
3 checks passed
@Didayolo
Didayolo deleted the redesign_public_competitions branch November 20, 2026 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants