Commit Graph

2239 Commits (1af245a6495baca7b87368d9afde2f4d00a62a72)

Author SHA1 Message Date
Zoe Steinkamp b2f617ab29 fix(ui): add honeybadger error report to checks (#16443)
Flakey e2e test
2020-01-08 10:36:09 -07:00
Zoe Steinkamp 51502ca38e fix(ui): add honeybadger error report to checks (#16443) 2020-01-08 10:10:18 -07:00
Zoe Steinkamp 11bc842e3d fix(ui): add honeybadger error report to checks (#16443) 2020-01-08 10:06:08 -07:00
Timmy Luong 578f97d0b7
fix(ui): Prevent negative zero and allow zero with decimal places (#16439)
* fix(ui): Prevent negative zero and allow zero with decimal places

* chore: update CHANGELOG

* fix(ui): Turn off lint rule no-compare-neg-zero

* test: add more tests by overriding prettier

* fix(ui): turn off lint rule for a specific usage, not universally
2020-01-07 16:24:23 -08:00
Bucky Schwarz 81365b9e75 fix: show queries built in advanced mode when switching tabs 2020-01-07 15:02:11 -08:00
Scott Anderson 3c1f1aa63c chore(flux): added onEmpty parameter to flux filter function 2020-01-07 15:07:56 -07:00
Ariel Salem e45de53259
fix(ui): fixed table threshold bug and added option to make thresholds populate text or background (#16430)
fix(ui): fixed table threshold bug and added option to make thresholds populate text or background
2020-01-07 13:27:25 -08:00
Andrew Watkins 1d13894f88
refactor: normalize scrapers (#16434)
* chore: only save orgs to local storage

* refactor(ui): normalize scrapers
2020-01-07 13:19:25 -08:00
Timmy Luong dc188fc1bf
fix(ui): update giraffe (#16435)
* fix(ui): update giraffe

* chore: update CHANGELOG
2020-01-07 11:52:14 -08:00
Andrew Watkins c5d4632fb3
refactor: normalize telegrafs (#16420)
* refactor: normalize telegrafs

* fix: check for schema

* fix: telegraf reducer logic

* refactor: move adding defaults to processStrategy

* fix: local storage typings
2020-01-07 09:08:07 -08:00
Ariel Salem 4dbc7ec771
chore(ui): refactored variables client API to oats generated types and API (#16400)
chore(ui): refactored variables client API to oats generated types and API
2020-01-06 12:57:52 -08:00
Andrew Watkins e092e52a6f
refactor: normalization authorizations (#16406)
* chore: alphabetize root reducer

* refactor(norm): normalize authorizations (tokens)

* refactor: orgs use immer and reducer helpers

* fix: provide initial state to orgs reducer

* fix(auth): normalize auths on token creation

* fix: initial state with empty object
2020-01-06 11:24:45 -08:00
Ariel Salem 96dcdb0677
fix(ui): removed buildActiveQuery func to prevent queries from being reset when timeranges are selected. (#16404)
fix(ui): removed buildActiveQuery func to prevent queries from being reset when timeranges are selected. Fixed broken test that was being skipped
2020-01-06 08:53:13 -08:00
Bucky Schwarz 138caab0a2 test: fix flaky explorer tests by targeting .CodeMirror and not force typing 2020-01-03 14:57:34 -08:00
Andrew Watkins cc88a366ee
refactor(ui): normalization of buckets (#16403)
* feat(norm): separate action creators and thunks

* feat(norm): wip normalize buckets

* refactor(norm): change consumption of buckets to norm shape

* test(ui/getResources): change test to accept norm shape

* test(buckets): fix runtime error

* refactor: use immer produce in members reducer
2020-01-03 14:18:49 -08:00
Bucky Schwarz aa48c4397e chore: upgrade cypress 2020-01-03 11:56:40 -08:00
Ariel Salem 2965dab67c
Revert "chore(ui): refactored variables client API to oats generated types and API (#16391)" (#16394)
This reverts commit e5c171c2dc.
2020-01-02 16:43:22 -08:00
Ariel Salem e5c171c2dc
chore(ui): refactored variables client API to oats generated types and API (#16391)
chore(ui): refactored variables client API to oats generated types and API
2020-01-02 15:52:37 -08:00
Randy Coulman 17634dff23
feat(bucket): Increase default retention to 30 days (#16389)
* feat(bucket): Increase default retention to 30 days

* chore: Update PR number in changelog
2020-01-02 14:29:03 -08:00
Andrew Watkins 9e9bb1c755
refactor(ui): normalize organizations (#16377)
* refactor(norm): normalize organizations

* chore: add junit.xml to gitignore

* test(norm): restructure tests to conform to normalized orgs

* fix: set proper org in local storage

* fix: update createTelegraf to use types

* fix: runtime error when adding telegraf configs

* fix: dashboard thunk not using new org shape

* chore: move edit org to correct place

* fix(orgs): faulty reducer logic
2020-01-02 13:03:43 -08:00
Timmy Luong 8780bd23a8
fix(ui): extend the y-axis when stacked line option is selected (#16376)
* fix(ui): extend the y-axis when stacked line option is selected

* chore: update CHANGELOG
2020-01-02 10:12:45 -08:00
Deniz Kusefoglu acf73dfdd4
feat(ui): Add matching rules card to alert builder (#16014)
* feat(ui): Add matching rules card to alert builder

* feat(checks): Add tags from query results to NR matching query parameters

* feat(ui): Update changelog

* feat(nr): Change api function to match import convention

* fix(ui): Fix changelog update mistake

* Click submit button after typing in time machine

* feat(notification rules): Add feature flag to matching notification rules
2020-01-02 12:05:14 +00:00
Ariel Salem cffcdf3519
chore(ui): label client refactor complete (#16361)
Chore(ui): label client refactor complete
2019-12-31 14:23:57 -08:00
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