-
Notifications
You must be signed in to change notification settings - Fork 367
wip-sheriffed-frameworks #8661
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
base: master
Are you sure you want to change the base?
wip-sheriffed-frameworks #8661
Conversation
060e0c7
to
022b3b1
Compare
@@ -418,6 +419,19 @@ def _timerange(self, queryset, name, value): | |||
push__time__gt=datetime.datetime.utcfromtimestamp(int(time.time() - int(value))) | |||
) | |||
|
|||
def _show_sheriffed_frameworks(self, queryset, name, value): |
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.
We should centralize them in a constant
@@ -207,6 +212,9 @@ class AlertsView extends React.Component { | |||
if (listMode && params.framework === doNotFilter) { | |||
delete params.framework; | |||
} | |||
if (listMode && params.framework === -2) { |
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.
Add a comment to explain why we do this
022b3b1
to
039397e
Compare
@@ -271,6 +279,10 @@ class AlertsView extends React.Component { | |||
if (hideAssignedToOthers) { | |||
params.with_assignee = user.username; | |||
} | |||
console.log(framework); | |||
if (framework.id === -2) { |
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.
add comment that this is meant to be a ui artifice / workaround
No description provided.