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.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make it possible to create and select incident filters #1122
Make it possible to create and select incident filters #1122
Changes from 19 commits
6f68d87
48dbe1c
b3bbcbb
a6f9de2
08fbf21
68ef51d
781b8b9
ad8423c
ac42088
ebbb149
f2de849
01de5c3
beba7b2
9ab86d4
5625987
73c59d8
55b6cf0
06c8652
e6d3ad7
6034cd8
b6311a0
91a5b79
c0a1e83
42dceca
52cd007
62be934
b1c45b5
c9c7b36
0cd72b9
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is a nice candidate for extending the filter plugin system (which is currently only
get_filter_function
). If we can override filter validation and creation ofFilter
s, we can also make use of this endpoint (and others concerning filters). Don't think it'll have to be this pr thoughThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Out of scope now, yes, let's make it work first. Also we should have update and delete filter working first I suspect!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest placing this inside
incident_list_filter
instead of in the view. This keeps both the view and the filter-plugin interface cleanThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unclear. The session stuff or raising the 404 or both?
I'm not too fond of raising 404 directly in
incident_list_filter
.