Commit Graph

292 Commits (c76f30682c55f958d60727216e730b173d141104)

Author SHA1 Message Date
Timmy Luong 81bc56cba0 fix(ui): update icons in Telegraf config 2020-04-16 09:45:05 -07:00
Alex Boatwright 2aeb391178
feat: adding client library option for buckets (#16680) 2020-04-15 16:22:15 -07:00
alexpaxton 8130aa07a3
feat(ui): resource sorting dropdowns (#17321)
* feat(ui): replace sortable dashboard table headers with sort dropdown

* refactor(ui): remove unecessary components

* refactor(ui): add testIDs to dropdown

* refactor(ui): move tasks filter to page control bar

* fix(ui): remove unused import

* feat(ui): replace tasks sortable headers with sort dropdown

* fix(ui): make search widget more responsive

* fix(ui): make dashboard sort dropdown maintain size

* refactor(ui): consolidate resource sorting into a single component

* refactor(ui): standardize tabbed page headers

* fix: use correct import paths

* refactor(ui): implement resource sorting dropdown for variables

* refactor(ui): implement sorting dropdown on labels list

* chore: delete unused stylesheet

* refactor: implement sort dropdown for templates list

* refactor: implement sort dropdown on buckets list

* refactor: update design of "what is a bucket?" card

* refactor: implement sort dropdowns in telegrafs list

* fix: appease linter

* refactor: implement sort dropdown on scrapers list

* chore: add testIDs to resource sorter

* fix: remove unused code

* fix: update buckets and telegraf e2e tests

* fix: update labels e2e test

* fix: update variables e2e test

* refactor: move dashboards list empty state into own component

* fix: oops derp ayyyy

* chore: changelog

* refactor: use more resource specific types for sort keys
2020-04-13 15:38:03 -07:00
Timmy Luong 859b2bd642 fix(ui): update e2e test for orgs 2020-04-13 14:17:58 -07:00
Timmy Luong 53f2cced0c fix(ui): add component to route hierarchy to handle org renaming 2020-04-13 14:17:58 -07:00
alexpaxton 0677b88f9b
feat(ui): remove treenav flag (#17581)
* refactor(ui): remove treeNav feature flag

* chore(ui): remove unused components

* chore(ui): remove unused routes from settings

* chore(ui): update changelog

* fix(ui): repair login e2e test

* fix(ui): repair tasks navigation e2e test

* fix(ui): repair query builder navigation test

* fix(tenants): remove portion of test

@aliriegray mentioned I should make this change to match her PR https://github.com/influxdata/influxdb/pull/17474
2020-04-06 17:06:43 -07:00
alexpaxton 58c5cf6aea
fix(ui): ensure all dashboard cards render the same size (#17612)
* fix(ui): ensure all dashboard cards render the same size

* fix(ui): ensure dashboard cards with long names don't deform

* chore(ui): changelog

* fix(ui): update dashboard card name selector in e2e test
2020-04-06 13:14:28 -07:00
alexpaxton b394fdf28c
feat(ui): redesign alerting index to be responsive (#17583)
* feat(ui): redesign alerting index to be responsive

* chore(ui): update changelog

* fix(ui): ensure tested elements are visible

* fix(ui): actually fix e2e tests
2020-04-03 12:28:20 -07:00
Alex Boatwright 5762e64e0b
feat: dashboard var linking (#17522)
please don't be broken
2020-04-01 16:47:32 -07:00
Alex Boatwright 9d3294b31c
fix: filter variables to only those you are using (#17549) 2020-04-01 15:36:44 -07:00
alexpaxton f617657e8d
feat(ui): update design of flux editor toolbar (#17488)
* feat(ui): redesign flux editor

* chore(ui): delete threesizer

* fix(ui): repair explorer e2e tests

* refactor(ui): make variables easier to test

* fix(ui): appease prettier

* fix(ui): update selectors in dashboards view test
2020-03-31 14:45:47 -07:00
Alex Boatwright 6fa144192f
chore: cleaning variables (#17360)
this refactors variable selectors so that they work everywhere
2020-03-31 13:14:34 -07:00
alexpaxton f1e2dad6d6
feat(ui): implement new navigation design (#17206)
* refactor(ui): WIP implement tree nav

* feat(ui): enable expand/collapse behavior of nav tree

* chore(ui): rename "settings" to "organization"

* fix(ui): add nav tree key to mock state

* refactor(ui): remove CloudNav component

* fix(ui): cleanup

* refactor(ui): move nav tree object to constants file

* fix(ui): use correct icon for data nav item

* fix(ui): repair affected test

* refactor(ui): use a more explicit type than boolean for nav state

* chore(ui): write test for nav bar state action

* refactor(ui): handle org switching with an overlay

* chore(ui): replace reference to local clockface with reference to package

* fix(ui): update nav selector in tasks e2e test

* chore(ui): add testids to all nav items for easier selection

* fix(ui): prevent expanded navbar from breaking e2e tests

* fix(ui): update broken login e2e test

* fix(ui): udpate selectors in query builder test

* refactor(ui): align nav structure with quartz counterpart

* fix(ui): prettier

* refactor(ui): move usage and billing into user widget

* refactor(ui): use correct url for usage and billing

* chore(ui): upgrade clockface dependency to 2.0.3

* refactor(ui): implement short labels in the navigation tree

* refactor(ui): wrap tree nav in feature flag

* chore(ui): prettier

* chore(ui): remove deleted file accidentally included in rebase

* refactor(ui): use get in TreeNav mstp to prevent potential future breakage

* chore(ui): set default values for treeNav feature flag

* refactor(ui): reinstate cloud nav but wrapped with a feature flag

* refactor(ui): reinstate old navbar wrapped in feature flag

* feat(ui): add Upgrade button to all page headers except DashboardPage

* feat(ui): add upgrade banner to treenav

* chore(ui): remove comments

* refactor(ui): polish upgrade banner

* refactor(ui): only show tiny banner ad if screen is large enough and menu is collapsed

* refactor(ui): ensure settings page supports old and new navigation

* chore(ui): cleanup

* chore(ui): revert comment change

* chore(ui): ensure custom classname exists on new upgrade button

* chore(ui): cleanup

* fix(ui): remove duplicate route

* refactor(ui): make const for repeated comparison

* refactor(ui): cleanup from pr review

* fix(ui): oops

* refactor(ui): update user widget to follow most recent logout approach

Co-Authored-By: Ariel Salem <ariel.salem1989@gmail.com>

Co-authored-by: Ariel Salem <ariel.salem1989@gmail.com>
2020-03-25 13:57:24 -07:00
Brandon Farmer 4d377b2fb0 feat: Add flux function signatures to ui
- Pulls signatures from LSP
2020-03-19 13:59:08 -07:00
Brandon Farmer a5255b748c feat: add flux editor errors 2020-03-18 18:27:57 -07:00
Ariel Salem d2a49b8052
fix(ui): fixed dashboard cells and check query builder update bug (#17202) 2020-03-11 14:35:39 -07:00
Alex Boatwright 49c1d85770
fix: enable variables again (#17141) 2020-03-10 15:40:16 -07:00
alexpaxton a0505cf73d
chore(ui): upgrade to Clockface 2.0.0 (#17086)
* chore(ui): upgrade clockface dependency to the latest version

* refactor(ui): address breaking changes from clockface

* refactor(ui): update design of home page

* chore(ui): prettier

* refactor(ui): update page headers to conform to new design

* refactor(ui): import stylesheet from Clockface and delete obsolete local styles

* refactor(ui): cleanup

* refactor(ui): factor out PageTitleWithOrg

* refactor(ui): remove font files and references to them

* fix(ui): update dashboard index and task index e2e tests

* fix(ui): update failing e2e test for Data Explorer

* fix(ui): derp

* refactor(ui): remove string interpolation

* refactor(ui): redesign renamable page title to match new clockface style

* refactor(ui): update VEO and CheckEO headers

* refactor(ui): flatten query builder design

* refactor(ui): polish save as dialog

* refactor(ui): cleanup

* refactor(ui): use Rubik in giraffe theme

* fix(ui): upgrade to utilize font and other fixes

* refactor(ui): fix jitter in renamable page title
2020-03-09 11:08:38 -07:00
Ariel Salem a017f0c4a2
fix(ui): displaying variable list default values (#17097) 2020-03-09 09:31:52 -07:00
Ariel Salem ddc0d9afd8
fix(ui): disabled group functionality for check query builder (#17113)
fix(ui): disabled group functionality for check query builder
2020-03-06 10:45:59 -08:00
Ariel Salem 037d4845d6
Revert "fix(ui): disabled group functionality for check query builder (#17110)" (#17112)
This reverts commit ff6d9c87cb.
2020-03-05 17:14:44 -08:00
Ariel Salem ff6d9c87cb
fix(ui): disabled group functionality for check query builder (#17110)
fix(ui): disabled group functionality for check query builder
2020-03-05 16:53:04 -08:00
Deniz Kusefoglu b1b2444fac
feat(sampledata): Route from buckets index to Data Explorer (#17085)
* feat(sampledata): Add routing to de from bucket name

* feat(sampledata): Change rename edit bucket flow

* feat(sampledata): Add onclick behavior to system buckets

* feat(sampledata): Move rename button

* feat(sampledata): Remove rename bucket button from create bucket overlay

* feat(sampledata): Fix bucket tests

* feat(sampledata): Update changelog
2020-03-04 18:02:43 -08:00
Ariel Salem ad053d3c24
fix(ui): fixed regression bug that prevented variable maps from properly assigning values (#17072)
fix(ui): fixed regression bug that prevented variable maps from properly assigning values and updated tests to enforce correct functionality
2020-03-04 13:52:40 -08:00
Ariel Salem 2e348eb082
fix(ui): updated default positioning for adding aggregate funcs when toggling from query builder (#17028)
fix(ui): updated default positioning for adding aggregate funcs when toggling from query builder
2020-03-03 10:09:11 -08:00
Bucky Schwarz e6cf208400 test: add e2e test for query builder grouping 2020-02-25 11:37:16 -08:00
Deniz Kusefoglu 38e014ee90
feat(lsp): Add lsp wasm and connect to monaco (#16842)
* feat(lsp): Add flux-lsp-browswer dependency

* feat(lsp): Change webpack settings to compile lsp wasm

* feat(lsp): Add monaco lsp client dep

* feat:lsp instantiate lsp server in monaco editor file

* feat(lsp): Update monaco loaders and load in webpack.common

* feat(lsp): Update flux-lsp-browser dependency

* feat(lsp): Connect monaco to lsp server

* feat(lsp): Add trigger characters

* feat(lsp): Dispose of completion item provider

* feat(lsp): Remove javascript and go as monaco languages

* feat(lsp): Fix type errors in tests

* feat(lsp): Define constants file for fluxlangid

* feat(lsp): Remove console

* feat(lsp): Fix variable and function insertion

* feat(lsp): Fix script entering in DE

* feat(lsp): FIx task tests

* feat(lsp): Add monaco as global

* feat(lsp): Add monaco to window type
2020-02-14 09:59:05 -08:00
Ariel Salem 753bcbcc77
chore(ui): updated clockface to latest version (#16886) 2020-02-14 08:39:03 -08:00
Ariel Salem 47ab6d620d
feat(ui): added labels to buckets (#16855)
feat(ui): added labels to buckets
2020-02-13 12:27:43 -08:00
Andrew Watkins 7188363c2b
refactor: normalize labels (#16787)
* chore: move thunks and creators

* refactor(labels): normalization

* refactor(variables): normalize labels for variables

* refactor(templates): label normalization

* refactor(labels): convert to labelIDs

* test: add label tests

* fix: filtering by labels

* fix(labels): delete test

* chore: remove unused import

* fix: template dashboards

* test: fix / update broken unit tests

* chore: defenisve against non-existent labels

* chore: move auth schema

* chore: move bucket schema

* chore: move more schemas

* chore: move org schema

* chore: move schemas

* fix: test imports

* test: add setRelation test
2020-02-10 15:38:51 -08:00
Zoe Steinkamp 39b767cb0e
fix: e2e tasks test (#16777) 2020-02-07 10:16:15 -07:00
Zoe Steinkamp 6dcbc88d22
fix: gauge tests (#16744) 2020-02-05 15:15:32 -07:00
Zoe Steinkamp 4898a27c7d
fix(tests): Collectors and tasks (#16699)
* fix(tests): Collectors and tasks

* fix(tests): Collectors and tasks
2020-02-03 09:40:59 -07:00
Andrew Watkins 45f1cc8c57
refactor: normalize notification rules (#16694)
* feat(wip): move creators and thunks

* chore: cleanup action typings

* feat: normalize notification rules

* chore: let code breathe

* test(rules): add create and reducer tests

* test: cleanup

* test: run 50 times

* test: run 25 times

* chore: remove test loop
2020-01-31 13:26:25 -08:00
Andrew Watkins 974d0ef85e
refactor: normalize notification endpoints (#16687)
* refactor(endpoints): normalization

* chore(endpoints): move thunks

* test: add label to endpoint

* fix: prettier

* test: simplify explorer test
2020-01-31 07:53:23 -07:00
Zoe Steinkamp e0165303ed
Zs flakeyexplorertest16587 (#16676)
* fix(test): flaky explorerer test round 1

* fix(test): flaky explorerer test round 1

* fix(test): flaky explorerer test round 1

* fix(test): flaky explorerer test round 1
2020-01-29 11:30:46 -07:00
Andrew Watkins 21e7eb7841
fix: clone dashboards (#16662)
* fix: cannot clone dashboards

* test: add simple clone test
2020-01-23 15:46:44 -08:00
Andrew Watkins 78c1e9e19e
refactor(ui/views): normalization (#16616)
* refactor: move views logic to separate directory

* refactor: normalize views

* fix: spinners

* fix: dont render views until status is done

* fix(http/dashboards): view shape not returning from getDashboard

* test: delete irrelevant and redundant test

* fix: go tidy

* test: skipping monaco test

* chore: sort type exports

* chore: cleanup
2020-01-23 13:17:08 -08:00
Zoe Steinkamp 7ae36195af fix(test): Fixing flakey e2e onboarding test in cypress 2020-01-22 10:13:03 -07:00
Zoe Steinkamp 4121ee8f86 fix(test): Fixing flakey e2e onboarding test in cypress 2020-01-22 10:00:11 -07:00
Zoe Steinkamp 38c86d6c69 fix(test): Fixing flakey e2e onboarding test in cypress 2020-01-22 10:00:11 -07:00
Zoe Steinkamp ccaa177f1b fix(test): Fixing flakey e2e onboarding test in cypress 2020-01-22 10:00:11 -07:00
Zoe Steinkamp c9744bc3dc fix(test): Fixing flakey e2e onboarding test in cypress
Fixed as per alexs request
2020-01-22 10:00:11 -07:00
Zoe Steinkamp 074d7ef3ae fix(test): Fixing flakey e2e onboarding test in cypress
remove skip
2020-01-22 10:00:11 -07:00
Zoe Steinkamp b1e9b80c78 fix(test): Fixing flakey e2e onboarding test in cypress 2020-01-22 10:00:11 -07:00
Alex Boatwright 6611aae63f
fix: enabling prettier (#16593) 2020-01-17 13:41:15 -08:00
Deniz Kusefoglu f24325120f
fix(variable-deleting): Enable test for variable deletion (#16585) 2020-01-17 13:19:40 -05:00
Andrew Watkins 6c7a61e838
refactor(dashboard): normalization (#16535)
* refactor: change client api impoorts

* refactor(dashAPI): remove unneccessary helpers

* refactor: remove unneccessary helpers

* chore: move action creators to separate file

* refactor(dashboard): action creators use const attribute

* refactor(dashoards): normalization

* chore: cleanup names of thunks

* chore: sort action creator types

* fix: saving to a dashboard cell

* chore: move dashboard thunks to thunks file

* fix: dash index table imports

* fix: declare class properties

* chore: skip monaco test
2020-01-15 10:34:47 -08:00
Deniz Kusefoglu df83ac11bf
fix(ui): vars rename (#16539)
* fix(variable-rename): Fix variable renaming bug

* fix(variable-rename): Add tests
2020-01-15 11:44:08 -05:00
Zoe Steinkamp e75bd2e0f5
Merge branch 'master' into zs-rebuildlabelspopover-#15416 2020-01-13 20:37:05 -07:00