Skip to content
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

Global status search #3125

Merged
merged 30 commits into from
Oct 29, 2020
Merged

Global status search #3125

merged 30 commits into from
Oct 29, 2020

Conversation

VassilIordanov
Copy link
Contributor

@VassilIordanov VassilIordanov commented Aug 5, 2020

Release notes

Closes #3124
Closes #3123
Fixes #3245

User changes

  • users have a default search filter for status=ACTIVE, also active when no entity type is specified
  • common filters do not get reset while switching between search entity types
  • anet.yml needs change
  • db needs migration
  • documentation has changed
  • graphql schema has changed

Checklist

  • Described the user behavior in PR body
  • Referenced/updated all related issues
  • commits follow a repo#issue: Title title format and these 7 rules
  • commits have a clean history, otherwise PR may be squash-merged
  • Added and/or updated unit tests
  • Added and/or updated e2e tests
  • Added and/or updated data migrations
  • Updated documentation
  • Resolved all build errors and warnings
  • Opened debt issues for anything not resolved here

@VassilIordanov VassilIordanov changed the title Gh 3124 global status search Global status search Aug 5, 2020
@VassilIordanov VassilIordanov marked this pull request as draft August 5, 2020 01:00
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

ShiftLeft Scan Summary

Tool Critical High Medium Low Status
ShiftLeft Source code analyzer for Python 0 0 0 0
ShiftLeft Security audit for Infrastructure 0 0 0 0
ShiftLeft Class file analyzer 1 10 0 0
ShiftLeft Source code analyzer for Java 0 0 0 0
ShiftLeft Source code analyzer for JavaScript 0 0 12 0
ShiftLeft Source code analyzer for SQL 0 0 0 0
ShiftLeft Shell script analysis 0 0 0 0

Recommendation

Please review the findings from your Code scanning alerts before approving this pull request 👍

@lgtm-com
Copy link

lgtm-com bot commented Aug 5, 2020

This pull request introduces 12 alerts and fixes 1 when merging 88c54d5 into 217d241 - view on LGTM.com

new alerts:

  • 12 for Missing Override annotation

fixed alerts:

  • 1 for No clone method

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

ShiftLeft Scan Summary

Tool Critical High Medium Low Status
ShiftLeft Source code analyzer for Python 0 0 0 0
ShiftLeft Security audit for Infrastructure 0 0 0 0
ShiftLeft Class file analyzer 1 10 0 0
ShiftLeft Secrets audit 0 2 0 0
ShiftLeft Source code analyzer for Java 0 0 0 0
ShiftLeft Source code analyzer for JavaScript 0 0 12 0
ShiftLeft Source code analyzer for SQL 0 0 0 0
ShiftLeft Shell script analysis 0 0 0 0

Recommendation

Please review the findings from your Code scanning alerts before approving this pull request 👍

@lgtm-com
Copy link

lgtm-com bot commented Aug 5, 2020

This pull request introduces 12 alerts and fixes 1 when merging 41e5805 into 217d241 - view on LGTM.com

new alerts:

  • 12 for Missing Override annotation

fixed alerts:

  • 1 for No clone method

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

ShiftLeft Scan Summary

Tool Critical High Medium Low Status
ShiftLeft Source code analyzer for Python 0 0 0 0
ShiftLeft Security audit for Infrastructure 0 0 0 0
ShiftLeft Class file analyzer 1 10 0 0
ShiftLeft Secrets audit 0 2 0 0
ShiftLeft Source code analyzer for Java 0 0 0 0
ShiftLeft Source code analyzer for JavaScript 0 0 12 0
ShiftLeft Source code analyzer for SQL 0 0 0 0
ShiftLeft Shell script analysis 0 0 0 0

Recommendation

Please review the findings from your Code scanning alerts before approving this pull request 👍

@lgtm-com
Copy link

lgtm-com bot commented Aug 5, 2020

This pull request introduces 12 alerts and fixes 1 when merging 8cb78bc into 217d241 - view on LGTM.com

new alerts:

  • 12 for Missing Override annotation

fixed alerts:

  • 1 for No clone method

@VassilIordanov VassilIordanov force-pushed the GH-3124-global-status-search branch from 8cb78bc to 127af65 Compare August 5, 2020 04:55
@VassilIordanov VassilIordanov marked this pull request as ready for review August 5, 2020 05:01
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

ShiftLeft Scan Summary

Tool Critical High Medium Low Status
ShiftLeft Source code analyzer for Python 0 0 0 0
ShiftLeft Security audit for Infrastructure 0 0 0 0
ShiftLeft Class file analyzer 1 10 0 0
ShiftLeft Secrets audit 0 2 0 0
ShiftLeft Source code analyzer for Java 0 0 0 0
ShiftLeft Source code analyzer for JavaScript 0 0 12 0
ShiftLeft Source code analyzer for SQL 0 0 0 0
ShiftLeft Shell script analysis 0 0 0 0

Recommendation

Please review the findings from your Code scanning alerts before approving this pull request 👍

@lgtm-com
Copy link

lgtm-com bot commented Aug 5, 2020

This pull request fixes 1 alert when merging 127af65 into 217d241 - view on LGTM.com

fixed alerts:

  • 1 for No clone method

Make sure migration has a unique name.
Properly quote camelCased columns.
Use correct boolean type depending on database.
Remove text seemingly pasted at random.
… not present

Also, make AnetDevAuthenticator behave the same as AnetAuthenticationFilter - by not setting the domain username as name
@lgtm-com
Copy link

lgtm-com bot commented Sep 1, 2020

This pull request fixes 3 alerts when merging 807a513 into f3ca1cf - view on LGTM.com

fixed alerts:

  • 3 for No clone method

@gjvoosten gjvoosten dismissed their stale review September 3, 2020 08:04

ShiftLeft reports stale issues, nothing we can do about it.

@gjvoosten gjvoosten removed their request for review September 3, 2020 08:04
Copy link
Collaborator

@gjvoosten gjvoosten left a comment

Choose a reason for hiding this comment

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

The PR description has the box checked for: "Added and/or updated e2e tests", but there appear to be no changes to the e2e tests. Please add some client-side tests.

@lgtm-com
Copy link

lgtm-com bot commented Oct 6, 2020

This pull request fixes 3 alerts when merging 2fed218 into 8ee8b8c - view on LGTM.com

fixed alerts:

  • 3 for No clone method

Hide/show the 'simple' search icon (magnifying glass) when the advanced search popup is shown/hidden.
Reinstates behaviour that was removed as part of commit ba70261 .
Required since commit 7cf6499 .
@gjvoosten gjvoosten force-pushed the GH-3124-global-status-search branch from 65ae14a to 2ba4c30 Compare October 20, 2020 09:09
setFilters([])
setFilters(
filters.filter(value => commonFiltersForAllObjectTypes[value.key])
)
Copy link
Contributor

Choose a reason for hiding this comment

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

Have you considered the solution where we keep filter types which are common between previous object type and next object type? For example:

  • I have "People" object toggled, i selected "Location", "Organization", "Status" filters. (Which are also in the "Position" object)
  • I click "Position" toggle button. "Location" and "Organization" is gone, but "Status" is still there.
    We could keep all the common ones between switching object types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants