Commit Graph

2985 Commits (8ed55e72b85b0807c97d3d1d7d12e9f07c9737e9)

Author SHA1 Message Date
Bucky Schwarz 52e7b3c713 fix(ui-safari): make make single stat resizer class display flex 2020-07-16 06:21:24 -07:00
Bucky Schwarz a04ed91dc0 chore: add updated yarn.lock file 2020-07-16 06:21:24 -07:00
Alex Boatwright 81d1c3908d
feat: move notebook schema to better normalized form (#18893) 2020-07-15 16:27:47 -07:00
Zoe Steinkamp b74e1f649a
test: Upload variable file test (#18932)
* test: Upload variable file test

* test: Upload variable file test

prettier run

* test: Upload variable file test
2020-07-14 15:35:19 -06:00
Zoe Steinkamp 1b405028be
fix: query button flashes (#18734)
* fix: query button flashes

* fix: query button flashes

fixing prettier

* fix: query button flashes

* fix: query button flashes

* fix: query button flashes

* fix: query button flashes

* fix: query button flashes

* fix: query button flashes

* fix: query button flashes

* fix: query button flashes

* fix: query button flashes

* fix: query button flashes

* fix: query button flashes

* fix: query button flashes
2020-07-14 10:05:59 -06:00
Ariel Salem cc6fd8d9a5
feat(VariableControlBar): load nested query variables onto the dashboard variable control bar (#18908) 2020-07-14 09:00:26 -07:00
Ariel Salem 7d8285aded
feat(VEO-timerange-toggle): prevents timerange selections in the VEO from rerunning queries until the VEO is closed (#18677) 2020-07-13 05:04:08 -07:00
Ariel Salem ff35a29a38
fix(EventTable): fixed a max call stack exceeded error (#18923) 2020-07-10 15:40:04 -07:00
Zoe Steinkamp 7800015ee6
test: adding asc test for buckets retention (#18877)
* test: adding asc test for buckets retention

* test: adding asc test for buckets retention

running prettier

* test: adding asc test for buckets retention

removing only

* test: adding asc test for buckets retention

remove console

* test: adding asc test for buckets retention
2020-07-10 15:58:45 -06:00
Andrew Watkins 8e922ed14e
chore: add hook linter (#18909)
* chore: install eslint-plugin-react-hooks

* fix: login dependency list

* chore(wip): lint hooks

* chore(wip): hook linting

* chore: fix / comment lint rules

* chore: comment lint warnings
2020-07-09 16:45:33 -07:00
Bucky Schwarz a3be86b231 chore: connected community template stacks to redux 2020-07-09 15:25:13 -07:00
Zoe Steinkamp a523aa9ac4
test: Token tests multiple (#18895)
* test: Token tests multiple

test for sort by name
edit description
add all access token

* test: Token tests multiple
2020-07-09 10:24:24 -06:00
Bucky Schwarz 89e5084a3b feat(community-templates): install resources and show installed resources 2020-07-08 16:05:35 -07:00
Bucky Schwarz 28986d5ac6 chore(comm-templates): disable selecting of variables and buckets 2020-07-08 16:05:35 -07:00
Timmy Luong 30f938149a chore(ui): update CHANGELOG and fix lint errors 2020-07-08 15:39:58 -07:00
Timmy Luong 1fbb34f8d0 fix: allow custom set y-axis min to be 0 2020-07-08 15:39:58 -07:00
Andrew Watkins d664199bcf
fix: telegraf config overlay display and cloud links (#18880)
* fix: reload links that lead to cloud

* fix: telegraf config display
2020-07-07 16:47:41 -07:00
Andrew Watkins cfd9eac6d6
fix(tasks): import from template overlay (#18875) 2020-07-07 12:51:17 -07:00
Andrew Watkins 8615c64177
chore: upgrade @types/react-redux (#18873)
* chore: upgrade @types/react-redux

* chore: update router types 294

* chore: upgrade react router types 0 lint

* fix: test typing
2020-07-07 11:02:16 -07:00
Zoe Steinkamp c54a8b0476
Alertchecksdefinequeryerror (#18842)
* fix: Allow no tags in query builder

* fix: Allow no tags in query builder

* fix: Allow no tags in query builder

* fix: parse flux query into needed params

* fix: parse flux query into needed params
2020-07-07 12:00:52 -06:00
Bucky Schwarz 899074d3dd chore: update templates to use react router 5 hotness 2020-07-07 09:29:12 -07:00
Andrew Watkins e042fa8207
chore: upgrade react router (#18854)
* chore(wip): upgrade react-router-dom react-redux and connected-react-router

* chore(wip): move UnauthenticatedApp routes

* fix: type errors

* chore: render Getting Started

* chore: render tasks page

* chore: onboaring configure later

* fix: navbar orgID

* fix: two onboarding tests work

* chore: all onboarding tests pass

* chore: switch routes

* chore: no switch

* chore: task and data explorer working

* chore: dashboard index routing

* chore: route dashboard, cells, and veos

* chore: route to notebooks

* chore: add buckets routing

* chore: use constants for routes

* chore: route telegrafs

* chore: place overlays in an index

* fix: dashboard note overlays

* fix: generate token overlays

* fix: scrapers index

* chore: route client libs page and overlays

* chore: variable and template routes

* chore: label index routing

* chore: route AboutPage

* chore: alert routing

* chore: members routing

* chore: login routing

* fix: basepath

* fix: onboarding not rerendering

* fix: org rename

* fix: dashbaoard templates

* test: fix jstests

* chore: move dashboard routes

* fix: dashboard index catching dashboard show routes

* fix: e2e test

* chore: cleanup

* style: revert signin page
2020-07-06 10:45:43 -07:00
Bucky Schwarz a25bb8d57a chore: rename activeCommunityTemplate to communityTemplateToInstall 2020-07-06 09:22:37 -07:00
Bucky Schwarz 42fd2a99cb chore: move template installing functions to utils 2020-07-06 09:22:37 -07:00
Scott Anderson 897094f0ca
chore(docs): update links to documentation (#18845) 2020-07-06 09:58:45 -06:00
alexpaxton 8e0f1e2dba refactor: cleanup 2020-07-02 09:15:50 -07:00
alexpaxton 5169b3c661 refactor: make toggle mimic design 2020-07-02 09:15:50 -07:00
alexpaxton 1b1a4ae4c1 refactor: always allow toggling of list groups 2020-07-02 09:15:50 -07:00
alexpaxton 9365ddbb74 refactor: do not render empty list groups 2020-07-02 09:15:50 -07:00
Scott Anderson 25e3687bab
chore(flux): add flux 0.71 function updates (#18832) 2020-07-02 09:21:15 -06:00
Bucky Schwarz 65f02d8f77 feat: add ability to select resources to install 2020-07-01 11:00:45 -07:00
Bucky Schwarz 7b79887a6f chore: update based on pckger => template backend changes 2020-07-01 11:00:45 -07:00
Andrew Watkins e5fa7eb571
test(e2e): nav bar (#18803)
* test(e2e): nav bar

* fix: tests
2020-06-30 13:46:20 -07:00
Scott Anderson ed9c87799c
chore(flux): add flux 0.70 function updates (#18730) 2020-06-30 13:31:23 -06:00
Alex Boatwright d34686afca
fix: org setting segmentation causing 400 errors on app metrics (#18802) 2020-06-30 09:37:46 -07:00
Johnny Steenbergen 952007001b chore(pkger): drop mentions of pkgs from within service models
references: #18580
2020-06-29 16:43:40 -07:00
Ariel Salem 9bd5de23bd
chore(hydrate-variable-test): added a test to ensure variable hydration happens correctly in nested queries (#18790) 2020-06-29 13:44:03 -07:00
Bucky Schwarz a7193dfc7b chore: if no flags were passed in, keep correct default shape of state 2020-06-29 13:14:27 -07:00
Bucky Schwarz bf628ce226 fix: tweak template flagging logic 2020-06-29 13:14:27 -07:00
alexpaxton 19f17f377f
feat: redesign minimap and rename to "Table of Contents" (#18789) 2020-06-29 13:04:37 -07:00
alexpaxton fbdbd6c4db
feat(flows): ability to insert cells inline (#18750)
* feat: show previous result helper in script cells regardless of position

* feat: enable adding a cell at a specific index

* refactor: give markdown cells some default text

* feat: introduce components for inline cell insertion

* feat: replace static divider with inline insert divider

* refactor: consolidate AddButtons & InsertCellMenu

Keeping it DRY
2020-06-29 12:01:23 -07:00
Andrew Watkins f988f85fc6
fix: intermittent incorrect graph type (#18787)
* fix: intermittent incorrect graph type

* fix: add back getNumericColumns
2020-06-29 11:52:17 -07:00
Alex Boatwright 11473b905b
fix: only send strings (#18778) 2020-06-29 11:00:15 -07:00
Bucky Schwarz 9279ace825 fix: update templates contents to handle empty collections 2020-06-29 10:35:45 -07:00
Zoe Steinkamp 2ed233182f
test: add telegraf tests (#18768) 2020-06-29 09:46:01 -06:00
Ariel Salem c93408dca8
updated loadBuckets to set buckets after requesting them, and removed GetReource Buckets from DataExplorerPage (#18700) 2020-06-29 05:07:12 -07:00
Andrew Watkins 7cbaebf7b7
fix: greater / fewer number of hooks rendered (#18759)
* fix: greater / fewer number of hooks rendered

* chore: remove hooks
2020-06-26 16:38:40 -07:00
Ariel Salem 3be7ca6025
chore(min-max/customtimerange): set min & max dates for start & stop time respectively (#18491) 2020-06-26 11:42:34 -07:00
Zoe Steinkamp 4411318dca
test: Add variable control test (#18672)
* test: Add variable control test

* test: Add variable control test
2020-06-25 17:44:52 -06:00
alexpaxton db991b01ac
feat(flows): create data source cell behind feature flag (#18678)
* feat: create data source cell behind feature flag

* fix: prettier

* fix: remove rogue comment

* feat: adding in bucket context

* fix: prettier

* refactor: display buckets list in loading state until context returns buckets

* refactor: use loading to determine loading state

* refactor: give variable more descriptive name

Co-authored-by: drdelambre <drdelambre>
2020-06-25 14:47:34 -07:00
Alex Boatwright 86796ddf2d
feat: adding a bucket provider (#18709) 2020-06-25 11:39:27 -07:00
rbose22 449d47574a
chore(query Builder): fix query builder state (#18649)
* fix(query-builder): added function call to editActiveQueryWithBuilder to change redux state to queryBuilder

* fix(query-Builder): resets query builder state after switching to script editor and navigating to another page

* fix(query-Builder): added tests to ensure navigating from the buckets list leads to the data explorer page with query builder

* fix(query-Builder): updated change log

* fix(query-Builder): fixed prettier issue)

* fix(query-Builder): fixed formatting in queryBuilder.ts and simplified test in explorer.test.ts

Co-authored-by: Russ Savage <russorat@users.noreply.github.com>
2020-06-25 10:48:04 -07:00
Ariel Salem cc28e2fd33
revert(filter_changes): adding the filter function was causing nested queries to not load the newly set values (#18731) 2020-06-25 10:35:26 -07:00
David McKay 687130d030 fix: restore newlines with updated editorconfig 2020-06-25 18:16:57 +01:00
David McKay b3c738fc53 fix: have tests use non-default value and support pkger 2020-06-25 18:16:57 +01:00
David McKay 76e3fe103a feat: allow for hoverDimension to be configured 2020-06-25 18:16:57 +01:00
Andrew Watkins ef4b956daf
test: visualize cell data with variables (#18712)
* test: visualize cell data with variables

* fix: test
2020-06-25 09:59:49 -07:00
Alex Boatwright 518660786a
feat: adding more segmentation vectors (#18607) 2020-06-24 12:02:45 -07:00
Deniz Kusefoglu a1dfa45e34
feat(reporting): Add reporting to instances of the UI running queries for the user (#18661)
* feat(reporting): Add ability to extend simpleQueryPerformanceEvent

* feat(reporting): Add reports to runQuery calls
2020-06-23 15:58:29 -07:00
Timmy Luong 07c76030e4 chore(ui): update giraffe 2020-06-23 14:29:57 -07:00
alexpaxton 73a3e82697
feat(templates-ui): display template resources in accordion list (#18669)
* feat: display template resources list in accordion fashion

* refactor: polish template name widget and add graphic

* fix: cleanup
2020-06-23 13:08:25 -07:00
Ariel Salem c4fee5b6c3
feat(cache-cell-results): added cell result caching to reduce cell configuration querying on loads (#18581) 2020-06-23 09:34:16 -07:00
Bucky Schwarz a96f21f27c fix: don't re-fetch variables if their loading status is done 2020-06-23 08:33:23 -07:00
Timmy Luong ca45ad1a23 chore(ui): update prettier in yarn.lock 2020-06-22 16:55:23 -07:00
Andrew Watkins 6d20ef4af5
test(e2e): drag and drop cell (#18585)
* test(e2e): drag and drop cell

* chore: update prettier to 1.19.1

* chore(e2e): find cell by substring

* test(e2e): fix element selectors

* fix: prettier
2020-06-22 13:34:29 -07:00
alexpaxton 47529a826b
feat(flux editor UI): rotate layout of flux toolbar and allow no tab to be active (#18608)
* feat: rotate layout of flux toolbar and allow no tab to be active

* fix: add testID back in

* fix: update affected e2e tests
2020-06-22 12:20:55 -07:00
Bucky Schwarz cee2f93506 fix: reportEvent has a default timestamp 2020-06-22 11:21:26 -07:00
Alex Boatwright 3e5f8a49f9
feat: push it all to GA (#18620) 2020-06-22 10:57:33 -07:00
Ariel Salem 501795b444
fix(timeseries-map-bug): prevents random racecondition bug from erroring cells (#18632) 2020-06-22 09:01:18 -07:00
Bucky Schwarz f43dc98050 chore: reportError has a default value for timestamp now 2020-06-18 15:21:18 -07:00
Bucky Schwarz 560491d410 feat: add error metric writing method. call it during honeybadger errors 2020-06-18 15:21:18 -07:00
Alex Boatwright 2d9f86a508
chore: move flux testing notebook to feature flag (#18612) 2020-06-18 14:19:05 -07:00
Russ Savage cc19948fdf
fix(fluxFunctions): fix typo in lastIndex (#18617) 2020-06-18 14:09:47 -07:00
Alex Boatwright a51b1c23ee
fix: let flags get updated (#18610) 2020-06-18 13:18:15 -07:00
Deniz Kusefoglu f378c228d5
feat(reporting): events to durations (#18577)
* feat(reporting): Add source: ui field only if fields is empty

* feat(reporting): Convert events to durations

* feat(reporting): Report durations rather than events

* feat(reporting): Report durations in ms rather than nanoseconds

* feat(reporting): Report cell edit click

* feat(reporting): join array of resource names outside the promise then
2020-06-18 13:14:06 -07:00
Bucky Schwarz a834d18cf2 chore: move flagging location to lowest possible point - we safe now 2020-06-18 12:11:24 -07:00
Alex Boatwright b828f7b87d
feat: instrument notebooks (#18576) 2020-06-18 11:44:17 -07:00
Alex Boatwright 339bf00e67
feat: extending reporting pooling (#18584)
* feat: extending reporting caching

* fix: helps if you run it

Co-authored-by: drdelambre <drdelambre>
2020-06-18 11:38:45 -07:00
Zoe Steinkamp 757ba6c366
test: add note controls test (#18604)
* test: add note controls test

* test: add note controls test
2020-06-18 11:47:03 -06:00
Bucky Schwarz d5bf002d1e chore: clean up rum - delete unused files, use official api 2020-06-18 09:23:57 -07:00
Bucky Schwarz 994a37b5c8 feat: add user and org id to about page 2020-06-18 07:36:39 -07:00
Bucky Schwarz 5ad1c8ed76 feat: show template resources in template install overlay 2020-06-17 18:08:55 -07:00
Zoe Steinkamp ce79edfd2e
fix: Gauge size adjustment (#18587) 2020-06-17 16:25:27 -06:00
Alex Boatwright 7e1cf87c06
feat: flux csv debugging interface (#18554) 2020-06-17 14:25:52 -07:00
Alex Boatwright 9a00b0ca52
feat: toggle flow panel types with feature flags (#18555) 2020-06-17 14:24:55 -07:00
drdelambre a09de1b513 fix: helps if you run it 2020-06-17 14:02:55 -07:00
drdelambre 2c495e5603 feat: extending reporting caching 2020-06-17 13:56:18 -07:00
Bucky Schwarz 584e44d92b fix: fix yarn lock file 2020-06-17 12:50:30 -07:00
alexpaxton 037777a6ef
refactor: increase contrast of helper text in flow cells (#18572) 2020-06-17 11:58:52 -07:00
Zoe Steinkamp 9ff05bde82
fix: add back the refresh button in cloud (#18562) 2020-06-17 10:22:07 -06:00
Timmy Luong 9288dc7c36 fix(ui): leave strings as strings in formatStatValue 2020-06-16 20:44:04 -07:00
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