Commit Graph

2266 Commits (41beaf0bd54d8709d4ff25c054625c96a2ceb177)

Author SHA1 Message Date
Deniz Kusefoglu fcc39e371f
feat(checks): Add custom check type (#16350)
* feat(checks): Add custom check type

* feat(checks): Remove alert builder from custom check

* feat(checks): Add AlertBuilderAction to list of possible actions

* feat(checks): Query visualization does not make sense for custom check

* feat(check): check editor should only reexecute queries if view query changes

* Update ui/src/timeMachine/components/TimeMachineFluxEditor.tsx

Co-Authored-By: Bucky Schwarz <hoorayimhelping@users.noreply.github.com>

* Address PR review

Co-authored-by: Bucky Schwarz <hoorayimhelping@users.noreply.github.com>
2019-12-31 20:21:48 +00:00
Ariel Salem 18d2bf6d12
chore(ui): refactored tasks to use oats rather than client library (#16353)
chore(ui): refactoring tasks to use oats rather than client, need to finish tasks actions
2019-12-31 12:14:51 -08:00
Andrew Watkins a926700965
refactor(ui): normalize member resource (#16366)
* refactor(norm): add member schema

* refactor(norm): set members

* refactor(norm): add and delete members
2019-12-31 10:43:35 -07:00
Andrew Watkins fa3009d2f4
chore(redux-thunk): fix typings (#16335)
* chore(redux-thunk): fix typings

* chore: lower react-redux version

* chore(eslint): turn off thenable rule
2019-12-27 14:01:16 -08:00
Ariel Salem 7e23c828e9
feat(ui): added last run status to tasks (#16340)
feat(ui): added last run status to tasks
2019-12-27 13:21:04 -08:00
Ariel Salem 79c5c79286
feat(ui): added notification rule & checks last run status & error (#16338)
feat(ui): added last run status checks for notification rules and check rules, readded updateCheck to fix linter and functionality issues with program and added tests to ensure check creation and update stability
2019-12-27 10:14:34 -08:00
Deniz Kusefoglu 142fbcbb3f
feat(ui): Show users saving errors from check time machine (#16333) 2019-12-27 02:05:08 +00:00
Bucky Schwarz dd41af3d7a feat: Add group() to Query Builder 2019-12-26 17:02:41 -08:00
alexpaxton 08f523ddc0
refactor(ui): Clockface replacement (#16241)
* refactor: use replace select group with tabs in save as dialog

* refactor: replace local RightClick with Clockface RightClick

* refactor: delete local RightClick code

* refactor: replace ResponsiveGridSizer with SquareGrid

* chore: delete local grid sizer components

* fix: repair broken e2e tests

* fix: attempt to fix e2e test

* fix: repair query builder e2e test

* fix: don't call stop propagation because there is no event object
2019-12-20 14:56:46 -08:00
alexpaxton 6e6c08e1f6
refactor(ui): update line protocol wizard (#16276)
* refactor: extend DragAndDrop to support custom classnames

* refactor: use OverlayFooter

* refactor: remove WizardOverlay from CollectorsWizard

* refactor: redesign and simplify line protocol wizard

* refactor: remove WizardOverlay from telegraf instructions

* fix: repair affected e2e test

* refactor: use vscss ariable to ensure height consistency between steps

* refactor: extract helper text into component to ensure consistency
2019-12-20 14:36:55 -08:00
Alex Boatwright 32d401e1d1
feat: connecting telegraf editor to a backend resource (#16287) 2019-12-20 14:17:15 -08:00
Alex Boatwright 292f810558
fix: speeding them tests right up (#16311) 2019-12-20 14:15:38 -08:00
Greg abd8ce0089
feat(http): add functionality to retrieve/store telegraf config as toml (#16132) 2019-12-20 14:20:13 -07:00
Alex Boatwright 3504ea275a
feat: generate types for tests (#16300) 2019-12-19 16:21:34 -08:00
Zoe Steinkamp 5b859a27a6
Merge pull request #16269 from influxdata/zs-addviewcheckpage-#14782
Zs addviewcheckpage #14782
2019-12-19 13:07:39 -07:00
Alex Boatwright 6c334889ca
fix: pass variables into a function (#16291) 2019-12-19 10:36:04 -08:00
Zoe Steinkamp a306d08909 feat(ui): Add the view check page
prettier fix
2019-12-19 10:13:41 -07:00
Zoe Steinkamp 8750264807 feat(ui): Add the view check page
full fix
2019-12-19 09:37:42 -07:00
Zoe Steinkamp 88acdfb9d3 feat (ui): Add the view check page
UI fixes
2019-12-18 22:38:55 -07:00
Chris Goller a942924cbb
ci: split go and js linting into separate circleci jobs (#16282)
* build: split go linting from tests

Signed-off-by: Chris Goller <goller@gmail.com>

* build: split js linting from tests

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: run go tests without verbose option

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: parallelize eslint with 8 containers

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: cache node modules for eslint

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: lint circle yaml

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: cd into ui directory for node caching

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: note eslint parallelization

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: update yarn cache directory to global

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: cache jstest yarn downloads

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: note parallelization of jest tests

Signed-off-by: Chris Goller <goller@gmail.com>
2019-12-18 16:57:08 -06:00
Bucky Schwarz a05bd3ec39 chore: add more context to honeybadger errors 2019-12-18 14:08:48 -08:00
Ariel Salem 63b8129188
fix(ui): fixed flakey tests (#16268)
fix(ui): fixed flakey tests
2019-12-18 14:03:31 -08:00
Chris Goller da6297f922
build: allow JSON imports in jest tests
Co-authored-by: Alex Boatwright <drdelambre@gmail.com>
Signed-off-by: Chris Goller <goller@gmail.com>
2019-12-18 13:34:57 -06:00
Chris Goller fe0aea0542
build: add circleci target to restrict max jest workers
Signed-off-by: Chris Goller <goller@gmail.com>
2019-12-18 13:18:03 -06:00
Chris Goller ec4fed37b1
build: remove max workers from jest to unify CI systems
Signed-off-by: Chris Goller <goller@gmail.com>
2019-12-18 13:07:52 -06:00
Chris Goller e4a6180309
build: split the jest test to run in parallel
Signed-off-by: Chris Goller <goller@gmail.com>
2019-12-18 12:03:52 -06:00
Zoe Steinkamp dd784a6e8c feat (ui): Add the view check page 2019-12-18 09:34:31 -07:00
Timmy Luong 409a4382bb fix(ui): retain user input when parsing invalid JSON during import 2019-12-17 19:06:05 -08:00
Bucky Schwarz 7c05b247dc chore: add getUserFlags utility function 2019-12-17 17:50:24 -08:00
Zoe Steinkamp 83f7c18b75 feat (ui): Add the view check page 2019-12-17 18:49:14 -07:00
Ariel Salem bba04e20b4
fix(ui): front end sorting for numeric values now being handled correctly (#16237)
fix(ui): front end table sort now works for numbers, skipping test until flake is resolved
2019-12-17 15:15:09 -08:00
Ariel Salem 25c5c5dde3
fix(ui): added check to ensure that windowperiod isn't calculated when the query is undefined (#16243)
fix(ui): added check to ensure that windowperiod isn't calculated when the query is an empty string and added AdditionalOptions prop types
2019-12-17 15:11:13 -08:00
Alex Boatwright 3a113c04fe
fix: errors from the editor (#16244) 2019-12-17 13:31:10 -08:00
Ariel Salem ee897171bc
fix(ui): flux sort no longer being overidden by default FE sort (#16235)
fix(ui): flux sort no longer being overidden by default FE sort
2019-12-16 15:58:39 -08:00
Zoe Steinkamp b61b498423 feat (ui): Add the view check page
wrapping up styling and routing
2019-12-16 15:17:58 -07:00
Zoe Steinkamp 5896a06d58 feat (ui): Add the view check page
Stable for now, its all fixed just needs to be cleaned up and tested
2019-12-16 15:17:58 -07:00
Zoe Steinkamp 5427a5ff61 feat (ui): Add the view check page
Comparmentalizing the view

Co-Authored-By: Deniz Kusefoglu <deniz@influxdata.com>
2019-12-16 15:17:58 -07:00
Zoe Steinkamp 1d8c05cb25 feat (ui): Add the view check page 2019-12-16 15:17:58 -07:00
Zoe Steinkamp fa02b7b911 feat (ui): Add the view check page
A few comments and formatting

Co-Authored-By: Deniz Kusefoglu <deniz@influxdata.com>
2019-12-16 15:17:58 -07:00
Zoe Steinkamp 8990be07f7 feat (ui): Add the view check page
The table is now working, saving current code

Co-Authored-By: Deniz Kusefoglu <deniz@influxdata.com>
2019-12-16 15:17:58 -07:00
Alex Boatwright 25a62efcaf
feat: telegraf editor design work (#16223) 2019-12-16 08:22:20 -08:00
Deniz Kusefoglu 13df88c15e
chore(ui): Remove eventMarkers feature flag (#16216) 2019-12-13 12:59:48 -08:00
Alex Boatwright 961875e0eb
feat: get monaco into the task page (#16213) 2019-12-13 10:54:20 -08:00
Ariel Salem cc3b164450
fix(ui): sort by modified now integrated (#16219)
fix(ui): sortby modified date now integrated & dashboard list sets default for each dashboard if props are undefined to ensure functionality
2019-12-12 16:31:18 -08:00
Andrew Watkins 3cca6be000
feat: route user to no orgs page (#16208)
* feat: route user to no orgs page

* style: no orgs page

* fix: eslint

* fix: prettier
2019-12-12 14:09:17 -08:00
Timmy Luong 7b81ebaf4e
fix(ui): update giraffe and time format options (#16217)
* fix(ui): update giraffe and time format options

* chore: update CHANGELOG
2019-12-12 14:01:47 -08:00
Bucky Schwarz bc3bfbc61e test: skip flaky cypress test 2019-12-12 13:26:59 -06:00
Ariel Salem eefb8dd525
fix(ui): adding times in script editor will default start and endtime for timerange queries (#16201)
fix(ui): adding times in script editor will default start and endtime for timerange queries, compute timeranges based on script and based on widest date range & fix dashboard so that cells that have been saved with timerange scripts are based on those timeranges
2019-12-12 10:29:09 -08:00
Bucky Schwarz efdc6e592b fix: return the telegraf module based on Loadable's interface 2019-12-11 13:40:32 -08:00
Bucky Schwarz d2fe751e5a fix: add a timestamp to the telegraf label creation to insure uniqueness 2019-12-11 11:46:09 -08:00
Alex Boatwright 24e4fe4d93
fix: lint error (#16202) 2019-12-11 11:18:07 -08:00
Ariel Salem b62f29431f
fix(ui): updated webpack to account for different wasm files (#16194)
fix(ui): updated webpack to account for different wasm files
2019-12-11 08:57:22 -08:00
Ariel Salem 7be9307e59
fix(ui): regression fix, notes are now deletable (#16175)
regression fix, notes are now deletable
2019-12-11 08:56:42 -08:00
Alex Boatwright 8093c44230
fix: adding unique id for walkme (#16193) 2019-12-11 08:34:44 -08:00
Scott Anderson e44201e078
chore(flux): update flux functions list for flux 0.56 (#16184)
* chore(flux): update flux functions list for flux 0.56

* added http.post function to flux functions list

* fix(fluxFunctions): change aggregateWindow example to use variable

* updated and simplified example window function in flux function list

* removed unnecessary newline from window function example
2019-12-11 09:27:23 -07:00
Deniz Kusefoglu f64c63120a
Chore(ui): Use typed timeRanges throughout the app (#16130)
* chore(ui): Remove unused references to timeRange

* chore(ui): Add comment to timerange to duration function

* chore(ui): Fix getTimeRangeVars.test

* Refactor getTimeRangeVars.ts

* chore(ui): Remove references to zoomed time range

* chore(ui): Remove unused set dashboard time range v1 action

* chore(ui): Add preliminary timeRange types

* chore(ui): Add init pass at reasonable timeRange constants

* chore(ui): Finish Remove unused set dashboard time range v1 action

* fix(ui): Conver redux ranges state to object from array

* chore(ui): Read from and write to ranges local storage

* chore(ui): Reorder imported things

* chore(ui): Add typing to timeRanges from query params and localstorage

* chore(ui): Fix Dashboard and DE Time Range Dropdown

* chore(ui): Fix check timeRange

* chore(ui): Convert duration time Ranges to custom for time range dropdown

* chore(ui): Convert delete with predicate timeranges to TimeRange types

* chore(ui): Convert predicates timeRange to custom

* chore(ui): fix ValidateAndType bug

* fix(ui): Fix show bucketname in delete data form

* fix(ui): Allow timeRange to handle all duration time Ranges

* chore(ui): Separate DeleteDataOverlay update logic

* fix(ui): Fix deletedata overlay dismiss routing

* chore(ui) cleanup

* chore(ui): Allow timeRange dropdown to work with no prior timeRange selection

* chore(ui): Remove unused import

* fix(ui): Fix time Ranges tests

* fix(ui): Fix tests

* fix(ui): Fix tests

* fix(ui): Extract label creation function and use where needed

* fix(ui): Fix predicate testing

* fix(ui): Fix prettier issue

* chore(ui): Refactor duration.ts

* chore(ui): Remove labels from timeRange

* chore(ui): Return label for selectable-duration label

* chore(ui): Resolve merge error

* chore(ui): Make tests more robust

* feat(ui): protect query params access with get

* chore(ui): Add comment to warn against regex behavior

* Apply prettier to predicates.test
2019-12-10 12:52:03 -08:00
Scott Anderson 2fb6abcc68 removed unnecessary newline from window function example 2019-12-10 10:36:38 -07:00
Scott Anderson 73b06ead72 updated and simplified example window function in flux function list 2019-12-10 10:35:24 -07:00
Russ Savage f354bc37b5
fix(fluxFunctions): change aggregateWindow example to use variable 2019-12-10 09:23:38 -08:00
Alex Boatwright 15f473be0c
fix: removing the telegraf bucket sort (#16179) 2019-12-10 09:20:44 -08:00
Scott Anderson be63d3f923 added http.post function to flux functions list 2019-12-10 10:12:58 -07:00
Alex Boatwright c21e08924b
feat(ui): create telegraf config (#16157) 2019-12-10 09:07:18 -08:00
Scott Anderson 8f953bc5e3 chore(flux): update flux functions list for flux 0.56 2019-12-10 10:05:45 -07:00
Andrew Watkins 4f5ff962d6
fix(e2e): fix race conditions (#16173)
* fix(e2e): flakey query builder test

* test(e2e): run test 50 times

* test(e2e): run update label test 50 times

* fix(e2e): visit page after creation

* chore(e2e): run test once

* fix(e2e): run update label test once
2019-12-10 07:12:34 -08:00
Ariel Salem 9991a27f74
fix(ui): updated table threshold to set background colors for thresholds correctly (#16172)
fix(ui): updated set threshold function to account for table
2019-12-09 14:24:11 -08:00
Ariel Salem 8b487571c2
chore(ui): updated giraffe dependency (#16160) 2019-12-06 14:16:53 -08:00
Ariel Salem 08d8efbaec
feat(ui): added date/time format for graphs (#16148)
* feat(ui): added date/time format for graphs

* fix(ui): removed unnecessary console.log

* feat(ui): updated BE models to reflect necessary updates to structs

* fix(dashboard): updated failing gotests
2019-12-06 12:03:55 -08:00
Ariel Salem 34c0a69abf
fix(honeybadger): updated getTableProps to return empty fieldOptions whenever the files are undefined (#16156) 2019-12-06 10:17:12 -08:00
Alex Boatwright 6465b30d26
chore(ui): telegraf redux (#16126)
* feat(ui): adding state to telegraf editor

* chore: autolinterizing
2019-12-06 10:08:20 -08:00
alexpaxton 5bb37fd089 chore(ui): upgrade to Clockface 1.1.0 (#16144)
* chore(ui): point to local build

* refactor(ui): repair breakage from update

* chore: Revert "chore(ui): point to local build"

This reverts commit 968a8232cc.

* chore: upgrade dependency to 1.1.0

* chore: appease prettier

* fix: correct typo

* fix(ui): give size to AlertColumns and update e2e tests
2019-12-05 17:05:39 -08:00
Bucky Schwarz 5eb777ab70 test: add e2e test for query builder 2019-12-05 16:27:35 -08:00
Ariel Salem 6d2f17cb48
feat(ui): delete with predicate preview (#16088)
added data preview for DWP. Need to finalize data format and narrow down table selection
2019-12-05 15:13:01 -08:00
Ariel Salem 8b54076d4c
feat(ui): added more time formats for table dropdown (#16147)
* fix(ui): added new selections for time format dropdown

* fix(ui): updated giraffe version to allow for changes to be reflected
2019-12-05 14:04:23 -08:00
Timmy Luong 7c8a7cd82d fix(ui): remove prop override to allow Graph + Single Stat to use line positioning option 2019-12-05 14:00:01 -08:00
Bucky Schwarz 9af5feec27 test(ui): scope create dashboard click to body button to avoid conflicts 2019-12-05 10:20:48 -08:00
Alex Boatwright e5b79e00f3
feat(ui): cloning monaco editor for use with toml (#16072) 2019-12-04 14:01:42 -08:00
Alex Boatwright 747e890be2 chore: autolinterizing 2019-12-04 13:53:08 -08:00
Alex Boatwright 8452de0cd7 feat(ui): adding state to telegraf editor 2019-12-04 13:34:33 -08:00
Ezeki Zibzibadze 3ce827ea76 feat(ui): add Georgian version of hello (#16066) 2019-12-04 12:44:55 -08:00
Michael Desa 1be8c8025a
Merge pull request #16100 from nwneisen/remove-source-endpoint
chore: remove "/sources" endpoint
2019-12-04 11:10:59 -05:00
nwneisen c315c237b5
chore: remove sources and fix resulting breaks
Signed-off-by: nwneisen <nwneisen@gmail.com>
2019-12-04 08:42:42 -07:00
Bucky Schwarz e52705d2b1 fix(ui): properly map over queryBuilder tags and set default values 2019-12-03 17:40:25 -08:00
Timmy Luong cf96cc4a84 feat(ui): add positioning option to line graphs 2019-12-03 16:10:50 -08:00
Bucky Schwarz 5801d9ca9f fix(ui): handle json parsing failures and let the user know 2019-12-03 14:12:02 -08:00
Ariel Salem 61670125b1
fix(ui): updated telegrafs reducer to set correctly set props (#16092) 2019-12-03 09:28:11 -08:00
Ariel Salem cfcf2ae34f
fix(ui): updated getEndTime to account for now() selections as the upper bound of the query (#16089)
* fix(ui): updated getEndTime to account for now() selections as the upper bound of the query
2019-12-03 08:39:59 -08:00
Alex Boatwright fb20dfbf13
fix(ui): guard against null (#16068) 2019-12-02 11:50:19 -08:00
Alex Boatwright 75bf014e5e
fix(ui): polyfill for IntersectionObserver (#16071) 2019-12-02 11:16:04 -08:00
lukevmorris b9fb792f69
fix: cloudbeta -> support email address (#15950) 2019-12-02 11:04:07 -08:00
Ariel Salem 8d80f712ea
fix(ui): querying a time range without relevant data should show no data for that part of the timerange (#16040)
* fix(graph-time-query): updated graphs so that graph x-axis reflects the input timeRange

* fix(dashboard-timerange): dashboard timerange is now outputting the correct timerange

* fix(ui/dashboard): connected the timeMachine to the component to make data consistently available based on timeMachine context

* fix(query): updated implementation to reduce mucking the timeMachine reducer logic

* fix(edit-veo): configuring a timerange in the dashboard should be accessible when editing cells

* fix(wip): wip

* fix(graph-time-query): updated graphs so that graph x-axis reflects the input timeRange

* fix(dashboard-timerange): dashboard timerange is now outputting the correct timerange

* fix(ui/dashboard): connected the timeMachine to the component to make data consistently available based on timeMachine context

* fix(query): updated implementation to reduce mucking the timeMachine reducer logic

* fix(edit-veo): configuring a timerange in the dashboard should be accessible when editing cells

* feat(ui): Type start and end time functions

* fix(ui): Set VEO timeMachine timeRange from parent dashboard

* feat(ui): Regularize getStartTime and getEndTime

* feat(ui): Fix prettier errors

* fix(ui): added unit tests for critical parts of the function

* fix(ui): removed unnecessary console that was failing jstest

* fix(ui): added getStartTime and getEndTime tests:
2019-12-02 10:44:33 -08:00
Ariel Salem 5ef4c11379
fix(ui): updated telegraf description to be more explicit (#16061)
* fix(ui): updated telegraf description to be more explicit

* fix(ui): updated title to display same styling as empty text

* fix(ui): added defaultProps and checks for collectors
2019-12-02 10:03:40 -08:00
Ariel Salem f27198c1ad
fix(ui): DWP should default bucket name to selected bucket (#16056)
* fix(ui): segregated bucket dropdown logic to their respective components

* fix(ui): finished refactoring deletedataoverlay to reset predicate state when dismissing overlay

* feat(ui): added cypress testing to ensure bug fix stability
2019-11-27 09:02:15 -08:00
Alex Boatwright e0098f05bc
fix(ui): allow users to go to the token page (#16049) 2019-11-26 13:45:18 -08:00
Alex Boatwright ca60ea4868
feat(ui): let the user know about more telegraf plugins (#16047) 2019-11-26 13:28:01 -08:00
Bucky Schwarz a90899ebf2 chore(ui): add filter and group concepts to tags in redux 2019-11-26 12:34:07 -08:00
Alex Boatwright 380b4113cc
fix(ui): allow telegraf output without buckets (#16039) 2019-11-25 12:29:52 -08:00
Chris Goller ce9ce176d9
fix(ui): set env vars correctly for cloud 2019-11-23 19:21:59 -06:00
Zoe Steinkamp 38454a41d1
Merge pull request #16027 from influxdata/zs-backgroundcolor-#15803
fix(ui): value zero has no background color
2019-11-22 17:22:44 -07:00
Chris Goller 72614a0c59 fix(ui): tranposed package.json ordering 2019-11-22 15:33:12 -06:00
Zoe Steinkamp 7ab4282902 fix(ui): value zero has no background color
swaping out if function order
2019-11-22 12:43:02 -07:00