Change filter/sort/search bar
Opened by @Elblinator · Assignees: @Borreg0
Solve & Merge Reward: Up to +211 XP & +60 Coins
+30 XP on PR open · +180 XP & +60 coins on merge · +1 star XP (36 stars)
Claim Status & GitHub Signal
Assigned on GitHub (@Borreg0). Check recent comments before starting duplicate work.
Estimated from issue labels (feature, good first issue, Schrödinger), TypeScript context, and discussion depth. There are 4 GitHub comments to review for maintainer clarifications. Note: this is an estimate, not a guarantee.
What It's About
Change filter/sort/search bar . As discussed in the dev-meeting, the behaviour and design from the filter, sort and search bar should change: - [x] add icons for filter and sort 3388 - [x] change the icon for search 3388 - [x] in mobile only the icons should be visible 3388 - [ ] in mobile i
Why It Matters
Resolving #3239 improves reliability and developer experience in OpenSlides/openslides-client.
Expected Outcome
A focused pull request addressing #3239 with relevant checks or tests verified locally.
Log in to compare this issue's requirements against your profile skills. Required concepts: TypeScript, Data Structures & Algorithms.
Progressive AI Hints
Hint #1 is always free and calibrated to your experience level. Extra hints unlock with coins without spoiling the full solution.
Skill-Gap Learning
Issue Description
As discussed in the dev-meeting, the behaviour and design from the filter, sort and search bar should change:
- add icons for filter and sort #3388
- change the icon for search #3388
- in mobile only the icons should be visible #3388
- in mobile if an option (filter/sort) is activated only the number should be displayed behind the icon #6765
- in mobile if search is empty and not in focus the input-field should shrink back to only the icon #6765
removed because not relevant for this issue
- <s>in mobile if search is activated the icon for filter and sort should vanish</s>
- <s>filter and sort (while you actively select stuff) should fill the whole screen</s> this will be moved to it's own issue, and can be ignored here
Edited 2024-05-24
Linked Pull Requests (0)
No linked or cross-referenced pull requests detected via GitHub timeline. Check comments below for informal claims before starting.
GitHub Comments (4)
add icons for filter and sort
in mobile only the icons should be visible, change the icon for search
sort-list with the new icon -refresh- to reset to default sort
in mobile if an option (filter/sort) is activated the the name should be displayed. The selected filters are shown in the bar. Selected Filters can be slide from right to left and deleted by touching the cross.
by touching the new search icon a search field opens. The filter icon turns smaller, so the count of the filters will be visible.
icon names: sort: sort filter : filter_list search: manage_search
Point which needs discussion:
in mobile if an option (filter/sort) is activated only the number should be displayed behind the icon
This contradicts the mock-ups, should only the number be displayed or should the selected filter be displayed as well?
in mobile if search is activated the icon for filter and sort should vanish in mobile if search is deactivated the icons for filter and sort should reappear and if empty the input-field should shrink back to only the icon
If a word is written in the search field, then the search field currently will not vanish at all, how should this be handled when you want to use the search field and the filter/sort at the same time? Should sort and filter really vanish? What is the wanted behaviour click path to make the sort and filter icon reappear?
filter and sort (while you actively select stuff) should fill the whole screen
If I remember correctly the sort window should be changed to have the same look as the filter options. This as far as I can see will need changes which rework the sort appearance a lot. I would like to have an estimate of how muc hwork this is and if this should maybe be it's own issue
The description of the Issue is updated according to the answers
Issue Troubleshooting Threads (0)
No troubleshooting threads opened for this issue yet. If you hit a test, build, or navigation blocker, post what you've tried so fellow contributors can help.
PR Verification & Rewards
Sign in and link GitHub to verify your PR against this issue and earn XP + coins.
Contribution Workflow
Track your local progress before opening a pull request on GitHub.
Repository Context
Top Repository Paths
Advisory PR Assistant
Helps structure your PR description or unpack reviewer feedback. Does not perform GitHub actions.