Commit Graph

212 Commits (b9c933a4290946b6d80f99ee3b55dc5652bdf28b)

Author SHA1 Message Date
Iris Scholten ede25ecdce Add ability to show a line graph and change to other line graph type in veo 2018-10-15 14:35:23 -07:00
Brandon Farmer ced638582f Add source to redux state 2018-10-15 13:36:06 -07:00
Brandon Farmer bd1c17023d Extract setting source from getting sources 2018-10-15 13:36:06 -07:00
Brandon Farmer 241044091f Fetch Me information on load 2018-10-15 13:36:06 -07:00
Brandon Farmer a539e13cdd Use orgs from redux state in tasks 2018-10-15 13:36:06 -07:00
Brandon Farmer 9be4bdb37c Fetch organizations on load
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
2018-10-15 13:36:06 -07:00
Brandon Farmer 8072a01968 Move link fetching to GetLinks component
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
2018-10-15 13:36:06 -07:00
Alex Paxton 962c84a450
Merge pull request #1094 from influxdata/general-ui-cleanup
General UI Cleanup
2018-10-15 13:20:30 -07:00
Alex P 4701717968 Set fixed widths on log viewer dropdowns 2018-10-15 12:09:30 -07:00
Alex P 03c301f238 Refactor tasks page to use index list and empty state 2018-10-15 12:05:12 -07:00
Alex P 3a4d886590 Change nav icon for Tasks tab 2018-10-15 12:05:00 -07:00
Alex P 6ca7ea0d6e Use empty state in dashboards table 2018-10-15 11:42:18 -07:00
Alex P ad33624fd0 Introduce reusable Empty State component 2018-10-15 11:42:06 -07:00
Andrew Watkins 6eb21d3dde
chore(chronograf): code cleanup (#1076)
* Delete unused files

* go.sum

* Remove dead code

* Remove more unused code

* Remove eslint

* Remove StaticLegend

* Convert external to ts

* Move jest config to package.json

* Update yarn.lock

* Moar yarn.lock

* go.sum
2018-10-15 11:19:54 -07:00
Alirie Gray 25ed880e8f
Merge pull request #1063 from influxdata/logs/table-graph
Logs/transform log response util function
2018-10-15 09:55:35 -07:00
Jonathan A. Sternberg 5c8318d181
Merge pull request #1080 from influxdata/js-go-generate-with-go-run
refactor: modify tooling to take advantage of go run
2018-10-15 11:27:13 -05:00
Jonathan A. Sternberg e9600b1f0b
refactor: modify tooling to take advantage of go run
The generate commands have been modified to take advantage of the new
functionality in Go 1.11 that allows `go run` to execute a package
instead of individual files.

This functionality combined with Go modules allows us to execute a
package directly out of our pinned dependencies rather than accidentally
picking up another binary outside of the build environment.

This also simplifies the Makefile because they no longer have to be
responsible for installing the correct tooling since the Go command
takes care of that logic. It also makes it so that the Makefiles with
file generation can now be invoked from their appropriate subdirectories
so they are contained within the directory itself rather than relying on
values in the top level Makefile.

It is now possible to generate all files within this project by using:

    go generate ./...

Or the Makefile can continue to be used.

This commit also copies over the special copy of `tmpl` that the storage
engine uses within the influxdb repository. It was never copied over so
using `go generate` on these packages did not work.
2018-10-15 11:01:27 -05:00
Alirie Gray e3696fde35 Refactor transform flux response function 2018-10-12 16:22:16 -07:00
Alirie Gray 73388e2e34 Add function to transform logs response
Co-authored-by: Delmer Reed <delmer814@gmail.com>
2018-10-12 14:18:42 -07:00
Brandon Farmer 6ae8196493 User can delete task 2018-10-12 13:26:53 -07:00
Brandon Farmer 6d02ca5efc Show list of tasks to user 2018-10-12 13:23:30 -07:00
Andrew Watkins 7853cff0de
chore(chronograf): Typing connected components and configureStore (#1062)
* Introduce @types/react-redux

* Type connect in Crosshair

* Update Dygraph options callbacks

* Fix VEO connect types

* Type connect in LogsPage

* Fix type errors

* Add LogState to AppState

* Update go.sum

* Convert configureStore to TypeScript

* Fix action typing errors

* Remove comments

* Revert routing

* Add tasks to AppState

* Update localStorage types

* Update go.sum
2018-10-12 13:16:32 -07:00
Delmer 2b8d418235
feat(logs/query): Add log query builder (#1046)
* Add queryBuilder for logs
* Add test for multiple filters
* Update builder to concat arrays of funcs
2018-10-12 11:02:06 -04:00
Delmer 91792ddf38
feat(logs/table): Add logs table component (#1061)
feat(logs/style): Add logs table
2018-10-11 19:16:37 -04:00
Brandon Farmer 38e022cd39 Update onboarding copy 2018-10-11 12:26:35 -07:00
Brandon Farmer 0e950d0292 Basic task creation ui 2018-10-11 12:13:32 -07:00
Christopher Henn 9015cb3a83 Replace TimeRangeDropdown
Replaces old `TimeRangeDropdown` component with something simple until
we can decide what we want to do with it.
2018-10-11 09:31:49 -07:00
Delmer 3454ab536e
Add options overlay save and update (#1041) 2018-10-11 12:23:46 -04:00
Delmer 23a53d2d2e
Rename logs namespace dropdown (#1034)
Rename namespace to bucket in logs

* Update bucket to match buckets response
* Update logs action to use getBuckets
* rename(logs/page): Renames namespace to bucket
2018-10-11 10:48:53 -04:00
Christopher Henn bbd7153cca Replace Flux Builder with Data Explorer
Co-authored-by: Chris Henn <chris@chrishenn.net>
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-10-10 13:12:11 -07:00
Iris Scholten 8b17102a7d Implement timeMachines Redux reducer
Co-authored-by: Chris Henn <chris@chrishenn.net>
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-10-10 13:12:11 -07:00
Delmer 4a9f0959b8
feat(logs/overlay): Add log options overlay (#969)
feat(logs/overlay): Add log options overlay

Adds the log options overlay components in preparation for showing log
config for table columns.
2018-10-10 15:32:26 -04:00
Delmer 9a65938e1d
feat(logs/actions): Add getConfig action (#1027)
feat(logs/actions): Add getConfig action

Adds getConfig and cleans up log imports
2018-10-10 12:28:54 -04:00
Delmer 03236c2d95
feat(v2/views): Add read views api util (#999)
feat(v2/views): Add read views api util
2018-10-10 10:08:41 -04:00
Alex P 9c309bf264 Adjust styles of onboarding wizard
Co-Authored-By: Deniz Kusefoglu <ebb-tide@users.noreply.github.com>
2018-10-10 08:51:27 +03:00
Alex P 3bc86f2a48 Use splash page components in sign in page
Co-Authored-By: Deniz Kusefoglu <ebb-tide@users.noreply.github.com>
2018-10-10 08:51:27 +03:00
Alex P fe2520c5fd Redesign and refactor splash page components
Co-Authored-By: Deniz Kusefoglu <ebb-tide@users.noreply.github.com>
2018-10-10 08:50:20 +03:00
Alex P d74fca9383 Add classname prop to Form
Co-Authored-By: Deniz Kusefoglu <ebb-tide@users.noreply.github.com>
2018-10-10 08:50:20 +03:00
Deniz Kusefoglu 550690913b WIP onboarding styles 2018-10-10 08:50:20 +03:00
Deniz Kusefoglu 3571d2f24d Place signin and setup state in component state rather than redux 2018-10-10 08:50:19 +03:00
Adam 195eb04350
Chore/move from function to platform (#1013)
* moved execution code for from into query/functions/inputs

* rebase with master, disable buckets accessed test
2018-10-09 20:36:41 -04:00
Christopher Henn e522e6a84a Add VEO overlay to dashboards
Co-authored-by: Iris Scholten <iris@influxdata.com>
Co-authored-by: Chris Henn <chris@chrishenn.net>
2018-10-09 17:18:33 -07:00
Brandon Farmer 21c66ffec5 Move flux editor over to v2 2018-10-08 16:25:03 -07:00
Chris Goller 90494a5309 chore(fmt): fix and simplify go formatting 2018-10-08 17:23:54 -05:00
Brandon Farmer a54fcb1dee Reload page on sign in 2018-10-08 14:25:35 -07:00
Christopher Henn cd8a2ff6ef Upgrade Chronograf dependencies
...including Babel, Parcel, and ESLint. This PR is dual to [0].

[0]: https://github.com/influxdata/chronograf/pull/4538
2018-10-08 11:44:19 -07:00
Delmer b867eabf65
feat(logs/util): Add view logConfig transformation utils (#978)
* Add view to config transformation utils
* Fix config test typo
* Rename util helpers
2018-10-08 14:30:27 -04:00
Chris Goller b90d34d0c3 fix(ui): handle sigin/signout merge conflicts 2018-10-06 10:11:20 -05:00
Chris Goller 7397f7f4cb fix(ui/flux): links is now query rather than flux 2018-10-06 10:11:20 -05:00
Chris Goller aee35e4cde fix(http): links updated to match swagger doc 2018-10-06 10:11:20 -05:00
Delmer 047d2ea98e
feat(logs/data): Add logViewData for default log config (#980) 2018-10-05 13:00:54 -04:00
Delmer 9939e7fad0
feat(dashboard/views): Add log viewer view type (#968)
Adds the log viewer view type for use in log viewer config.
2018-10-04 16:47:42 -04:00
Delmer f87d40c117
feat(logs/page) Add logs page (#915)
Add log viewer page 

Adds the log viewer page and search bars from chronograf. Removes 
many of the log components until results and config are working.
2018-10-04 16:28:35 -04:00
Deniz Kusefoglu 5e7698e1d2
Merge pull request #952 from influxdata/feat/authentication-FE
Signin after setup
2018-10-04 12:46:35 -07:00
Deniz Kusefoglu 05b5f781b1 Accommodate change in response from GET req to /setup
Add signin to setup flow during onboarding
Add signin page to handle setting cookies
Add signin and signout to Links
2018-10-03 17:08:30 -07:00
Alex P 0c396e06fd Redesign Panels to conform to 2.0 UI Patterns 2018-10-03 15:05:39 -07:00
Andrew Watkins 709310d05e
feat: line plus single stat view type (#936)
* Introduce LinePLusSingleStat

* Remove v1 view types

- Introduce line + single stat view
2018-10-03 10:17:14 -07:00
Deniz Kusefoglu 81f907fd9d (feat:onboarding) Add onboarding wizard 2018-10-02 14:30:15 -07:00
Andrew Watkins 6ea5e839f8
feat: Table Graphs (#917)
* Render TableGraphs

* Introduce TableCell component
2018-10-01 13:33:27 -07:00
Deniz Kusefoglu a37241bfcd Convert everything to /api/v2 on the FE 2018-09-28 16:12:23 -07:00
Alex P 995a20d05a Replace old AutoRefresh with new AutoRefresh 2018-09-27 18:00:32 -07:00
Alex P 20adfb8e3e Port over new autorefresh dropdown from Chronograf 2018-09-27 17:41:14 -07:00
Alex P 7b50cf0fa9 Fix dropdown positioning
There was a missing stacking context
2018-09-27 17:40:51 -07:00
Alex P 9fbd34738e Add documentation for dropdowns 2018-09-27 17:04:33 -07:00
Alex Paxton 4b9021f60b
Merge pull request #903 from influxdata/index-list-view-components
List View Components
2018-09-27 16:00:21 -07:00
Alex P b3b3f97130 Write component tests 2018-09-27 15:46:05 -07:00
Alex P 31533c7093 Linter fixes 2018-09-27 12:41:56 -07:00
Alex P e951ce74ba Add disabled row styles 2018-09-27 12:34:40 -07:00
Alex P fb0cd0932a Add documentation for usage of IndexList component 2018-09-27 12:14:13 -07:00
Alex P a56f957329 Refactor dashboards page to use IndexList components 2018-09-27 11:43:28 -07:00
Alex P 85be995869 Introduce IndexList family of components 2018-09-27 11:43:06 -07:00
Alex P 51570fa624 Create variable to standardize color of empty state text 2018-09-27 11:42:32 -07:00
Alex P d1aaac5bce Shrink dashboard default toggle 2018-09-27 10:48:40 -07:00
Alex P 5a34536c40 Introduce ComponentSpacer utility wrapper 2018-09-27 10:48:29 -07:00
Alex P 54bc0025c7 Improve typing of Button onClick prop 2018-09-27 10:47:11 -07:00
Andrew Watkins e34d2e76ea
chronograf(v2-views): Introduce new view patterns, linting, and TypeScript 3.x (#901)
* Simplifiy color type

* Fix type

* Introduce V2 data shape for views

* WIP Split style and parsing to separate Dygraph components

* Add basic dygraph view types

* Add Gauge to v2 view shapes

* Upgrade TypeScript to ^3.0

* Add tsc to Circle build

* Fix Dygraph component paths

* Add testURL to jest config

* Upgrade lodash types

* Remove redundant test linter stetp

* Upgrade to TypeScript ^3

* Remove TableGraph (temporarily)
2018-09-27 10:46:48 -07:00
Alex Paxton 6a86f8ee14
Merge pull request #889 from influxdata/my-profile-tab
Add User Settings Page
2018-09-26 16:25:15 -07:00
Daniel Campbell 04d713df57
Merge pull request #893 from influxdata/onboarding-wizard-design
Onboarding wizard design
2018-09-26 15:58:26 -07:00
Daniel Campbell 3546bc5b49 Onboarding wizard styles 2018-09-26 15:16:59 -07:00
Daniel Campbell 73c32d5055 add completion image 2018-09-26 11:26:15 -07:00
Alex P 7bba3905b5 Introduce and use "ProfilePage" component 2018-09-26 10:57:39 -07:00
Daniel Campbell 8a03aaaaef Implement progress bar styles, delete obsolete files 2018-09-26 09:53:57 -07:00
Daniel Campbell c0437d2f2d Port wizard to platform
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2018-09-25 17:07:11 -07:00
Chris Goller 6f2bbbf162
Merge pull request #875 from influxdata/feature/port-chronograf-makefile
ci(Makefile): Add run target to Makefile
2018-09-25 16:07:47 -07:00
Delmer Reed ce05a40e45 ci(Makefile): Add run target to Makefile
Adds run target to Makefile and removes older Chronograf files.

Co-authored-by: Chris Goller <goller@gmail.com>
2018-09-25 18:51:56 -04:00
Alex P 10bd12ccdd Merge branch 'master' into my-profile-tab 2018-09-25 15:09:24 -07:00
Alex P 9817d76f9a Introduce Avatar component for displaying profile pictures 2018-09-25 15:06:58 -07:00
Alex P e0c252c845 Add user page to navbar 2018-09-25 15:06:23 -07:00
Alex P e2380b636d Increase contrast of active state in navbar 2018-09-25 14:20:52 -07:00
Alex P 7c80201782 Make navbar horizontal until breakpoint is reached 2018-09-25 14:09:31 -07:00
Alex P 272e0d69d7 Cleanup references and imports 2018-09-25 11:21:51 -07:00
Alex P 965b51d467 Remove obsolete page layout components 2018-09-25 11:16:02 -07:00
Alex P dd8f0096aa Consolidate page layout components 2018-09-25 11:15:41 -07:00
Alex P 522155c0e5 Remove erroneous path for default dashboard 2018-09-25 10:49:02 -07:00
Alex P b620df473a Fix errant component imports 2018-09-25 10:43:25 -07:00
Alex P be99b3859b Merge branch 'master' into css-cleanup 2018-09-25 10:39:06 -07:00
Alex P c7980563df Style dashboard renamer 2018-09-25 10:18:35 -07:00
Alex P 3097b3ca83 Shrink page gutter 2018-09-25 10:18:15 -07:00
Alex P c6751839f1 Update icon font to latest 2018-09-25 10:18:05 -07:00
Andrew Watkins 7d09b23bcf
chronograf(feature): default dashboard and markdown view
* Set default dashboard as status page

* Set default dashboard in FE state

* Introduce Markdown visualization
2018-09-25 09:38:00 -07:00