Commit Graph

2956 Commits (262cdbaec2a79bf86c27da8006eb4ae8f89eedac)

Author SHA1 Message Date
Ariel Salem e4db8c5cd3
Revert "feat(QueryCache): adds a query cache to Dashboards (#19010)" (#19061)
This reverts commit 5fffc8186a.
2020-07-24 09:19:50 -07:00
Ariel Salem 5fffc8186a
feat(QueryCache): adds a query cache to Dashboards (#19010) 2020-07-24 05:25:24 -07:00
Daniel Campbell 089ccc0609
fix(ui): dashboard upgrade (#19055)
* fix(ui): remove upgrade button on dashboard

* fix(ui): prettier
2020-07-24 00:03:43 -07:00
Zoe Steinkamp 1dc6a9d14d
fix: X axis not accepting value & Y axis only accepting value (#19044)
* fix: X axis not accepting value & Y axis only accepting value

The fix for the x axis

* fix: X axis not accepting values & y axis only accepting values

The fix
+ start of unit test

* fix: X axis not accepting values & y axis only accepting values

adding the tests

* fix: X axis not accepting values & y axis only accepting values

Fixing the merge conflicts

* fix: X axis not accepting values & y axis only accepting values

fixing go issue

* fix: X axis not accepting values & y axis only accepting values

changelog
2020-07-23 17:03:24 -06:00
Daniel Campbell 4df52d0cb4
feat(ui): redesign asset & rate limit alerts (#19032)
* feat(ui): update rate limit alert

* feat(ui): update to clockface 2.3.0

* feat(ui): update limit alert components

* feat(ui): add home page limit alert

* feat(ui): replace alert page limit alerts

* feat(ui): relace load data limit alerts

* feat(ui): replace dashboards limit alerts

* feat(ui): replace data explorer limit alerts

* feat(ui): replace tasks limit alerts

* feat(ui): replace settings limit alerts

* fix(ui): prettier

* feat(ui): update changelog

* fix(ui): update clockface to 2.3.1 and fix tests

* fix(ui): change test id
2020-07-23 15:29:57 -07:00
Andrew Watkins b9a3abd2ee
fix: switch org (#19039)
* fix: switching orgs

* chore: test name
2020-07-23 10:09:45 -07:00
Andrew Watkins d3c86e8f4c
perf: cancel dashboard page requests (#19029)
* perf(wip): abort dashboard page requests

* feat: runQuery mutex (#19001)

* perf: cancel hydrateVars

* fix: prettier

* chore: linter

* fix: optional chaining operator

Co-authored-by: Alex Boatwright <drdelambre@gmail.com>
2020-07-23 09:32:51 -07:00
Bucky Schwarz 88cdf43db1 revert: feat(pkger): add Stack resource type to global list
This reverts commit 99eabf8a44.

A backend change was needed to make this work in Cloud envs, that change is blocked.
2020-07-22 12:48:53 -07:00
alexpaxton cd1dc94a07
feat: add trackable classnames and events to flows (#19007) 2020-07-21 15:50:49 -07:00
jlapacik 8433b5ba99 feat: typescript api for editing flux options 2020-07-21 14:19:22 -07:00
Johnny Steenbergen 99eabf8a44 feat(pkger): add Stack resource type to global list
now that Stacks have landed, the resource type can now be included for
any all access tokens, not just the token from setup
2020-07-21 11:16:00 -07:00
Zoe Steinkamp 7cf4215b9e
test: rename the query in side menu (#18996)
* Test: Rename the query in side menu

Confirm toggle goes back as well

* Test: Rename the query in side menu

fix prettier

* Test: Rename the query in side menu

remove only
2020-07-21 11:57:50 -06:00
Deniz Kusefoglu dabf0e8292
fix(eventing): Report duration as field value instead of tag value (#19005) 2020-07-21 10:41:25 -07:00
Bucky Schwarz 99a9835ede fix(community-templates): only install selected resources 2020-07-20 10:29:32 -07:00
Zoe Steinkamp 581edc8af9
fix: No longer query tags on advanced builder (#18989) 2020-07-20 10:08:36 -06:00
alexpaxton 6c714b1111
feat(flows): redesign add cell UX (#18973)
* refactor: consolidate header component & remove add buttons

* feat: render add cell buttons in empty state

* refactor: make inline insert button more visible on hover

* refactor: remove feature flag around Data Source cell type

* feat: group cell types into "families"

* refactor: rename "Data Source" to "Bucket"

* refactor: render cell types in families inside add cell menu

* fix: make it a little more flexible (#18976)

Co-authored-by: drdelambre <drdelambre>

* fix: linting issue

Co-authored-by: Alex Boatwright <drdelambre@gmail.com>
Co-authored-by: drdelambre <drdelambre>
2020-07-17 12:04:32 -07:00
Ariel Salem af61ab7695
fix(reduce-variable-hydration): filtering unused variables before hydrating them (#18974) 2020-07-17 10:30:02 -07:00
Andrew Watkins 7912004667
fix: dashboard exports overlay (#18984) 2020-07-17 10:23:31 -07:00
Bucky Schwarz c2a10f3fb0 feat(community-templates flagged): add delete functionality to UI 2020-07-16 15:23:22 -07:00
Michael Desa e84f4c9df7
fix(ui): give user all access token permission to read user (#18949)
* fix(ui): give user all access token permission to read user

Users used to be given the permission `orgs/<orgID>/users`, but this
does not help when the user is trying to access the users api (as it is
not nested under orgs in the api). We have changed the
`orgs/<orgID>/users` to be `users/<userID>` so that the token has access
to the user that created it. This will allow users to access their
tokens via the api.

* fix: remove extra catious empty me state
2020-07-16 11:19:29 -07:00
Alex Boatwright a57fdc177e
chore: unify ui eventing (#18701) 2020-07-16 09:05:02 -07:00
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