Skip to content

Commit 28ddd3b

Browse files
committed
Update documentation for new template structure
1 parent ddccdcd commit 28ddd3b

File tree

3 files changed

+33
-4
lines changed

3 files changed

+33
-4
lines changed

NOTES.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,28 @@ This file documents changes to Argus that are relevant for operations,
44
customizers and end-users.
55

66

7+
## Unreleased
8+
9+
### Incident list filter UI refactoring
10+
11+
The incident list filter UI has been refactored. The tabbed interface with
12+
"Filter Incidents" and "Update Incidents" tabs has been replaced with:
13+
14+
- A collapsible filterbox (hidden by default, toggled with "Show/Hide filters")
15+
- A dynamic bulk actions bar that appears when rows are selected
16+
17+
**Template changes for customizers:**
18+
19+
The template `_incident_list_menubar.html` is now **deprecated** and will be
20+
removed in a future version. It currently acts as a shim that includes the new
21+
`_incident_toolbar.html` template.
22+
23+
If you have overridden `_incident_list_menubar.html`, your override will still
24+
be loaded, but you should migrate to the new templates:
25+
26+
- `_incident_toolbar.html`: Contains the full toolbar (filter controls + bulk actions)
27+
- `_filter_controls.html`: Contains the filter select dropdown, CRUD buttons, and show/hide toggle
28+
729
## [2.6.0] - 2026-01-06
830

931
This is a tiny release to finish up what was started at the end of 2025.

changelog.d/1693.changed.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Refactor incident list filter UI with collapsible filterbox and dynamic bulk actions bar.
2+
3+
NOTES:
4+
The template `_incident_list_menubar.html` is deprecated; override `_incident_toolbar.html`
5+
or `_filter_controls.html` instead. See NOTES.md for details.

docs/development/howtos/htmx-frontend/override_templates.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,12 @@ Below is a list of templates that you may want to override for your use cases. T
7171
an extensive list, but can provide entry points or inspiration:
7272

7373
* ``htmx/base.html``: add or remove nav links
74-
* ``htmx/incident/_incident_list_menubar.html``: remove the ``_filter_controls`` widget from the
75-
filter box. This requires a full template override by copy/pasting the original template and modifying its content
76-
* ``htmx/incident/_incident_list_update_menu.html``: add custom action buttons to the "Update
77-
Incidents" tab in this incident list
74+
* ``htmx/incident/_incident_list_menubar.html``: **deprecated**, use ``_incident_toolbar.html`` instead
75+
* ``htmx/incident/_incident_toolbar.html``: customize the toolbar containing filter controls and
76+
bulk actions
77+
* ``htmx/incident/_filter_controls.html``: customize the filter select dropdown and related controls
78+
* ``htmx/incident/_incident_list_update_menu.html``: add custom action buttons to the bulk actions
79+
menu
7880
* ``htmx/incident/cells/*.html``: customize how incident list column cells are rendered
7981
* ``htmx/incident/incident_detail.html``: customize the indicent details page
8082
* ``htmx/incident/incident_list.html``: add additional content to the incident list page, outside

0 commit comments

Comments
 (0)