Skip to content

feat: filter content + move view all button#57

Open
ElijahFeldman7 wants to merge 1 commit into
TJ-Computer-Team:mainfrom
ElijahFeldman7:main
Open

feat: filter content + move view all button#57
ElijahFeldman7 wants to merge 1 commit into
TJ-Computer-Team:mainfrom
ElijahFeldman7:main

Conversation

@ElijahFeldman7
Copy link
Copy Markdown

The PR adds a feature for filtering submissions by:

  • Language
  • Problem
  • Verdict
    The menu is collapsible, starting off as such:
image

After clicking on filters, the menu comes up:
image

These contain collapsible fields, that can be multiselected:
image

Clear filters removes all filters. The options are only available if they are present, so if you only have python submissions you can only pick python or all.

Clicking apply filters at the top closes the menu and applies the filters via creating a csv and parsing it into lists to apply __in filters.

I also moved the view all button from
image

to
image

imo this placing looks a lot better and text isnt on two lines.

Let me know if you have any questions/ optimizations.

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.

1 participant