Commit Graph

2844 Commits (a61161d73b5904ada12929dc40da3be8af76d314)

Author SHA1 Message Date
Timmy Luong cbf6a96ce4 fix(ui): remove newlines in fromFlux parser only for time strings 2020-06-16 20:29:46 -07:00
Deniz Kusefoglu 2135042485
feat(reporting): Silence reporting errors (#18542) 2020-06-16 19:41:31 -07:00
Deniz Kusefoglu cdcba3566b
fix(popovers): Refactor popover to controlled component (#18524)
* fix(popovers): Refactor popover to controlled component

* fix(labels): Test popover closing
2020-06-16 19:41:12 -07:00
Timmy Luong 5c4f5cacdc fix(ui): add removal of hidden newlines to the fromFlux parser 2020-06-16 19:24:19 -07:00
Alex Boatwright 85c0d90017
feat: adding pagination ability to raw data (#18474) 2020-06-16 16:24:57 -07:00
Alex Boatwright 8ef5e4d7ec
fix: dont crash on empty result state (#18545) 2020-06-16 14:34:15 -07:00
Andrew Watkins 55055b529d
test(e2e): dashboard cell markdown and resize (#18549)
* test(cell): create a markdown note

* test(cell): resize

* test(cells): use aliases instead of vars
2020-06-16 14:33:21 -07:00
Bucky Schwarz 05e91093e0 chore(flagged): add active template to redux 2020-06-16 13:19:15 -07:00
alexpaxton 42e8a2e06d
refactor(flows): update copy to improve usability (#18516) 2020-06-16 12:48:00 -07:00
Zoe Steinkamp 3af909b611
test: Adding simple client libraries test (#18527) 2020-06-16 10:22:04 -06:00
Ariel Salem b1f7d03ad1
feat(cancel-query-request): added abort query request functionality after submitting a query (#18387) 2020-06-16 05:19:34 -07:00
Deniz Kusefoglu c4b0ba7f4b
feat(reporting): Convert ms to ns (#18523) 2020-06-15 18:00:31 -07:00
Alex Boatwright 9c6f02f7f0
fix: don't break on auto detected delimiters (#18521) 2020-06-15 16:56:01 -07:00
Rose Parker 4790c3cb43 test: retaining dashboard sort order 2020-06-15 16:36:07 -04:00
Deniz Kusefoglu fd8e2291ef
feat(reporting): Add reporting abstraction and init events (#18499)
* feat(reporting): Add init reporting abstraction

* feat(reporting): Add events

* feat(reporting): Rename queryperformance, add Date.now() in function call
2020-06-15 11:37:29 -07:00
Russ Savage 037f3c11e7
chore(fluxFunctions): Update hasSuffix/Prefix (#18496) 2020-06-15 10:33:14 -07:00
Alex Boatwright e91514a63f
feat: save to dashboards from notebooks (#18468) 2020-06-15 09:13:57 -07:00
Zoe Steinkamp dd64ba6dff
fix: loads function writeNavigationTimingMetrics after window.load runs (#18495)
* fix: loads function after window.load runs

* fix: loads function after window.load runs
2020-06-12 19:05:25 -06:00
Timmy Luong 85baa156bf fix: update formatStatValue to correctly handle trailing zeroes in all cases 2020-06-12 15:55:06 -07:00
Alex Boatwright 1dc54f403e
feat: button order (#18492)
Co-authored-by: drdelambre <drdelambre>
2020-06-12 15:06:19 -07:00
Ariel Salem 020d938537
chore(alphabetize): alphabetizes dashboards in the saveas dropdown, variables in script editor, and alerts, endpoints and checks (#18488) 2020-06-12 14:43:35 -07:00
alexpaxton 26423447b9
feat(flows): draggable visualizations (#18486)
* feat: implement resizer for Visualizations

* refactor: clean up implementation in Query

* refactor: move resizer components to shared folder

* refactor: make resizer components more generic and customizable

* fix: cleanup
2020-06-12 14:18:36 -07:00
Andrew Watkins faf6f9dd11
test(e2e): create CSV, map, and query variables (#18465)
* test(e2e): creation of CSV, map, and query variables

* fix: wait for overlay to close

* test(e2e): contains instead of exists

* fix: prettier
2020-06-12 13:21:43 -07:00
Ariel Salem daad4b517c
feat(cmdClick-task): Added command click functionality to tasks names to open in separate tab (#18480) 2020-06-12 09:48:28 -07:00
Zoe Steinkamp 87ad2ebbb5
fix: This fixes the dropdown width (#18476)
The amount of spacing was too small for bucket names between 10-16 characters
2020-06-11 22:37:02 -06:00
Lyon Hill af1119304d
fix: remove operation log system (#18459)
Work had started on a opperation log but was never fully implemented and was later partially removed.
The plan here is to remove the partially defunct logs and then build a new robust op log system that will
replace it in the future.
2020-06-11 16:04:23 -06:00
Ariel Salem a205c01975
fix(presentation-mode-notification): Triggers a notification when toggling dashboard presentation mode (#18471) 2020-06-11 15:01:41 -07:00
Timmy Luong 5bc049c5bc fix(ui): reset the loading spinner timer on error 2020-06-11 14:58:41 -07:00
Alex Boatwright 52042f0812
feat: remove auto refresh from cloud instances (#18369)
Co-authored-by: drdelambre <drdelambre>
2020-06-11 14:29:01 -07:00
alexpaxton c6ad3cb58a
feat(flows): draggable results panels (#18460)
* feat: WIP drag to resize results

* refactor: WIP make dragging smoother

* refactor: make resizing cells nice and smooth

* refactor: move height/visibility update handlers into results component

* refactor: use vanilla Math instead of lodash

* refactor: consolidate visibility and resizing code in Resizer component

* refactor: rename resizer components to be more generic

* fix: use updated component name

* refactor: use PipeData type instead of any

* chore: misc cleanup
2020-06-11 14:13:38 -07:00
Bucky Schwarz ba3d0116c7 feat(flagged): wireup simple url and name overlay 2020-06-11 10:41:37 -07:00
Zoe Steinkamp e812c5ac1e
test: Check history tests (#18440)
* test: Check history tests

* test: Check history tests
2020-06-11 09:36:38 -06:00
Ariel Salem e8fe3c9ed6
chore(react-testing-library): updated react testing library (#18449) 2020-06-11 06:18:13 -07:00
alexpaxton 8ca8ce9da3
feat(dashboards): improve view spinners (#18447)
* refactor: remove GraphLoadingDots and prop drilling from view switcher and views

Co-Authored-By: Zoe Steinkamp <zoesteinkamp@users.noreply.github.com>

* refactor: rename loading component to be more related to its context

Co-Authored-By: Zoe Steinkamp <zoesteinkamp@users.noreply.github.com>

* feat: implement more obvious loading spinner

Co-Authored-By: Zoe Steinkamp <zoesteinkamp@users.noreply.github.com>

* chore: changelog

* fix: cleanup

Co-authored-by: Zoe Steinkamp <zoesteinkamp@users.noreply.github.com>
2020-06-10 16:36:43 -07:00
Ariel Salem ac559d864a
chore(variable_test): added cypress test for variable searching based on labels & variable name (#18425) 2020-06-10 09:12:00 -07:00
Bucky Schwarz 7a88acfd34 feat(flagged): update look of community templates landing page 2020-06-10 07:36:42 -07:00
Bucky Schwarz 830e4d41c0 fix: guard against negative stats when non-fired events are 0 2020-06-09 13:23:23 -07:00
Vlasta Hajek 9f4e60da41
docs(client-libraries): Arduino client (#18396)
* docs: added Arduino client library overview

* fix(logos): cleaning up logos, updating arduino logo

Co-authored-by: Russ Savage <russ@influxdata.com>
2020-06-09 13:00:31 -07:00
rbose22 f79abf2091
chore(variables): change text (#18418) 2020-06-09 12:40:24 -07:00
Andrew Watkins fae7afbe8a
test(e2e): remove note cell and variable navigation (#18416)
* test(e2e): navigate to variables from sidenav and tabs

* test(e2e): delete note cell
2020-06-09 11:05:47 -07:00
Alex Boatwright 3c49190104
feat: adding helper text to cells (#18382)
* feat: adding helper text to cells

* fix: prettier

Co-authored-by: drdelambre <drdelambre>
2020-06-09 09:47:16 -07:00
Rose Parker a30cd274a7 feat: Dashboards maintain sort order after navigating away 2020-06-09 07:57:16 -07:00
Pavel Závora 8485007322
docs(clientLibs/js): use Point to write data (#18313) 2020-06-08 11:25:29 -07:00
Ariel Salem 9cdeb2e2a5
fix(variable-hydration): fixed variable overhydration issue (#18346) 2020-06-08 09:43:09 -07:00
alexpaxton 074b9558d9
refactor(ui): misc polish on flows UI (#18378)
* refactor: allow spaces in cell names

* refactor: make markdown cells easier to modify

* refactor: make visualization cells look more like other cells
2020-06-05 11:51:14 -07:00
Zoe Steinkamp 4ef234058c
Merge pull request #18359 from influxdata/testforscrolling
Test for loading data when scrolling error
2020-06-05 10:26:56 -06:00
Bucky Schwarz ccfa7dc990 fix: fix points writing to rum endpoint 2020-06-05 09:24:50 -07:00
Rose Parker ea86dfdae4 chore: convert index list to resource list 2020-06-05 07:40:35 -07:00
alexpaxton 40f2c91ae8
fix: ensure bold cell note text is legible when dashboard is in light mode (#18373) 2020-06-04 15:55:37 -07:00
Zoe Steinkamp a999f534c2 test(data-explorer): Add raw data view scrolling test
Change names
2020-06-04 16:12:25 -06:00
alexpaxton 5dfeb0ad82
feat(ui): expose bucketid (#18319)
* refactor: extract bucket card actions and meta into separate components

* feat: allow bucket ID to be copied

* chore: cleanup

* chore: update changelog

* feat: add copiable ID to demo data bucket cards
2020-06-04 15:12:14 -07:00
alexpaxton 17791301ab
refactor(ui): rename "Notebooks" to "Flows" (#18375) 2020-06-04 15:11:04 -07:00
Zoe Steinkamp 10dc06a453 test(data-explorer): Add raw data view scrolling test 2020-06-04 15:38:47 -06:00
Zoe Steinkamp b2329173f1 test(data-explorer): Add raw data view scrolling test 2020-06-04 15:38:47 -06:00
Zoe Steinkamp dd5e5138b8 test(data-explorer): Add raw data view scrolling test 2020-06-04 15:38:47 -06:00
Zoe Steinkamp 76776f14b4 test(data-explorer): Add raw data view scrolling test 2020-06-04 15:38:47 -06:00
Zoe Steinkamp bb38d1f0f3 test(data-explorer): Add raw data view scrolling test 2020-06-04 15:38:47 -06:00
Zoe Steinkamp afdc102e36 test(data-explorer): Add raw data view scrolling test 2020-06-04 15:38:47 -06:00
Zoe Steinkamp 787d1ebca2 test(data-explorer): Add raw data view scrolling test 2020-06-04 15:38:47 -06:00
Zoe Steinkamp ff37c7a90d test: Adding scrolling test 2020-06-04 15:38:47 -06:00
Alex Boatwright 1ccac90a8c
feat: add visualizations to notebooks (#18348) 2020-06-04 11:00:02 -07:00
Bucky Schwarz 925354f951 feat: add communityTemplate feature flag and put copypasted container in it 2020-06-04 06:55:12 -07:00
Ariel Salem 22e135c06a
chore(redirectTo-flag): removed redirectTo featureFlag (#18355) 2020-06-04 05:24:26 -07:00
Andrew Watkins bac84a3c2f
chore: upgrade cypress (#18356)
* chore: upgrade cypress

* chore: remove redundant plugins
2020-06-03 15:37:21 -07:00
Andrew Watkins ef4893a7ef
test(e2e): variables (#18351)
* test(e2e): add test for all variable types

* chore: rename test id

* test(e2e): merge tests

* fix: lint
2020-06-03 13:14:12 -07:00
alexpaxton b4f4a11cff
feat(notebooks): display raw data within query pipes (#18341)
* refactor: add left indentation on all pipes to make titles easier to scan

* refactor: store results in raw and parsed formats

This intended is a bandaid fix until raw data table comes from Giraffe and accepts data in the standard way

* refactor: remove unused scss variable

* feat: create raw data components and display within query pipes

* fix: remove console log

* refactor: begone lodash
2020-06-02 16:18:47 -07:00
Zoe Steinkamp 7c88a79d58
Fix: Bin size limit (#18247)
* Fix: Bin size limit

limit bin size to 670, which craches on my computer beyong this

And added test to confirm its working

* Fix: Bin size limit

remove curlies

* Fix: Bin size limit

* Fix: Bin size limit test

* Fix: Bin size limit test
2020-06-02 16:26:17 -06:00
Zoe Steinkamp 3374c4c19b
fix: Flakey explorer test wrong test id (#18338)
* fix: Flakey explorer test wrong test id

specifcally the 'can filter aggregation functions by name from script editor mode'

* fix: Flakey explorer test wrong test id

* fix: Flakey explorer test wrong test id

* fix: Flakey explorer test wrong test id
2020-06-02 16:26:04 -06:00
Bucky Schwarz 59b82df30f fix: update app-metrics path to point to the right place 2020-06-02 09:12:37 -07:00
Alex Boatwright 25b73be687
fix: wrap flux validation (#18321) 2020-06-02 09:08:34 -07:00
Ariel Salem 65fe3d49e0
feat(flag-redirectTo): using old UI feature flag to flag redirectTo (#18320) 2020-06-01 15:24:38 -07:00
Andrew Watkins eb1041c7d1
test(e2e): dashboard notes (#18318)
* test: add typings for cy commands

* test(dashboard): creation of note cell
2020-06-01 14:54:39 -07:00
Andrew Watkins 17ccbbefcb
test(e2e): rename collectors to telegrafs (#18317) 2020-06-01 13:11:06 -07:00
Zoe Steinkamp d3ca54fcc4 Fix: Bin size limit test 2020-06-01 14:07:28 -06:00
Zoe Steinkamp bcd3292d53 Fix: Bin size limit test 2020-06-01 14:07:28 -06:00
Zoe Steinkamp b6bc4057f2 Fix: Bin size limit 2020-06-01 14:07:28 -06:00
Zoe Steinkamp 75ae52cc1b Fix: Bin size limit
remove curlies
2020-06-01 14:07:28 -06:00
Zoe Steinkamp 474a30e355 Fix: Bin size limit
limit bin size to 670, which craches on my computer beyong this

And added test to confirm its working
2020-06-01 14:07:28 -06:00
Bucky Schwarz 3bd249fdfc feat: add feature-flagged app metrics 2020-06-01 11:12:05 -07:00
Scott Anderson aed25eca00
chore(flux): Add Flux 0.68 functions (#18303)
* chore(flux): Add Flux 0.68 functions
* chore(flux): fixed formatting issues in fluxFunctions.ts
2020-06-01 11:02:36 -06:00
Alex Boatwright 494d6d4f76
feat: allowing notebooks to submit queries (#18257) 2020-05-29 09:16:20 -07:00
alexpaxton 7df56f5d6c
feat(notebooks): introduce minimap (#18270)
* refactor: extract notebook scoped scss variables to own file

* feat: WIP introduce minimap components

* feat: attempt to add minimap state to AppContext

* refactor: update notebooks layout to handle minimap alongside pipe list

* refactor: remove border from markdown preview

* refactor: add spacing between minimap items

* chore: cleanup styles and markup

* feat: give panels an ID attribute to facilitate scrolling to their position

* feat: enable minimap to update scroll position of pipe list via notebook context

* feat: make minimap scrollable

* feat: style hidden pipes differently in minimap

* fix: remove console logs

* refactor: move scrolling related code into separate context

* refactor: use refs instead of IDs for getting a panel's scroll position

* refactor: remove minimap state from AppSettingProvider

* refactor: use persisted redux to store minimap visibility preference

Seems like the kind of thing that would have ended up here eventually so I'll save future me some trouble and do it now

* fix: add & repair unit tests
2020-05-28 17:38:02 -07:00
Jakub Bednář 97200f1b92
feat(clientLibs): add Kotlin and Scala client library (#18198)
* feat(clientLibs): add Kotlin and Scala client library

Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>

* feat(clientLibs): add Kotlin logo from - https://resources.jetbrains.com/storage/products/kotlin/docs/kotlin_logos.zip

Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>

* feat(clientLibs): add Scala logo from - https://github.com/kaeawc/scala-logo

Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>

* fix(clientLibs): fixing logos, small code cleanup

* fix(clientLibs): run prettier

Co-authored-by: Russ Savage <russ@influxdata.com>
2020-05-28 15:01:38 -07:00
Timmy Luong d30540e0b2 chore: update giraffe 2020-05-28 14:46:11 -07:00
Jakub Bednář 96110ec5f9
fix(swagger): added missing Permission type: dbrp (#18260) 2020-05-28 11:50:48 -06:00
alexpaxton 139aa40988
feat(notebooks): add empty state (#18256)
* feat: add empty pipe list component + graphic

* feat: display empty state when no pipes exist

* feat: display label text next to add cell buttons

* fix: use preferred import path

* feat: create and use webpack alias "assets" for loading images
2020-05-27 16:14:37 -07:00
alexpaxton 0eb1e06ba1
feat(notebooks): make panels focusable (#18233)
* feat: make panels click to focus instead of hover

* chore: prettier

* fix: prevent event bubbling from move panel button

This causes the focus behavior to do weird things

* feat: add title attributes to notebook panel buttons

* refactor: change default cell name to "Cell"

* refactor: show panel buttons on hover and focus state

* refactor: wrap updatePanelFocus in useCallback
2020-05-27 11:12:41 -07:00
Ariel Salem 0770046659
feat(redirectTo): added UI part of redirectTo logic for CLOUD users to redirectTo original links after logging in (#18214) 2020-05-27 05:45:06 -07:00
Alex Boatwright 448b598834
feat: moving markdown editing to monaco (#18231) 2020-05-26 15:14:02 -07:00
alexpaxton dae7953806
feat: change "Submit" to "Run Notebook" (#18230) 2020-05-26 15:02:36 -07:00
Brandon Farmer f04fc81ca6
Merge pull request #18226 from influxdata/update-lsp-0.5.11
chore: update lsp to 0.5.11
2020-05-26 15:00:20 -07:00
Alex Boatwright 30f8978974
chore: cleaning up code styling (#18223) 2020-05-26 14:17:50 -07:00
Alex Boatwright 70073ff793
fix: remove example pipe (#18224) 2020-05-26 13:09:32 -07:00
Brandon Farmer 4c59dc6738 chore: update lsp to 0.5.11 2020-05-26 11:50:38 -07:00
Alex Boatwright cfdfec04cd
feat: allow monaco to autogrow (#18205) 2020-05-26 11:38:56 -07:00
alexpaxton 743fb67546
feat(notebooks): introduce markdown pipe type (#18181)
* chore: light cleanup

* feat: add generic controls prop to pipe context

* feat: introduce primitive version of markdown panel

* feat: WIP enable edting / preview modes of markdown panel

* fix: prettier

* chore: simplify means of updating meta

* refactor: make new markdown cells in edit mode and focused by default

* refactor: add controls back into notebook panel

* refactor: make script editor have min-height instead of notebook panel
2020-05-22 11:54:57 -07:00
Alex Boatwright 6e67fb4f6f
feat: add query type for notebooks (#18168) 2020-05-22 10:51:47 -07:00
Zoe Steinkamp 78466ba736
fix: Change max width to fix hover (#18189)
* fix: Change max width to fix hover

* fix: Change max width to fix hover

prettier fix
2020-05-22 11:47:05 -06:00
Ariel Salem 24ce3606a3
chore(hb_parse_error): created a JSON validation function to prevent HB error and correctly log errors (#18199) 2020-05-22 10:13:17 -07:00
Ariel Salem 27b7a5d387
fix(variable_hydration): reverted filter function to keep dashboards working as expected (#18191)
* fix(variable_hydration): reverted filter function to keep dashboards working as expected

* revert(variable_thunk): reverted to the original implementation
2020-05-21 17:14:09 -07:00
Deniz Kusefoglu 782a0d0f05
fix(customChecks): bring back custom check saving (#18194) 2020-05-21 16:56:30 -07:00
Ariel Salem bf13e339fe
chore(reduce_honeybadger_noise): saveCheckFromTimeMachine was reporting Honeybadger errors when users were trying to save checks with the same name. (#18188) 2020-05-21 12:21:12 -07:00
Zoe Steinkamp 99074a262d
fix: adjust dropdown width + changelog additions (#18185)
Also update changelog
2020-05-21 12:50:53 -06:00
Zoe Steinkamp f1b3e97c1e
Check statuses (#18171)
* Fix: Loading status checks

The first pass at fixing the loading screen

* Fix: Loading status checks

* Fix: Loading status checks

Fix non used variables

* Fix: Loading status checks

fix copy

* Fix: Loading status checks

prettier
2020-05-21 12:43:05 -06:00
Andrew Watkins d361afc289
chore(multiUser): remove feature flag (#18180) 2020-05-21 08:52:20 -07:00
Alex Boatwright 27fa70a4d7
feat: keep notebook meta out of the pipes (#18163) 2020-05-20 12:26:23 -07:00
Ariel Salem 0c44328419
fix(variable_hydration): limiting variable hydration to changing variables (#18071) 2020-05-20 09:22:00 -07:00
Timmy Luong 0360d0d5c0 chore: sync flux in yarn.lock and package.json 2020-05-20 09:19:27 -07:00
Ariel Salem b913eea568
fix(parseYBounds): parseYBounds was parsing integers, causing floating numbers to be trimmed. Updated parseYBounds to parseFloat instead (#18166) 2020-05-19 14:46:25 -07:00
Brandon Farmer ebbc8025b3
Merge pull request #18165 from influxdata/update-flux-lsp-0.5.8
chore: update flux-lsp to 0.5.8
2020-05-19 14:19:40 -07:00
Alex Boatwright aa3ac572c9
feat: adding basic notebook header (#18117) 2020-05-19 14:17:58 -07:00
Brandon Farmer 2ec0d26699 chore: update flux-lsp to 0.5.8 2020-05-19 11:33:37 -07:00
Alex Boatwright 001e3b75c5
fix: faster dashboards (#18142) 2020-05-19 09:18:24 -07:00
Jakub Bednář 6fee1562f9
docs(clientLibs): updated version of Java client, changed how to initialize Ruby client (#18094)
Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>
2020-05-19 08:59:37 -07:00
Zoe Steinkamp d5b3ccb6f0
Fix: Fancy scrollbars (#18151)
* Fix: Fancy scrollbars

* Fix: Fancy scrollbars
2020-05-18 18:40:40 -06:00
alexpaxton b3037680f8
feat(ui): polish notebook panels (#18141)
* refactor: organize panel components in folder

* refactor: add page control bar to notebooks page

* chore: update example pipe to use new name of notebook panel

* refactor: break panel elements out into individual components

* fix: add trailing space

* refactor: make panel buttons purely signalling

Remove ID from type as well as props

* refactor: consolidate panel move buttons into a single component

* refactor: import/export notebook panel from notebook component

* fix: remove usePanelState hook

This is causing some linter errors

Also panel state has been simplified a bunch and is only used by one component so I'm leaving the state code in NotebookPanel

* feat: moving around (#18145)

* refactor: remove id from panel action function types

* refactor: enforce movement bounds based on index of pipe

Co-authored-by: Alex Boatwright <drdelambre@gmail.com>
2020-05-18 15:20:23 -07:00
Zoe Steinkamp 9eb180b6c7
refactor: remove fancy scroll bars (#18016)
* refactor: remove fancy scroll bars

the code changes in influxdb, the final removal of fancy scrollbars, this will need to go out with clockface changes

* refactor: remove fancy scroll bars

Prettier fixes
2020-05-18 10:33:03 -06:00
Bucky Schwarz 074a319239 chore: alphabetize flags list 2020-05-18 05:35:39 -07:00
Timmy Luong 05fb0e3d23 chore: restore flux version 2020-05-17 21:32:00 -07:00
Alex Boatwright 89fe6834b0
feat: adding basic structure for notebooks (#18108) 2020-05-15 17:18:25 -07:00
Timmy Luong 1199136bbd refactor(ui): use find util rather than rely on having an array 2020-05-15 13:25:06 -07:00
Zoe Steinkamp 9770d0ac44
chore: upgrade clockface 2.2.0 (#18092)
* chore: upgrade clockface 2.2.0

* chore: upgrade clockface 2.2.0

test fix

* chore: upgrade clockface 2.2.0

fix test
2020-05-15 11:02:39 -06:00
Deniz Kusefoglu c6d60924e5
feat(demodata): Flip demodata feature flag (#18103) 2020-05-14 18:26:51 -07:00
Timmy Luong a2f1a5073d fix(ui): wait for org to be available then fetch org settings just once 2020-05-14 17:52:08 -07:00
Deniz Kusefoglu 020f895013
feat(demodata): Response statuses are numbers (#18110) 2020-05-14 17:39:05 -07:00
Deniz Kusefoglu 5102d311b0
feat(demodata): Polish demo data error reporting (#18107)
* feat(demodata): Add type do demodata notification

* feat(demodata):  do not report dashboard would exceed quota errors

* feat(demodata): notify user of demodata availability error in dashboards

* feat(demodata): Correct error reporting for demodata

* feat(demodata): Add error if demodata bucket is missing
2020-05-14 15:55:52 -07:00
Zoe Steinkamp 17f4cc14f2
fix: Adjusting the width of dropdown (#18059)
* fix: Adjusting the width of dropdown

This will make it so the width of the dropdown will adjust to the longest variable name

* fix: Adjusting the width of dropdown

Updating font

* fix: Adjusting the width of dropdown

fix prettier
2020-05-14 15:30:32 -06:00
Brandon Farmer 7dd2ea9b09 chore: update flux parser
- better error handling
- updated language specs
2020-05-14 13:28:22 -07:00
Alex Boatwright a280a50f99
feat: adding notebook context (#18089) 2020-05-14 13:17:19 -07:00
Andrew Watkins 828302c430
feat: tokens empty state (#18060)
* feat(tokens): add TokensEmptyState component

* feat: token empty state
2020-05-14 08:25:05 -07:00
Alex Boatwright 8903c939fe
feat: move cursor to end of text (#18063) 2020-05-13 12:23:14 -07:00
Michael Desa ddefe22ae5 chore(shared/constants): increase flux response limit to 27MB
This was detemined by looking at the 99th percentile of query responses.
2020-05-13 11:49:56 -07:00
Ariel Salem 8365f7617f
fix(useVisYDomainSettings): added check for undefined values (#18082) 2020-05-13 11:15:04 -07:00
Deniz Kusefoglu 2a1511c188
feat(demodata): Disambiguate dd errors (#18075) 2020-05-13 11:11:03 -07:00
Alex Boatwright 246eeef794
feat: notebook flag (#18087) 2020-05-13 11:08:51 -07:00
Greg 6ad1640641
feat: use new demodata member apis (#18058) 2020-05-13 11:55:15 -06:00
Ariel Salem aad4eea933
feat(y_axis_domain): updated y-axis domain settings to allow min OR max values to be set. (#18040) 2020-05-12 14:36:23 -07:00
Deniz Kusefoglu 396e7f629f
feat(demodata): Add GA events for demodata (#18047)
* feat(demodata): Initialize window.dataLayera

* feat(g-analytics): Add generic GA event function

* feat(demodata): Add demodata bucket Added event

* feat(demodata): Add remove dd event

* feat(demodata): Fire query analytics event when org is queried

* feat(demodata): Convert DashboardHeader to FC

* feat(demodata): Alert on demodata dashboard viewed

* feat(demodata): fireGAEvent to fireEvent

* feat(demodata): move window.dataLayer override to fireEvent function

* feat(demodata): Fix fire event name where it is called
2020-05-12 13:53:19 -07:00
Timmy Luong d1bcc9d498
fix: change null to empty array for default value 2020-05-12 13:05:26 -07:00
Timmy Luong 2a58a92973
fix: add default value for "settings" 2020-05-12 12:13:49 -07:00
Andrew Watkins 5cd872721d
fix: password length (#18041)
* fix: password length

* chore: go mod tidy

* chore: switch err message

* chore: remove backend validation
2020-05-12 10:14:09 -07:00
Deniz Kusefoglu 46ad19500a
feat(demodata): Place dd dashboard errors behind feature flag (#18027)
* feat(demodata): Alert user if demodata switched off

* feat(demodata): Get created Dashboard directly from api call function

* feat(demodata): Return flux errors as part of query response parsing

* feat(demodata): Fix linting errors

* feat(demodata): Return flux code directly
2020-05-12 10:03:22 -07:00
Ariel Salem c6b2fc5d2c
feat(custom-tz): added the ability to set UTC as the timezone when making custom time range queries (#18011) 2020-05-11 09:15:48 -07:00
Brandon Farmer 38f900ced4 chore: update LSP 2020-05-08 14:02:41 -07:00
Deniz Kusefoglu b58fb7ebe8
feat(demodata): Make dd error messages more explanatory (#18006)
* feat(demodata): Make dd error messages more explanatory

* feat(demodata): improve error writing with two trycatches
2020-05-07 19:07:36 -07:00
Zoe Steinkamp 8c72f1e5e1
fix: 404 page on about 'users' (#18009) 2020-05-07 16:15:19 -06:00
Ariel Salem 20054d1d0c
Revert "feat(custom-timerange-tz): timeZone dropdown is now integrated in setting custom time ranges for queries (#17992)" (#18008)
This reverts commit 97c15012a1.
2020-05-07 15:04:24 -07:00
Ariel Salem 97c15012a1
feat(custom-timerange-tz): timeZone dropdown is now integrated in setting custom time ranges for queries (#17992) 2020-05-07 14:39:39 -07:00
Andrew Watkins 1d1bb484dd
chore: multiUser defaults to true (#17976) 2020-05-07 10:54:10 -07:00
Deniz Kusefoglu 33f77d7fea
feat(demodata): get error message from error for notification (#17983) 2020-05-06 17:26:49 -07:00
Iris Scholten ac28d5bc44
Merge pull request #17849 from influxdata/refactor/org-nav-items
chore(ui): move users & about nav items
2020-05-06 16:36:30 -07:00
Timmy Luong d984d35c06 refactor(ui): update variable names, code patterns, and CloudUpgradeNavBanner 2020-05-06 15:59:46 -07:00
Timmy Luong 0a3cd47047 refactor(ui): use fetch instead of axios 2020-05-06 15:59:46 -07:00
Timmy Luong 4e0672e78e feat(ui): hide the "Upgrade Now" button for Cloud users when appropriate 2020-05-06 15:59:46 -07:00
Jakub Bednář 9bde937c54
docs(clientLibs): improve client docs: (#17968)
* `Initialize the Client` always contains full range of required imports
* `Initialize the Client` contains `org`, `bucket` and `token` constant for reuse on all places
* Timestamps are always current time => user view written data in default settings of DataExplorer

Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>
2020-05-06 09:06:38 -07:00
Andrew Watkins 4243bca075
fix(queryBuilder): display loading text (#17963)
* fix(queryBuilder): display loading text

* fix: add loading text to dropdown
2020-05-05 20:52:00 -07:00
Brandon Farmer c4824e8f2b chore: update lsp dependency to 0.5.5 2020-05-05 09:44:06 -07:00
Deniz Kusefoglu 9bc7a37c0b
feat(demodata): Optimize demodata lookup (#17947)
* feat(demodata): Optimize demodata lookup

* feat(demodata): style demodata dropdown
2020-05-04 14:50:03 -07:00
Ariel Salem 2eb70ee041
fix(zero_value_checks): checks can now have a value set to 0 (#17933) 2020-05-04 05:00:28 -07:00
Alex Boatwright 369186d339
fix: show buckets in alerting (#17930) 2020-05-01 11:26:36 -07:00
Alex Boatwright 0f09f4d2ab
fix: safari rendering bug in checks (#17929) 2020-05-01 10:28:07 -07:00
Alex Boatwright 7be7328c3b
feat: frontend consumption of feature flags (#17926) 2020-04-30 16:44:09 -07:00
Alex Boatwright 22899aee25
fix: load variables one at a time (#17875) 2020-04-30 13:59:38 -07:00
Alex Boatwright 446563cdfa
fix: remove toggle on note cell (#17914) 2020-04-29 15:52:43 -07:00
Alex Boatwright 09f3ba5787
fix: monaco polish (#17908)
* fix: monaco cleaning

* chore: tsc

Co-authored-by: drdelambre <drdelambre>
2020-04-29 15:39:06 -07:00
Andrew Watkins a6af6d29b4
chore: upgrade ts to 3.8.3 (#17913) 2020-04-29 15:38:49 -07:00
Ariel Salem 89f4914f3d
feat(github): removing the Github social sign-up option until further notice (#17909) 2020-04-29 15:03:25 -07:00
Deniz Kusefoglu 080d77751b
feat(demodata): Notify on demodata success and failure. (#17902)
* feat(demodata): Do not delete dashboard when delete demodata bucket

* feat(demodata): Refactor demodata dropdown

* feat(demodata): Fetch DD_Buckets in DD_Dropdown

* feat(demodata): Refactor notifications

Co-authored-by: alexpaxton <thealexpaxton@gmail.com>

* feat(demodata): Style demo data dropdown

* feat(demodata): Remove double console logging of error

* feat(demodata): Error on success and failure

* feat(demodata): Remove duplicate console.error

* feat(demodata): fix lint errors

* feat(demodata): Reintroduce Notification Style and add testID

* feat(demodata): Add dd success notification and links to notifications

Co-authored-by: alexpaxton <thealexpaxton@gmail.com>

* feat(demodata): fix test

* feat(demodata): Simplify getDemoDataBucketMembership function

* feat(demodata): Remove unused notification copy

* feat(demodata): Extend notification duration

* feat(demodata): Return null instead of false

* feat(demodata): Do not console.error if also notifying user

* feat(demodata): Add todo item

Co-authored-by: alexpaxton <thealexpaxton@gmail.com>
2020-04-29 14:52:36 -07:00
Alex Boatwright 463c8bab1f
fix: make single stats work in catalina (#17910) 2020-04-29 14:42:09 -07:00
drdelambre 00e60091b6 chore: tsc 2020-04-29 13:21:18 -07:00
drdelambre 0aaa6bdf88 fix: monaco cleaning 2020-04-29 13:09:30 -07:00
Alex Boatwright 0d48f4c09a
fix: persist local feature flag overrides (#17882) 2020-04-28 11:04:49 -07:00
alexpaxton d56966face
feat(ui): ability to create a bucket from time machine (#17860)
* feat: WIP allow on the fly bucket creation

* refactor: fully implement create bucket in both places

* refactor: use separate popover based component for selector list bucket creation

* chore: prettier

* chore: cleanup buckets tab

Doesn't need org, overlay state, or any overlay components

* chore: prettier

* refactor: convert CreateBucketOverlay to function component

* chore: changelog

* chore: cleanup

* feat: add integration test for creating a bucket from the query builder

* refactor: rebuild selector list bucket creator with useReducer

* refactor: keeping it DRY - both bucket creation components use the same state management
2020-04-27 14:19:12 -07:00
Daniel Campbell 5028b8a969 fix(tests): update test-ids 2020-04-27 10:32:36 -07:00
Daniel Campbell fd8dc3544a fix(ui): remove unused imports 2020-04-27 10:32:36 -07:00
Daniel Campbell 08e0c74e52 chore(ui): move multiUser feature flag 2020-04-27 10:32:36 -07:00
Daniel Campbell a86143a000 chore(ui): rename members tab to users in cloud 2020-04-27 10:32:36 -07:00
Daniel Campbell 0b5a6b68d6 fix(ui): about url 2020-04-27 10:32:36 -07:00
Daniel Campbell cef760234f chore(ui): move org nav items 2020-04-27 10:32:36 -07:00
Alex Boatwright 5c00430e0b
fix: move feature flag state into redux (#17806) 2020-04-27 10:12:33 -07:00
Scott Anderson decddb4710
chore(flux): add flux 0.66 functions (#17741)
* chore(flux): add flux 0.66 functions
* chore(flux): fix syntax issues in flux functions list
2020-04-23 10:54:53 -06:00
Ariel Salem a1d1a67a1b
feat(SignUpForm): Removed sign-up functionality since it's no longer relevant (#17841) 2020-04-22 14:37:48 -07:00
Brandon Farmer e29a2c78de
Merge pull request #17837 from influxdata/tag-key-completion
feat: integrate tag key completion in ui
2020-04-22 13:13:03 -07:00
Deniz Kusefoglu 5a663ead25
feat(demodata): polish (#17838)
* feat(demodata): Add flexbox around label

* feat(demodata): Change website monitoring bucket name
2020-04-22 12:32:01 -07:00
Brandon Farmer 5fe4520f4f feat: integrate tag key completion in ui 2020-04-22 11:25:27 -07:00
Alex Boatwright f5d19c1a26
fix: backfilling views and cells when we grab dashboards (#17822) 2020-04-22 10:39:52 -07:00
Alex Boatwright aa940a9739
fix: reapply new flux result parser (#17757)
now its behind a flag
2020-04-22 09:49:22 -07:00
Ariel Salem 960ec964f6
fix(Logout): Reverted the Logout component functionality to maintain the original IDPE-based logout (#17830)
fix(package.json): Updated the cloud-dev command to have the CLOUD_URL land on the same default port as Quartz

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2020-04-22 09:42:39 -07:00
Alex Boatwright ee39940a5e
fix: catch date format issue in table view type (#17823) 2020-04-21 15:42:14 -07:00
Johnny Steenbergen e5e5500401 feat(dashboards): extend dashboard update API to take cells as a put doc operation 2020-04-20 14:04:45 -07:00
Ariel Salem 615fa1c813
feat(SigninPage): Updated the Signin checkSession to correspond to API changes (#17772)
* feat(ui): get type from clientConfig to send with authorization request

* feat(LoginPageContents): Updated the LoginPageContents error when trying to log-in with the wrong username/password combo

* revert(Signin): Removed the checkSession logic from the UI to reduce overall authentication complexity. Since redirecting to the /login page will now happen from the API, we no longer need to worry about validating a user session from the UI

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2020-04-20 08:54:11 -07:00
Alex Boatwright e09e073acd
fix: allow dev mode with ingress prefixes (#17788) 2020-04-17 14:48:30 -07:00
alexpaxton 4fec6a3ae0
chore(ui): upgrade to Clockface 2.1.0 (#17767)
* chore: upgrade clockface dependency

* fix: update all instances of ResourceCard to match the new API

* fix: bandaid style for spacing in resource lists

* fix: make dashboard grid align with page

* fix: update card selectors labels e2e test

* fix: update meta item selector in buckets e2e test

* fix: ensure popover is dismissed and doesn't obscure other check card items

* fix: update selector in dashboard card interaction test

* fix: pass in meta items as children instead of an array to avoid map key issues

* refactor: ensure meta items are composed instead of passed in as an array

* fix: cleanup
2020-04-17 12:07:25 -07:00
Brandon Farmer 6633641d48 feat: ui measurement completion 2020-04-17 11:11:34 -07:00
Timmy Luong a86c7d7db6 test(ui): remove unnecessary unit test (already covered in e2e test) 2020-04-16 09:45:05 -07:00
Timmy Luong 81bc56cba0 fix(ui): update icons in Telegraf config 2020-04-16 09:45:05 -07:00
Timmy Luong fdb2524406 fix(ui): unset active plugin to allow user to leave info page 2020-04-16 09:45:05 -07:00
Alex Boatwright 20283a6713
fix: removing overflow for now (#17761) 2020-04-15 17:01:12 -07:00
Alex Boatwright 2aeb391178
feat: adding client library option for buckets (#16680) 2020-04-15 16:22:15 -07:00
Timmy Luong 0ec94e93a0 fix(ui): remove spacing above error message in Cells 2020-04-15 12:43:37 -07:00