Commit Graph

2610 Commits (41156ca6465ab672b082d7fbc7e2e991aeebd87f)

Author SHA1 Message Date
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