Commit Graph

238 Commits (12c1b61d00e640194b85de1a13761bd4a18e1bc1)

Author SHA1 Message Date
Christopher Henn 6a52e2758e Add support for controlled domain mode to Plot
Adds support for controlled `xDomain` and `yDomain` props to the `Plot`
component, which allows a parent component to override the default
domains that a `Plot` uses. This will eventually support a user
specified option for the histogram.

Also does quite a bit of general cleanup:

- Adds comments to many utility methods
- Avoids unnecessary reducer computations on initial `Plot` render
- Extracts layer registration code into a `useLayer` hook
- Renames the `defaults` layer to the more descriptive `baseLayer`
- Uses more explicit types for scales
2019-02-19 10:44:36 -08:00
Deniz Kusefoglu 379cad8687 Perform npm audit 2019-02-19 10:19:02 -08:00
Alirie Gray 298c1adc92 Rename Macro to Variable in generated client imports 2019-02-14 14:54:43 -08:00
Daniel Campbell f738a31436
Clockface/package slide toggle (#11900)
* install new version of clockface

* remove internal copy of component

* update imports

* replace Clockface type imports

* update snapshot

* update ComponentColor imports
2019-02-14 13:45:51 -08:00
Alirie Gray bd1e835238 Add ability to create a new template variable 2019-02-13 20:34:03 -08:00
alexpaxton f7b931205a
Clockface/package buttons (#11805)
* Add Clockface dependency

* Import clockface styles

* Remove existing Button component

* Update references to Old Button with Button from package

* Update snapshot
2019-02-12 10:06:58 -08:00
Christopher Henn 93ccd1d182 Implement histogram visualization type 2019-02-11 17:23:21 -08:00
Iris Scholten e04e721bf5 feat(ui): Add the ability to name a scraper target 2019-02-11 17:04:29 -08:00
Palak Bhojani 8cb22ac3e1 Update client library dependency 2019-02-07 10:10:20 -08:00
Iris Scholten 3b322359a9 Update the client library dependency 2019-02-06 18:31:59 -08:00
Brandon Farmer 139ac34f4d Update client to 0.2.1 2019-02-06 16:24:16 -08:00
Christopher Henn eb91be8090 Upgrade React to 16.8.0 2019-02-06 10:18:42 -08:00
Brandon Farmer 3992fa9d54 Remove typescript client generation
- All api calls are now through the client or raw XMLHTTPRequest
2019-02-05 17:13:57 -08:00
Brandon Farmer cb30f50e14 Update dashboard api calls to use client 2019-02-05 16:20:42 -08:00
Brandon Farmer c8cc898a11 Move ast call to client library 2019-02-05 14:28:19 -08:00
Brandon Farmer 7b27c92a57 Move proto api to client library 2019-02-05 13:41:19 -08:00
Brandon Farmer 4893c5f451 Move cells api calls to client 2019-02-05 13:15:22 -08:00
Brandon Farmer 5da36190d9 Switch sources api calls to client 2019-02-05 11:29:01 -08:00
alexpaxton cb70b8eacb
Make Fancy Scrollbars Fancier (#11661)
* WIP

* Goodbye yarn

* Use latest scrollbar package

* Use default colors

* Expose custom thumb color props

* Use latest package

* Remove unused package

* Update test snapshots

* Organize exernal styles into separate section
2019-02-04 13:01:32 -08:00
Brandon Farmer 06b2d0033d Move setup api calls to client library 2019-02-04 09:24:55 -08:00
Brandon Farmer 1aa5c471ee Move telegraf configs api to client library 2019-01-31 11:09:36 -08:00
Brandon Farmer 2e4f5f431a Switch authorizations to use external client library 2019-01-25 14:24:37 -08:00
Andrew Watkins 854b2a43eb
test(ui): component integration testing w/ mock redux store (#11577)
* wip: introduce connected async component test

* test(query-builder): mock findBuckets

* test(ui): add ability to pass arbitrary state to renderWithRedux

* test(ui/queryBuilder): click bucket and tag

* test(ui/queryBuilder): use regex matchers to query all

* test(ui/queryBuilder): it can click a tag value

* chore: change id to ID

* chore: move QueryBuilderFetcher

* test(ui/queryBuilder): try waiting for dropdown-items

* test(ui/queryBuilder): move initial state out of beforeEach

* test(ui/queryBuilder): get by bucket name

* wip

* test: put back to default

* test: remove await
2019-01-25 14:08:57 -08:00
Brandon Farmer 83b22f5576 Switch tasks to use external client library 2019-01-24 14:27:08 -08:00
Brandon Farmer 2bbee05c37 Move authentication to external client 2019-01-24 12:08:32 -08:00
Christopher Henn 9dcb6ca4d5 Display latest commit hash in UI 2019-01-24 08:55:13 -08:00
Brandon Farmer c798655b6d Set node and npm version requirements for project 2019-01-18 09:51:42 -08:00
Christopher Henn 01a836a995 Replace node-sass dep with sass 2019-01-08 09:42:32 -08:00
Christopher Henn 2770ae5e7b Implement new visual query builder designs 2019-01-07 10:58:18 -08:00
Brandon Farmer f06b258a13 Add verify step for line protocol onboarding 2019-01-03 09:57:39 -08:00
Christopher Henn 89e6851812 Upgrade Parcel to 1.11.0 2019-01-03 09:41:59 -08:00
Deniz Kusefoglu a0893b4ac5 Create different loading, success and error state for line protocol uploads
Co-authored-by: Palak Bhojani <palak@influxdata.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-12-07 17:06:16 -08:00
Andrew Watkins f4500008a3
feat(account-settings): username view (#1752)
* Move Account page to separate dir

* Add account snapshot tests

* Allow console logs in tests

* Add data-test attribute to Input

* Add username to Settings component
2018-12-05 11:23:03 -08:00
Andrew Watkins 5ae5f986ad
feat(account-settings): introduce AccountSettings page
* Package json

* Change UserPage to MePage

* Add an account page

* package json

* Remove package-lock

* Adding back package json

* Update lint command

* Update react
2018-12-03 16:27:22 -08:00
Brandon Farmer f04d420709 Remove yarn in favor of just npm 2018-11-30 17:02:31 -08:00
Christopher Henn 759891e37f Add ability to create notes on a dashboard 2018-11-29 16:41:40 -08:00
Christopher Henn 8cd3ff3c40 Run TSLint in CI 2018-11-07 13:33:02 -08:00
Michael Desa b9f70b7bec chore(ui): move ui from chronograf/ui to ui 2018-10-29 14:00:54 -04:00