Commit Graph

234 Commits (10fcc2bf1dafabff8d58d433e60a9679c7982f39)

Author SHA1 Message Date
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
Alex P e0826f6f65 Make circle happy 2018-09-24 16:46:20 -07:00
Alex P 5fd953444f Make JS tests pass 2018-09-24 16:40:07 -07:00
Alex P db4bbf3090 Remove any non-global styles from /styles 2018-09-24 16:27:42 -07:00
Alex P 2fb429e99d WIP moar 2018-09-24 13:48:49 -07:00
Alex P ee587e528b WIP 2018-09-24 12:56:24 -07:00
Alex P 51dff1e0f8 Update all references from reusable_ui to clockface 2018-09-24 10:42:05 -07:00
Alex P 215639a628 part 2 2018-09-24 10:31:07 -07:00
Alex P 8931e8812d Copy UI kit components over from chronograf 2018-09-24 10:19:36 -07:00
Alex P 2c7bc52204 Flesh out page_layout components 2018-09-21 16:44:49 -07:00
Alex P 8e4f740806 Create future home for all page layout components 2018-09-21 15:25:33 -07:00
Alex P afa8b2315e Delete old stuff pt 1 2018-09-21 15:15:49 -07:00
Alex P f890b37ac8 Finish refactoring nav for the time being 2018-09-21 14:31:44 -07:00
Alex P c2b8350058 WIP Refactor sidenav 2018-09-21 12:17:28 -07:00
Chris Goller a00720e76d fix(flux/api): ensure ast default
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-09-17 11:22:17 -07:00
Chris Goller 9673a425ec feat(http): add flux AST and Spec endpoints to fluxd 2018-09-13 23:01:07 -05:00
Andrew Watkins 032b17a1fe
chore(chronograf): parse flux response to dygraph format (#819)
* Introduce new flux table parsing

* Parse flux tables in dashboard views

* Fix linter errors
2018-09-12 10:13:25 -07:00
Chris Goller 55491eae5b ci(Makefile): add asset generation to nightly 2018-09-11 16:11:16 -05:00
Chris Goller ef7bfdd6d2 build(chronograf): add conditional build tags for asset generation 2018-09-04 20:46:22 -05:00
Andrew Watkins f36cc2f009
chore(chronograf): legend rendering
* Make legend work again

* Fix broken tests

* Import proper reducer
2018-08-30 09:04:41 -07:00
Christopher Henn bc97ac4344 chore(chronograf): new build configuration 2018-08-29 11:19:22 -07:00
Andrew Watkins 2e0af93c59
chore(chronograf): move tests out of test dir
* chore(chronograf): remove logs

* chore(chronograf): delete dead code

* chore(chronograf): move tests out of test dir

* Move test resources out of test dir

* chore(chronograf): remove test dir
2018-08-29 09:11:01 -07:00
Michael Desa 45233d939a feat(platform): add uniform query endpoint for sources
Using query request struct to query resources

Signed-off-by: Lorenzo Fontana <lo@linux.com>

Use query.ProxyRequest instead query.Request

Signed-off-by: Lorenzo Fontana <lo@linux.com>

Proxy request from idpd

Signed-off-by: Lorenzo Fontana <lo@linux.com>

Comments about the desired results

Signed-off-by: Lorenzo Fontana <lo@linux.com>

V1 endpoints working with flux

Signed-off-by: Lorenzo Fontana <lo@linux.com>

Influxql working for v1

Signed-off-by: Lorenzo Fontana <lo@linux.com>
Co-authored-by: Michael De Sa <mjdesa@gmail.com>

V2 influxql query endpoint working

Signed-off-by: Lorenzo Fontana <lo@linux.com>
Co-authored-by: Michael De Sa <mjdesa@gmail.com>
Signed-off-by: Lorenzo Fontana <lo@linux.com>

V2 Flux compiler support

Co-authored-by: Michael De Sa <mjdesa@gmail.com>
Signed-off-by: Lorenzo Fontana <lo@linux.com>

Improve comments in bolt sources and give error on self

Signed-off-by: Lorenzo Fontana <lo@linux.com>
Co-authored-by: Michael De Sa <mjdesa@gmail.com>

Review tests failing

Signed-off-by: Lorenzo Fontana <lo@linux.com>
Co-authored-by: Michael De Sa <mjdesa@gmail.com>

Avoid type casts for compiler types

Signed-off-by: Lorenzo Fontana <lo@linux.com>
Co-authored-by: Michael De Sa <mjdesa@gmail.com>

Using nil instead of dbrp mapping service for influxql v1

Signed-off-by: Lorenzo Fontana <lo@linux.com>

Check if compiler types are valid for influxql

Signed-off-by: Lorenzo Fontana <lo@linux.com>

Organization as query param in the flux external handler

Signed-off-by: Lorenzo Fontana <lo@linux.com>

feat(http): update swagger documentation for flux query endpoint

feat(http): document query endpoint design

The code documented does not currently work. It is indended that this
will be implemented in follow up PRs.

feat(platform): move source to platform package

The source Query endpoint implements what's in the query swagger docs

Signed-off-by: Lorenzo Fontana <lo@linux.com>
Co-authored-by: Michael De Sa <mjdesa@gmail.com>

feat(platform): allow for encoding and decoding of csv dialects

feat(platform): specify dialect in flux page

Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-08-28 15:53:20 -04:00
Michael Desa 8bc2d33b78 feat(platform): move chronogaf v2 dashboards to platform
test(testing): add tests for dashboards and cells

test(bolt): all conformance tests for dashbaords and cells

fix(bolt): rename dashboardV2Bucket to dashboardBucket

feat(chronograf): introduce v2 dashboards

Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>

chore(chronograf): add tests for v2 dashboard reducer

Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>

chore(chronograf): create dashboard from dashboard index

Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>

chore(chronograf): move tests to same level of heirarchy as file tested

chronograf(chore): implement import dashboard with v2 api

chore(chronograf): delete dashboards from v2 api

chore(chronograf): add source health handler

chore(chronograf): move sources reducer to sources dir

chore(chronograf): remove stutter in notify

WIP stop namespacing by sourceID

chore(chronograf): no longer namespace routes under sources/:sourceID

WIP move dashtimeV1 to ranges

WIP remove CEO

chrore(chronograf): WIP Remove CEO and QueryMaker

chore(chronograf): introduce updateDashboard v2

chore(chronograf): Change cell to view

A dashboard's cell object now only contains positional information
for the cell in it's grid and a reference to the cell's view data.
A cell's view contains all necessary information for the cell's
visualization.

Add react-grid-layout types

chore(chronograf): introduce add cell

chore(chronograf): fix type errors

Not on DashboardPage

feat(platform): add cell methods to dashboard service interface

feat(mock): update dashboard service with cell methods

feat(testing): add cell methods to testing package

feat(bolt): add dashboard cell methods to bolt dashbaord service

feat(http): add cell routes to dashbaord handler

feat(platform): add dependent create/destroy of views from cells

chore(chronograf): introduce update dashboard cells endpoint

WIP update cells FE

fix(http): rename Cells to cells on dashboard cells response

chore(chronograf): re-introduce dashboard cell dragging

feat(platform): add copy dashboard cell to dashboard service

chore(platform): rename cell to view across codebase

feat(bolt): add replace dashboard tests

Move Layouts to Cells

Introduce delete cell

Fix broken test

fix(platform): update route for copying a a dashboard cell

UI for delete cell

Introduce copy cell

feat(platform): add copy view options to AddDashboardCell

feat(bolt): delete views when dashboard is removed.

Cleanup

Fix type errors

Fix links not updating

Remove annotations from RefreshingGraph

Sources and types work

fix(platform): add TODO.go files back

fix(view): rename visualizationType to type in view JSON

Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>

fix(dashboardTime): change dashboardID to string

Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>

feat(http): add dashboard api to swagger documentation

review(http): fix comments and function naming

feat(http): update sources swagger documentation

review(http): update the swagger to reflect the implementation

feat(platform): add usingView options to POST /dashboard/:id/cells
2018-08-24 13:22:58 -04:00
Andrew Watkins 5568298297 chore(chronograf): fix rebase onto master 2018-08-08 10:48:44 -07:00
Michael Desa 2af8a38777 fix(chronograf): connecting to a source no longer takes you to host page
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-08-08 09:38:27 -07:00
Andrew Watkins 7e30baf3da Import updateScript 2018-08-08 09:38:27 -07:00
Michael Desa 3b400952d9 fix(http): get time series data properly 2018-08-08 09:37:37 -07:00
Andrew Watkins fcb930e19b Change #partition to #group 2018-08-08 09:37:37 -07:00
Michael Desa fc382defb8 add retention policy name to bucket 2018-08-08 09:37:37 -07:00
Michael Desa abc20e5e05 feat(platform): add chronograf language server to platform binary
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-08-08 09:37:37 -07:00
Andrew Watkins b25a6d1d46 Get buckets using buckets link 2018-08-08 09:36:43 -07:00
Andrew Watkins 2d7f54de2a feature(chronograf): use sources instead of services for flux builder
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-08-08 09:36:43 -07:00
Andrew Watkins c42e4d98e0 Remove DataExplorer 2018-08-08 09:34:58 -07:00
Andrew Watkins 8484a9a6d9 Get buckets from v2 api in DataExplorer for v1 source 2018-08-08 09:34:58 -07:00
Andrew Watkins 359d1e3c49 Remove Kapacitor related code
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-08-08 09:34:58 -07:00
Andrew Watkins 823e3a1d21 Add v2 source CRUD to frontend
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-08-08 09:33:28 -07:00
Andrew Watkins cfb3d9a255 Remove auth 2018-08-08 09:31:57 -07:00
Andrew Watkins 1a9e1f26f0 Fix overzealous deletion 2018-08-07 10:50:42 -04:00
Andrew Watkins 6c09bc6815 Remove auth 2018-08-07 10:50:08 -04:00
Andrew Watkins b941ae6a54 chore(chronograf): Remove UserNavBlock from app
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-08-07 10:45:14 -04:00
Mark Rushakoff 264a420f07 chore: move stray chronograf files to correct directory 2018-08-06 09:37:00 -07:00
Mark Rushakoff 265235aaf1 refactor(query): move DefaultCompleter method to complete package
This is so Chronograf doesn't have to import the builtin package, which
finalizes builtin registration.

Also clarify that the builtin package should only be imported from main
or test packages.
2018-07-30 10:54:06 -07:00
Andrew Watkins 09879fa221
Merge pull request #498 from influxdata/cherry/flux-connection-page
feature(chronograf) flux connections page (#4026)
2018-07-27 13:57:12 -07:00
Andrew Watkins b223e763ef
Merge pull request #477 from influxdata/cherry/598762800
Bugfix/no org name (#4014)
2018-07-27 13:56:39 -07:00
Alirie Gray 4a895ea41a Flux/connections page (#4026)
* Load services on manages sources page

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add Flux dropdown on manage sources page

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add flux connection dropdown with create, select, and update

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Prevent creation of Flux connection with duplicate name

Fixed bug where refreshing page allowed for Flux or connections
with duplicate names to be created

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Add ability to delete a FluxService from the fluxservice dropdown

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Change FluxPage to use the active flux connection set by FluxConnectionPage

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Ensure that only flux services are loaded into redux services

* Polish styles for Flux Connection Page

Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add pingflux as a part of adding and updating a flux service

Co-authored-by: Chris Goller <goller@gmail.com>
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add Swagger routes and definitions for Service endpoints

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Replace flux overlay with redirect to flux connections pages

* Add test for FluxConnectionPage

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Replace hard-coded string with enum

* Use active from metadata instead of service object in ServiceDropdown

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Add generic for getDeep on service metadata property

* Capitalize enum constant values in FluxFormMode

* Show error notification when user reaches edit route for nonexistant flux

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Add tests for FluxDropdown

* Update types for async functions
2018-07-27 10:05:02 -07:00
Mark Rushakoff 0f52899677 hotfix(chronograf): add stub Asset functions to fix build
We need a long-term decision, but in the meantime we need a not-broken
build.
2018-07-26 14:58:20 -07:00
Andrew Watkins 1042c22469 Bugfix/no org name (#4014)
Fix runtime error when no orgs
2018-07-26 11:21:42 -04:00
Chris Goller 852f460fca chore(chronograf/bolt): fix outdated comment 2018-07-25 17:55:25 -05:00
Chris Goller 0d81058c49 fix(chronograf/bolt): max int64 overflows 32-bit archs 2018-07-25 17:50:18 -05:00
Chris Goller 85100c8e96 fix(ci): update to sirupsen/logrus from Sirupsen/logrus 2018-07-25 17:19:31 -05:00
Michael Desa d2ece11acb chore: make chronograf unit tests pass 2018-07-25 14:38:51 -04:00
Andrew Watkins 93ca5c9f76 chore(chronograf): Get Chronograf to "work" as in 1.6.x (w/o Kapacitor)
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-07-24 15:13:08 -07:00
Michael Desa a673aff68e feat(chronograf/bolt): add default source 2018-07-24 16:39:33 -04:00
Michael Desa cfe907e8f5 feat(chronograf): all chronograf api handler to platform 2018-07-24 15:55:49 -04:00
Michael Desa 6068e385db dep(chronograf/bolt): replace boltdb dependency with bbolt 2018-07-24 14:36:59 -04:00
Andrew Watkins c78b2ee19a chore(chronograf): Add SourceContext and fix source typing
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-07-24 14:23:18 -04:00
Andrew Watkins 45e42d2c6f feat(chronograf): Remove auth flow from CheckSources component
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-07-24 14:14:06 -04:00
Michael Desa 21e8509ca3 migration(chronograf): update chronograf go-github dependency
Previously goreleaser depended on an incompatible version of goreleaser.
This commit updates to the latest goreleaser and modifies the associated
chronograf code.
2018-07-23 15:50:40 -04:00
Michael Desa eca6747eca migrate: make chronograf migration compile 2018-07-23 15:30:21 -04:00
Michael Desa 7c777f7a92 migrate: update chrongraf influxql dependency 2018-07-19 18:07:48 -04:00
Michael Desa d36fe120a4 chore(chronograf): change package imports to be nested under platform
The following command it what was executed:
find . -type f |grep chronograf | xargs perl -p -i -e 's|github.com/influxdata/chronograf|github.com/influxdata/platform/chronograf|g'
2018-07-19 16:52:14 -04:00
Michael Desa 79c240de59 Move entire codebase into a subdirectory called chronograf
This was done so that there will not be any merge conflicts when
migrating things into platform.
2018-07-19 16:37:21 -04:00