Skip to content

add event list quick filter plugin - #1959

Open
felixrindt wants to merge 7 commits into
mainfrom
quick-filters
Open

felixrindt wants to merge 7 commits into
mainfrom
quick-filters

Conversation

@felixrindt

@felixrindt felixrindt commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

Some ideas for improvement:

  • more useful UI for the position field?
  • Highlight default groups in quick filter list view
  • refactor some setting views to use a common template
  • clicking on an active filter deactivates them which leads to
    • A (default): all event types
    • B (configurable in admin): the default filter (which is All if there is none)
  • validate that an empty types selection must be configured as default for those that the filter button is visible for
  • visible for and default for need better names but can be independent of each other

@felixrindt
felixrindt requested a review from jeriox October 30, 2026 16:50
@coveralls

coveralls commented Oct 31, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 81.461%. remained the same — quick-filters into main

@nikolsen1234-bit

nikolsen1234-bit commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

We've already implemented the event list filter on the events page, and gotten good feedback on it from users the last couple of days.

<td>
{% for group in filter.visible_for_groups.all %}
{% if group in filter.default_for_groups.all %}
<span class="badge bg-primary" data-bs-toggle="tooltip" data-bs-placement="top"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if we should use primary here? the group view has "dark" as highlight color

{% querystring types=None as query %}
{% endif %}
<a href="{{ query }}"
class="btn btn-sm {% if filter.is_active %}btn-primary{% else %}btn-outline-primary{% endif %}">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm not 100% happy with the UI yet.

  • a lot of primary color next to the "create event" primary button
  • the list display mode buttons (which work the same way) have secondary color
  • the old "filter" button is not solid when activated
  • the buttons don't have any label/context, is it easy to understand for users what they are/what they do?
  • on desktop it would make better use of space to display them in the same row as the action buttons

attaching images for reference

Image Image

@felixrindt felixrindt Nov 12, 2026 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did some minor tweaks but I did not arrive at something substantially better with todays round of review addressing. :/

image

@jeriox jeriox left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

feedback in this review provided by @lukasrad02

"label": _("Event List Quick Filters"),
"url": reverse("eventlistquickfilters:eventlistquickfilter_list"),
"active": request.resolver_match.url_name.startswith("eventlistquickfilter"),
"group": SETTINGS_MANAGEMENT_SECTION_KEY,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

general note: some plugins are under the management section in the settings and some plugins are in the management section of the main nav bar. maybe this should follow some logic?

This branch has not been deployed

No deployments
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.

4 participants