Commit Graph

2933 Commits (23679c2375161ddf98bcd1ea13b98432c8a95c87)

Author SHA1 Message Date
Alex P 6490283700 Import stylesheet into component 2018-11-14 14:27:11 -08:00
Alex P 24075ccc4c Import page styles into nav component 2018-11-14 14:13:49 -08:00
Palak Bhojani 57c17ba535 Added schedule column to the tasks page
Co-authored-by: Palak Bhojani <palak@influxdata.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-11-14 11:18:03 -08:00
Delmer fc4986f422
fix(ui/logs): time point selection dropdown (#1361)
fix(ui/logs): update time point selection to use clockface
2018-11-14 07:10:43 -05:00
Palak Bhojani 53d36e49b7 Updated function name for toggle in task row 2018-11-13 16:01:15 -08:00
Palak Bhojani 3d9df39fd1 Updated Organizaiton Tasks to include the task status 2018-11-13 16:01:15 -08:00
Palak Bhojani 8a58fb4041 Add enable toggle feature to tasks page
Co-authored-by: Palak Bhojani <patel.palak41@gmail.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-11-13 16:01:15 -08:00
Palak Bhojani 418116a49a Capitalized columns names on the tasks list page 2018-11-13 14:53:13 -08:00
Andrew Watkins 536bbe297e
feat(chrono): replace div with form element in Form component
* cleanup

* feat(forms): add onSubmit handlers to older forms

* cleanup
2018-11-13 12:36:16 -08:00
Iris Scholten b9ad495e58
Merge pull request #1352 from influxdata/line-display-options
Add display options ui for line graph types
2018-11-12 16:46:10 -08:00
Christopher Henn 78d3a0ba2d Streamline signin page
1. The username field is now autofocused.
2. Pressing enter in an input will submit the signin form.

Long term, we should switch the reusable UI `Form` element to use an
actual HTML `form` element, rather than a `div`. That way we get these
sorts of interactions for free.

Closes #1354
Closes #1355
2018-11-12 15:29:02 -08:00
Iris Scholten 9c3ec093b9 Add display options ui for line graph types 2018-11-12 12:42:09 -08:00
Delmer 53085c20b9
fix(ui/logs): update flux col to column in query (#1348)
Updates the ui/logs flux query builder to use the full word for column
in the flux query.
2018-11-12 13:01:14 -05:00
Christopher Henn 2f8893f5d5 Port 1.x Dygraph component
This ports the `Dygraph` component from Chronograf 1.7, which contains
many bug fixes and enhancements. Notably, it does not quadruple render
on every mouse move event.

The component has been adapter for platform. All code relating to
annotations and the static legend has been removed.
2018-11-09 16:57:48 -08:00
Christopher Henn 76637da6aa Flatten views state 2018-11-09 16:57:48 -08:00
Christopher Henn df636fb84d Move hoverTime and related state out of Redux
The `hoverTime` state updates very rapidly (on every mousemove event for
any graph in a dashboard). This makes storing the `hoverTime` in Redux
expensive, since _every_ Redux-connected component in the render tree
must rerender when any piece of state in the Redux store is updated.

This commit moves `hoverTime` (and `activeViewID`, and related setters)
out of the Redux store in favor of a context based solution. Now, when
the `hoverTime` updates, only components that actually use that state
will rerender.
2018-11-09 16:57:48 -08:00
Christopher Henn 886aa130ea Load/persist draft script when opening/closing VEO 2018-11-09 10:27:41 -08:00
Christopher Henn 62d1b1d2c2 Add basic Flux editor to TimeMachine 2018-11-09 10:27:41 -08:00
Andrew Watkins 06f468bdcb
chore(refreshing-view): tweaks
* Rename AutoRefresh to AutoRefresher, rename global

* Remove presentational states from TimeSeries component

* Simplify TimeSeries reload logic

* Remove unused props from RefreshingView

* Display loading errors in RefreshingView

* chore(views): extract non-visualization state and switching logic into components
2018-11-08 14:24:23 -08:00
Christopher Henn 95f6984ef2 Eliminate race condition in TimeSeries component 2018-11-08 10:44:54 -08:00
Christopher Henn cc1070fc1c Differentiate between new and persisted view types 2018-11-07 17:42:35 -08:00
Christopher Henn 5475fcdf1b Enable saving a new cell to a dashboard 2018-11-07 15:05:42 -08:00
Christopher Henn b2330ba513 Fix DataExplorer styles 2018-11-07 15:05:42 -08:00
Christopher Henn 09ef4354ed Fix TSLint/Prettier errors
Ran the `tslint:fix` Yarn script.
2018-11-07 13:33:02 -08:00
Christopher Henn 8cd3ff3c40 Run TSLint in CI 2018-11-07 13:33:02 -08:00
Christopher Henn 9b529771eb Rename InfluxLanguages to InfluxLanguage
To stay consistent with TypeScript enum conventions.
2018-11-06 16:36:02 -08:00
Christopher Henn 5230d267f1 Replace query query util and remove template props
Replaces the utility function used to execute a Flux query with the
version from the 1.7 release of Chronograf, which supports limiting the
response size of a query to a predefined row limit.

Also removes the existing minimal support for template variables in
queries. Our implementation of template variables will need to change
significantly, since the backend API has been rewritten in an
imcompatible manner. Additionally, our support for template variables in
Flux queries has evolved significantly in the 1.7 release of Chronograf,
but none of those changes have been ported to platform yet.

As a consequence, the drilling of a `templates` prop through a certain
path in the render tree has also been removed.
2018-11-06 16:36:02 -08:00
Christopher Henn 7991dcfd55 Delete unused code and reorganize modules
Deletes unused and outdated code, including and AST walker for Flux
queries and various Flux metaquery utilites.

Also moves the remaining modules in `src/flux` to somewhere under
`src/shared`. The `src/flux` directory was a vestige of a time when the
Flux related portions of Chronograf were contained to a single page, but
now these modules are used everywhere.
2018-11-06 16:36:02 -08:00
Brandon Farmer 5eaf281489 Fix api calls for tasks, tasks are now nested in response 2018-10-31 13:32:04 -07:00
Deniz Kusefoglu 175ba056ae Onboarding wizard polish
Add password confirmation field
Cursor defaults to username field
Enter submits wizard steps
2018-10-29 12:05:18 -07:00
Michael Desa b9f70b7bec chore(ui): move ui from chronograf/ui to ui 2018-10-29 14:00:54 -04:00
Mark Rushakoff 264a420f07 chore: move stray chronograf files to correct directory 2018-08-06 09:37:00 -07:00
Andrew Watkins 1042c22469 Bugfix/no org name (#4014)
Fix runtime error when no orgs
2018-07-26 11:21:42 -04:00