diff --git a/CHANGELOG.md b/CHANGELOG.md index f1e274bfd2..7bb2e2ed15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## v2.0.0-beta.6 [unreleased] ### Features + 1. [17085](https://github.com/influxdata/influxdb/pull/17085): Clicking on bucket name takes user to Data Explorer with bucket selected 1. [17095](https://github.com/influxdata/influxdb/pull/17095): Extend pkger dashboards with table view support @@ -13,6 +14,7 @@ 1. [17072](https://github.com/influxdata/influxdb/pull/17072): Fixed issue where creating a variable of type map was piping the incorrect value when map variables were used in queries 1. [17050](https://github.com/influxdata/influxdb/pull/17050): Added missing user names to auth CLI commands 1. [17091](https://github.com/influxdata/influxdb/pull/17091): Require Content-Type for query endpoint +1. [17110](https://github.com/influxdata/influxdb/pull/17110): Disabled group functionality for check query builder ## v2.0.0-beta.5 [2020-02-27] diff --git a/ui/cypress/e2e/checks.test.ts b/ui/cypress/e2e/checks.test.ts index 0d13ec3345..76d10f34c6 100644 --- a/ui/cypress/e2e/checks.test.ts +++ b/ui/cypress/e2e/checks.test.ts @@ -28,7 +28,11 @@ describe('Checks', () => { cy.getByTestID('create-check').click() cy.getByTestID('create-threshold-check').click() - + // added test to disable group on check query builder + cy.getByTestID('dropdown--button') + .should('be.disabled') + .and('not.contain', 'Group') + .contains('Filter') cy.getByTestID(`selector-list ${measurement}`).click() cy.getByTestID('save-cell--button').should('be.disabled') diff --git a/ui/src/timeMachine/components/TagSelector.tsx b/ui/src/timeMachine/components/TagSelector.tsx index ac8ec4061a..213f4fc49c 100644 --- a/ui/src/timeMachine/components/TagSelector.tsx +++ b/ui/src/timeMachine/components/TagSelector.tsx @@ -105,11 +105,15 @@ class TagSelector extends PureComponent { } private get header() { - const {aggregateFunctionType, index} = this.props + const {aggregateFunctionType, index, isInCheckOverlay} = this.props + let options = ['filter', 'group'] + if (isInCheckOverlay) { + options = ['filter'] + } return ( { public render() { const {children, options, onSelect, selectedOption, testID} = this.props + const button = () => ( + {}}> + {selectedOption} + + ) + const menu = () => null return (
- + {options.length === 1 && ( + + )} + {options.length !== 1 && ( + + )} {children} {this.deleteButton}