Merged
Conversation
f890b7f to
5d3af14
Compare
⛔ Feature branch deployment currently inactive.If the PR is still open, you can add the |
manuelmeister
approved these changes
May 7, 2025
0ef6eb3 to
1a082dc
Compare
Member
Author
Your version looks so much better! I tried to replicate it. I didn't manage to get a satisfying border, I had to use Anyways, have a look and feel free to improve the CSS or merge if ready. |
Member
|
@carlobeltrame can you have a look at it again? I tried to solve it using a component. |
manuelmeister
approved these changes
May 8, 2025
This is in anticipation of being able to use the same filtering logic in the prints in the future, e.g. to filter the printed schedule entries in a camp programme.
We ignore the error case when the filter object contains something other than an array in the responsible key for now. Since it throws an error, this should quickly surface during development if anyone uses it wrongly, or at least we will see it in sentry.
2b825cf to
a0ff737
Compare
Merged
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.

Adds counters indicating the number of results belonging to each filter option.
The counters adapt when more filters are added.
There is some complexity due to the different filter behaviours (AND vs OR, exclusive none, single vs. multiple), but I think I got the most intuitive version down for each filter.
Works both on the dashboard and on the picasso.
Also fixes #4951, and I moved the filtering logic to common, because of the following feature request: "Druckfilter (z.B. nur Blöcke wo ich Verantwortlich bin)". This PR is incidentally a first step in this direction.