Skip to content

Commit

Permalink
Merge pull request #11990 from influxdata/feat/time-range-calendar
Browse files Browse the repository at this point in the history
feat(ui): Add custom time range option in time range dropdown
  • Loading branch information
ischolten authored Feb 20, 2019
2 parents ec1019b + f9aab0f commit d895f5a
Show file tree
Hide file tree
Showing 14 changed files with 649 additions and 265 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

### Features
1. [11954](https://github.com/influxdata/influxdb/pull/11954): Add the ability to run a task manually from tasks page
1. [11990](https://github.com/influxdata/influxdb/pull/11990): Add the ability to select a custom time range in explorer and dashboard

### Bug Fixes

Expand Down
273 changes: 72 additions & 201 deletions ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@
"react": "^16.8.0",
"react-codemirror2": "^4.2.1",
"react-copy-to-clipboard": "^5.0.1",
"react-datepicker": "^2.1.0",
"react-dimensions": "^1.2.0",
"react-dnd": "^2.6.0",
"react-dnd-html5-backend": "^2.6.0",
Expand Down
4 changes: 2 additions & 2 deletions ui/src/shared/components/ClickOutside.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ interface Props {
@ErrorHandling
export class ClickOutside extends PureComponent<Props> {
public componentDidMount() {
document.addEventListener('click', this.handleClickOutside, true)
document.addEventListener('mousedown', this.handleClickOutside, true)
}

public componentWillUnmount() {
document.removeEventListener('click', this.handleClickOutside, true)
document.removeEventListener('mousedown', this.handleClickOutside, true)
}

public render() {
Expand Down
Loading

0 comments on commit d895f5a

Please sign in to comment.