Commit Graph

2113 Commits (fdb25560c497ce20ce52423daa5b8c70e4b2a5d2)

Author SHA1 Message Date
Andrew Watkins 1da543ac6c
feat(ui): add status changes back to rules (#15653) 2019-10-30 12:17:38 -07:00
alexpaxton 3f171d6359
refactor(ui): add explainer panel to buckets index view (#15507)
* refactor(ui): add explainer panel to buckets index view

* refactor: convert both explainer components from SFC to FunctionComponent

* refactor: appease linter
2019-10-30 14:02:45 -04:00
Alex Boatwright d53d3686b6
feat(ui): moving token overlays into the overlay controller (#15611)
freeing token overlays from their oppressive route overlords.
2019-10-30 10:44:18 -07:00
Bucky Schwarz 2498011387 fix(ui): add fixed TextArea from clockface 2019-10-29 13:57:11 -07:00
Ariel Salem 2882463e35
fix(ui/timerangedropdown): refactored the daterangepicker implementation from modal to popover (#15613)
* fix(debug): debugging popover refactor

* fix(ui/timerangedropdown): refactored the daterangepicker implementation into a popover

* chore(linter): fixed linter errors

* feat(tests): added tests to refactor and reported found issues
2019-10-29 11:18:25 -07:00
Deniz Kusefoglu ac0f17460e
fix(ui): don't exclude features if not in cloud (#15612)
* Don't exclude if not cloud

* Add tests
2019-10-29 10:11:30 -07:00
Alex Boatwright a68b2853a5
chore(ui): remove react tooltip (#15619) 2019-10-29 08:21:40 -07:00
Zoe Steinkamp 055e32de35 improvement (ui): popover change for grpah tips
Trying to fix jest errors
2019-10-28 12:26:48 -04:00
Zoe Steinkamp 1666374634 improvement (ui): popover change for grpah tips
removing props
2019-10-28 12:12:48 -04:00
Zoe Steinkamp 8b4b54fffe improvement (ui): popover change for grpah tips
The final fix in a seperate file
2019-10-28 12:12:48 -04:00
Zoe Steinkamp 24e9abe10f improvement (ui): popover change for grpah tips
Adding popover to the page
2019-10-28 12:12:48 -04:00
Zoe Steinkamp 92a48a7dd3 (fix) popover change for grpah tips 2019-10-28 12:12:48 -04:00
Bucky Schwarz 89b7547b25 test(ui): add e2e regression test for issue #15239 2019-10-25 15:29:31 -07:00
Alex Boatwright cfa00d8a51
fix(ui): allow hmr feature with proxied ingress controllers (#15589) 2019-10-25 14:40:23 -07:00
Ariel Salem f3b5404af6
fix(ui/boxtooltip): Preventing constant toggle b/w onMouseOver and onMouseOut on EventMarker (#15581)
* fix(ui/boxtooltip): moved boxtooltip a few pixels to prevent onMouseOver and onMouseOut from constantly triggering in EventMarker. Added a comment about the solution and wrote a new issue to deal with a long-term solution to the problem
2019-10-25 11:40:43 -07:00
Bucky Schwarz ee53c63d49 feat(ui): add lint check for it.only tests 2019-10-25 11:32:00 -07:00
Alex Boatwright bd473f6803
feat(ui): choose the midpoint of the data when creating an alert (#15548)
* feat(ui): choose the midpoint of the data when creating an alert

Closes #15187
2019-10-25 11:28:11 -07:00
Ariel Salem 1dfa493278
fix(ui/checks): checks render once they've been created (#15556) 2019-10-24 14:13:41 -07:00
Alex Boatwright 997331d77b
feat(ui): adding a basepath (#15461)
allowing better webpack configuration freedom to better match infrastructure
2019-10-24 13:57:25 -07:00
Deniz Kusefoglu 4683dad233
Fix: variable selections should persist (#15538)
* expose store to cypress

* Load variables from dashboard in edit cell view

* Initialize new veo with dashboard variable values

* Add cypress pipe library

* Add tests of redux state changes to cell

* Remove unused async command

* Create passing tests for view with variable

* Add moar tests!

* Add jest import

* Fix linter errors

* Use get to define default value

* Fix eslint errors

* Disable eslint for commands

* Improve code styles
2019-10-24 10:32:12 -07:00
Bucky Schwarz 45944a46d7 fix(ui): exiting out of a configure cell leaves cell content intact 2019-10-24 08:42:33 -07:00
Michael Desa 8128d67f66
Merge pull request #15555 from influxdata/chore/misc-sec-fixes
chore(ui): update to latest react-redux
2019-10-24 10:19:08 -04:00
Ariel Salem f28913a193
Fix/tasks edit (#15549)
* fix(ui/tasks): edit & update functionality has been fixed. Also fixed the issue where task form data didn't persist when toggling between schedule task options

* chore(CHANGELOG): updated changelog with current PR

* fix(ui/tasks): updated reducer test to more accurately reflect the current reducer functionality and updated the parameter name for consistency

* fix(linter): removed extra whitespace

* chore(comment): removed old comment from PR since it's no longer necessary
2019-10-23 13:45:27 -07:00
Michael Desa 4053b00180
chore(ui): update to latest react-redux
The version of react-redux we use has a security vulnerability that is
considered critical severity. https://github.com/influxdata/influxdb/network/alert/ui/yarn.lock/lodash-es/open
2019-10-23 15:34:30 -04:00
Michael Desa 0bd68520e2
Merge pull request #15550 from influxdata/chore/remove-parcel
chore(ui): remove dev dependency on parcel
2019-10-23 13:29:49 -04:00
Michael Desa e8e80f8acd
chore(ui): remove dev dependency on parcel
The package `safer-eval` is used in parcel and has pretty regular
security vulnerablities. Since we're no longer using it, we should be
safe to remove it.

Link https://github.com/influxdata/influxdb/network/alert/ui/yarn.lock/safer-eval/open
2019-10-23 13:05:55 -04:00
Brandon Farmer 88bf178802 feat(influxdb): Add labels create endpoints
- Notification Rules
- Notification Endpoints
- Checks

Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2019-10-23 09:53:50 -07:00
alexpaxton 0fc47bc692
refactor(ui): convert confirmation overlay to confirmation button (#15496)
* refactor(ui): convert confirmation overlay to confirmation button

* refactor: write e2e tests for veo/de query mode switching

* refactor: assume query has changed if it is empty

* fix: formatting

* refactor(queryBuilder): use more semantic functions

* fix: remove unused variable
2019-10-22 23:03:51 -07:00
Russ Savage 7aa489cd62
fix(alertHistory): verify columns exist before keeping them (#15525) 2019-10-22 11:49:51 -07:00
Ariel Salem 769c4101c8 fix(ui/collectorList-telegraf): sort telegrafs based on buckets (#15510)
* fix(ui/collectorList-telegraf): sort telegrafs based on buckets

* fix(ui/collectors): added tests to the sort by telegrafs/buckets functionality

* fix(ui/collectors): made PR suggested changes

* fix(ui/collectors): updated snapshot test

* fix(collectors): added collectors changes

* fix: labels test

* fix: sanity check

* chore: skip tests to resolve in separate PR

* fix: revisit page
2019-10-22 11:26:21 -07:00
Brandon Farmer 8a7d170c79 fix(influxdb): fall back to legacy system buckets 2019-10-22 10:21:04 -07:00
Andrew Watkins a40dacfabf chore: lowercase bdd 2019-10-21 15:27:35 -07:00
Andrew Watkins fb359722f8 chore: put space after comment 2019-10-21 15:26:33 -07:00
Andrew Watkins fbaeb8e58e fix: properly scope label creation 2019-10-21 15:26:21 -07:00
Zoe Steinkamp 355b43203c (fix)(ui) Sort by description broken
Fixed e2e test
2019-10-21 16:16:51 -06:00
Zoe Steinkamp 48c8f439a0 (fix)(ui) Sort by description broken
Fix for circleCI test failing, removing sortKey
2019-10-21 16:16:51 -06:00
Zoe Steinkamp 962ff6a2e0 (fix)(ui) Sort by description broken
Fixing file, getting rid of get function
2019-10-21 16:16:51 -06:00
Zoe Steinkamp 2264d90396 (fix)(ui) Sort by description broken
Removing the only, clean up test file with es lint
2019-10-21 16:16:51 -06:00
Zoe Steinkamp 5cad31c413 (fix)(ui) Sort by description broken
Also the test have been added that correlate to this issue
2019-10-21 16:16:51 -06:00
Andrew Watkins d95a708032
build(webpack): remove eslint from ForkTsChecker plugin (#15519)
* build(webpack): remove eslint from ForkTsChecker plugin

* test(labels): refactor delete test
2019-10-21 11:30:49 -07:00
Andrew Watkins 9cb2c0f6a4
refactor: RemoteDataState states in GetResources (#15508)
* refactor: RemoteDataState states in GetResources

* fix: e2e
2019-10-18 15:31:15 -07:00
alexpaxton aa34444df4
refactor(ui): redesign all page headers to make use of PageSubTitle (#15503)
* refactor(ui): redesign all page headers to make use of PageSubTitle

* chore: update changelog
2019-10-18 14:13:23 -07:00
Ariel Salem b69fcfbfbc
chore(ui/GetResources): parallelized GetResources CDM calls (#15501)
* chore(ui/GetResources): parallelized GetResources CDM calls

Refactored GetResources CDM call to take in an array of ResourceTypes to run in parallel rather than taking in a single ResourceType.

* chore(ui/GetResources): parallelized GetResources CDM calls

Refactored GetResources CDM call to take in an array of ResourceTypes to run in parallel rather than taking in a single ResourceType.

* fix(tests): updated components & refactored getresources to be async

* chore(ui/GetResources): parallelized GetResources CDM calls

Refactored GetResources CDM call to take in an array of ResourceTypes to run in parallel rather than taking in a single ResourceType.

* fix(tests): updated components & refactored getresources to be async

* fix(jstest): Fixed linter errors

* fix(jstest): fixed js test specs
2019-10-18 12:49:13 -07:00
Andrew Watkins 2119fd66a2 chore: exclude from tsconfig 2019-10-18 11:02:25 -07:00
Andrew Watkins a136e41d99 fix: buckets delete test 2019-10-18 10:58:35 -07:00
Andrew Watkins 75cfdccbdb chore: exclude coverage from linting 2019-10-18 10:48:05 -07:00
Andrew Watkins 2d002fb0f4 test: collectors reload page 2019-10-18 10:47:44 -07:00
Andrew Watkins 5ec64a0343 fix: thunk typings 2019-10-18 10:35:49 -07:00
Andrew Watkins bde7512338 fix: oops 2019-10-18 10:32:17 -07:00
Andrew Watkins c64896d329 chore: add eslint-enable 2019-10-18 10:25:00 -07:00
Andrew Watkins 528df56e6e fix: thunk typings 2019-10-18 10:25:00 -07:00
Andrew Watkins 1b6084551b fix: typing thunks 2019-10-18 10:25:00 -07:00
Andrew Watkins a967fc0292 fix: typings for thunk 2019-10-18 10:25:00 -07:00
Andrew Watkins d4170a9225 fix: creation of labels 2019-10-18 10:25:00 -07:00
Andrew Watkins cb8ad929e8 fix: last of recommended linter errors 2019-10-18 10:25:00 -07:00
Andrew Watkins a24b20bdd1 fix: more recommended fixes 2019-10-18 10:25:00 -07:00
Andrew Watkins 3628633874 fix: recommended rules 2019-10-18 10:25:00 -07:00
Andrew Watkins ade66b01f3 chore: first pass at recommended rules 2019-10-18 10:25:00 -07:00
Andrew Watkins 321c6fce1f chore: explicitly include files to be linted
https://github.com/typescript-eslint/typescript-eslint/issues/890
2019-10-18 10:24:59 -07:00
Andrew Watkins e9720c1871 fix: typescript parser linting errors 2019-10-18 10:24:59 -07:00
Ariel 613e0417eb chore(eslint): upgraded eslint 2019-10-18 10:24:59 -07:00
Ariel Salem 77f2748a9f
fix(ui/labeloverlayerror): invalid input error resolved (#15443)
* fix(ui/labeloverlayerror): 

UI is now correctly disabling the submit button and returning an invalid input error when a user tries to submit an empty input for the label overlay name

Updated change log and added in link to issue for newly built tests

Updated the updateLabelOverlay methods to correspond with the changes made to the labeloverlayform
2019-10-18 09:35:44 -07:00
Deniz Kusefoglu 3576ba1cd5
Fix js client library example copy (#15460) 2019-10-17 15:55:50 -07:00
Andrew Watkins ca1cc04ca1
Merge pull request #15454 from influxdata/fix/upgrade-typescript
chore: upgrade typescript
2019-10-17 12:50:21 -07:00
Zoe Steinkamp d56ae9470b
Merge pull request #15447 from influxdata/zs-removecloneendpoints-#15073
(fix)(ui)Remove the ability to clone Endpoints
2019-10-17 13:01:25 -06:00
alexpaxton 91fe2d3a0c
chore(ui): upgrade Clockface to 1.0.0 (#15428)
* chore(ui): upgrade clockface dependency

* refactor(ui): update components affected by breaking changes

* refactor(ui): update test snapshots

* refactor(ui): remove obsolete component

* refactor(ui): remove reference to non-existant stylesheet

* refactor(ui): update selector in e2e collectors test

* refactor(ui): attempt to fix e2e test

* refactor(ui): appease linter

* refactor(ui): update implementation of client library cards

* refactor: update all breakage from new version

* refactor: revert this commit

* refactor: fix popover by using useRef instead of createRef

* fix: update all instances of EmptyStateText

* fix: update all instances of PageHeader

* fix: update straggler empty state text

* fix: update instance of PageHeaderCenter

* fix: update instance of PageContents

* fix: update style rule for dashboard cards

* chore: update test snapshots

* refactor: update instance of question mark tooltip

* refactor: use brighten prop to ensure contrast with background

* Revert "refactor: revert this commit"

This reverts commit f325916d91.

* chore: upgrade to NPM package instead of local

* refactor: fix css import

* refactor: update test snapshot

* refactor: Guard against string being null

Co-Authored-By: Alex Boatwright <alex@drdelambre.com>

* refactor: move resource getter inside overlay so it does not disrupt layout

* refactor: fix unit test by updating selector

* refactor: guard against name being absent

* chore: upgrade to latest clockface to utilize a bugfix

* chore: update snapshot test

* refactor: fix appearance of searchableDropdown

* chore: upgrade dependency (again) for bugfixes

* refactor: fix labels e2e test

* refactor: fix tokens e2e test

* refactor: appease linter
2019-10-17 11:58:07 -07:00
Andrew Watkins 025fabd5c5 chore: upgrade to typescript 3.6.3 2019-10-17 11:15:24 -07:00
Andrew Watkins 23dbffd7e3 chore: upgrade typescript to 3.5.3 2019-10-17 10:47:34 -07:00
Andrew Watkins d599eddbae chore: upgrade to 3.4.5 2019-10-17 10:32:48 -07:00
Zoe Steinkamp 1a6e493e31 (fix) Client URL optional PagerDuty
Removing the only
2019-10-17 10:41:23 -06:00
Zoe Steinkamp d43bfaab7d (fix) Client URL optional PagerDuty
This is the test to make sure this is working
2019-10-17 10:41:23 -06:00
Bucky Schwarz 0df21e2cb9
chore(ui): add giraffe and clockface sourcemaps to honeybadger config (#15444) 2019-10-17 09:38:01 -07:00
Zoe Steinkamp 9f052c7d6a (fix)(ui)Remove the ability to clone Endpoints
Fixing the broken test
2019-10-17 09:44:31 -06:00
Zoe Steinkamp d7b9617462 (fix)Remove the ability to clone Endpoints
This is the fix, the button deleted, and extra tests to go with it, one of the tests im blocked on
2019-10-16 23:58:08 -06:00
Russ Savage 6f8977218a
fix(clientLibs): fixing logos (#15434)
* fix(clientLibs): fixing logos

* fix(clientLibs): renaming logoUrl, updating nits
2019-10-16 13:59:55 -07:00
Bucky Schwarz c81b758957
feat(ui): add 403 signout handler to new api requests, upgrade to oats 0.5.0 2019-10-16 13:11:51 -07:00
Zoe Steinkamp f581ef16f2 (Fix) Create dashboard from empty state test
Fix the eslint issue
2019-10-16 08:58:31 -06:00
Zoe Steinkamp dc23a0afe2 (Fix) Create dashboard from empty state test 2019-10-16 08:58:31 -06:00
Russ Savage a947a4eeb0
feat(clientLibs): Add Client Libs page (#15413)
* feat(clientLibs): fix icons, add go and c#

* feat(clientLibs): fix go client overlay

* feat(clientLibs): update remaining client libs

* feat(clientLibs): remove feature flag

* fix(telegraf): fix broken test

* fix(clientLibs): removing unused featureflag class

* feat(clientLibs): addressing pr feedback

* feat(clientLibs): fixing wording and formatting

* feat(clientLibs): update the text on JS page
2019-10-15 16:26:14 -07:00
Ariel Salem e68bd456ac
fix(ui/telegraf): filter functionality (#15427)
* fix(ui/telegraf): filter functionality

* docs: README

* fix: linter error

* fix: linked relevant issue to the added test
2019-10-15 15:08:29 -07:00
Scott Anderson 4a51c99411
fix(flux): udpated incorrectly named flux functions (#15425) 2019-10-15 14:21:51 -06:00
Deniz Kusefoglu 617e3ab799
bugfix: save flux with variables from data explorer as task (#15409)
* Add user defined variable to save as task

* Update snapshots

* Add tests
2019-10-15 13:18:18 -07:00
Scott Anderson 5769867796
chore(flux): update Flux function docs with experimental and 0.50 functions (#15403)
* chore(flux): update Flux function docs with experimental and 0.50 functions
* removed unnecessary newlines from fluxFunctions.ts
* fix(fluxFunctions): add space before param
2019-10-15 09:41:08 -06:00
Alex Boatwright 3d2f51ac09
chore(ui): adding a coverage reporter to ui (#15407) 2019-10-14 15:10:10 -07:00
Zoe Steinkamp f2970510e0 fix(endpoints, rules, checks): route user to alerting index
Added in the final notification fixes, also adding a PR for fruther problems with the rules and endpoints
2019-10-14 12:44:02 -06:00
Zoe Steinkamp 02c1462d5d fix(endpoints, rules, checks): route user to alerting index
1. Removing dashboard changes from earlier commit
2. Changing inital state variable name to just be endpoint
3. moving dispatch in check actions
4. Adding notification to endpoints
2019-10-14 12:43:52 -06:00
Zoe Steinkamp d83576c506 fix(endpoints, rules, checks): route user to alerting index
These are the final tests and rule fix for this issue.

The checks is special in how it was fixed.

But endpoints and rules have the exact same fix on them

All the tests are running smoothly

EsLint was run so this branch should no longer fail from that as well.
2019-10-14 12:43:01 -06:00
Zoe Steinkamp e6c2a9f373 Eslint clean up 2019-10-14 12:43:01 -06:00
Zoe Steinkamp 5e4ff33ec0 fix(endpoints): route user to alerting index
1. We fixed the endpoints so it no longer routes to 404 page, instead now routes to the alerting index. When endpoint id does not exist.

2.Added Cypress test to confirm the routing works on checks. Routing the user to the index page when the checks id does not exist.
2019-10-14 12:43:01 -06:00
Zoe Steinkamp a40f77c0ac Solution and cypress testing documentation
The solution for the issue is present as well as the cypress testing documentation
2019-10-14 12:43:01 -06:00
Zoe Steinkamp 5afb613fce
Merge pull request #15381 from influxdata/zs--dashboard404routing-#15325
fix(dashboards)routing to dashboard page instead of 404
2019-10-14 12:35:06 -06:00
Alex Boatwright f08152c77c
chore(ui): allow deployment configuration (#15383)
hopefully this commit doesnt do anything, but it opens up the ability to
change the static folder of the project through the environment variable
STATIC_FOLDER so that we can cache static files and not cache the index
file (allowing more passive deployment strategies), and allows the user
to change the base path of the project with the BASE_PATH variable,
opening up the ability to run an instance behind an nginx proxy,
though that change is pending an update to the @influxdata/oats package
before we can turn it on
2019-10-11 12:17:49 -07:00
alexpaxton 79f8cf0e9d
refactor(overlays): proposed new pattern for handling overlays (#15368)
* refactor: introduce components for showing/hiding overlays

* refactor: use OverlayRouter pattern for cell note overlay

* refactor: appease linter

* refactor: add dependency for handling search params

* refactor: add a bunch of inline comments

* refactor: undo changes to dashboard and cell components

* refactor: remove searchParam based overlay components

* refactor: add Overlay key in redux, create actions & reducers

* refactor: introduce redux based overlay controller

* refactor: update Note editing to use redux based pattern

* refactor: place Note route in correct location

* refactor: remove dependecy

* refactor: add trailing whitespace

* refactor: add back in moar trailing spaces

* refactor: ensure dismising Note overlay updates the route

* refactor: appease linter

* refactor: catch a small mistake

* refactor: use explicit variable for visibility
2019-10-11 11:13:01 -07:00
Zoe Steinkamp 6caa615670 fix(dashboards)routing to dashboard page instead of 404
ES lint clean up
2019-10-11 09:25:48 -06:00
Deniz Kusefoglu bdba601c30
fix: Place resource fetch logic in overlay (#15358)
* Place resource fetch logic in overlay

* Fix existing buckets tests

* Add test for routing to overlay and rerouting if bucket doesn't exist
2019-10-10 15:22:14 -07:00
Zoe Steinkamp f866c74ef3
Merge pull request #15382 from influxdata/zs-DurationTaskCreationPage-#15175
fix(tasks) Example duration on Task Creation pane.
2019-10-10 15:42:45 -06:00
Zoe Steinkamp a30732f016 fix(dashboards)routing to dashboard page instead of 404
Fixing the tests, adjusting index file
2019-10-10 13:54:48 -06:00
Jakub Bednář 0de3711d2e feat(ui): Add documentation for Java, C# and Python client (#15378)
* feat(ui): Add documentation for Java, C# and Python client

* feat(ui): Add documentation for Java, C# and Python client - fixed formatting
2019-10-10 12:24:17 -07:00
Zoe Steinkamp 30992d9fb4 fix(tasks) Example duration on Task Creation pane.
The fix, no test for the placeholder
2019-10-10 11:40:33 -06:00
Zoe Steinkamp 6926e66b2d fix(dashboards)routing to dashboard page instead of 404
This is the cypress test

And the lint fixes
2019-10-10 10:41:01 -06:00
Zoe Steinkamp cdbb192ce6 fix(dashboards)routing to dashboard page instead of 404
This is the actual fix, just need the test
2019-10-10 10:10:37 -06:00
Alex Boatwright d431c6e8a7
fix(ui): unblock build by adding jest config to typescript ignore list (#15365) 2019-10-09 09:48:18 -07:00
Bucky Schwarz e90ab6ebdf
Merge pull request #15354 from influxdata/bucky_variable_show_keys
fix: Map type Variables selector shows keys, not values
2019-10-08 16:06:48 -07:00
Bucky Schwarz 78244ce6de
fix: Map type Variables selector shows keys, not values
add test for hydrateVars

dashboard variable dropdown test: inspect values, not just array length

add RTL test for variable dropdown changes

lint

fix: Disable saving threshold check if no threshold selected (#15348)

* Prevent check saving if no thresholds

* Add tests

* Add changes to changelog

* make optional props optional

* use false instead of null for boolean

changelog

fix(ui): ignore false change events in VariableForm (#15317)

closes #15059

the issue is to persist user data across variable type selection interfaces within the variable editor. this commit pushes all of the variable editor information down to redux to allow persistence outside of the view state until the user clicks "cancel" or "create" in the interface.
2019-10-08 15:52:06 -07:00
Andrew Watkins 393f0e7772
Merge pull request #15357 from influxdata/fix/axis-submits
fix(VEO): only execute queries if cellID or dashboardID change
2019-10-08 15:44:25 -07:00
Alex Boatwright b91a856f59
chore(ui): relocate testing configuration (#15356)
while exploring containerization of the frontend, i decided to remove the
existing environment configuration from package.json and push them into
external files in an attempt to improve the caching strategies available
for local development. the CI pipeline should be watching the lock file,
but changes to the testing environment locally shouldn't cause a rebuild
of node_modules.
2019-10-08 15:39:33 -07:00
Andrew Watkins 3c65f21552 fix(VEO): only execute queries if cellID or dashboardID change 2019-10-08 13:02:02 -07:00
Alex Boatwright 99478fe21f
fix(ui): ignore false change events in VariableForm (#15317)
closes #15059

the issue is to persist user data across variable type selection interfaces within the variable editor. this commit pushes all of the variable editor information down to redux to allow persistence outside of the view state until the user clicks "cancel" or "create" in the interface.
2019-10-08 12:56:00 -07:00
Deniz Kusefoglu 9f011d605e
fix: Disable saving threshold check if no threshold selected (#15348)
* Prevent check saving if no thresholds

* Add tests

* Add changes to changelog

* make optional props optional

* use false instead of null for boolean
2019-10-08 12:23:16 -07:00
Iris Scholten 54cc5be3c6 fix: add missing semicolon 2019-10-03 14:27:19 -07:00
Iris Scholten 97587e8840 feat(ui): Add tooltip that exposes editor shortcuts in the ui 2019-10-03 13:07:58 -07:00
Iris Scholten 6594521d46 feat(editor): Add keyboard shortcut for toggling comments 2019-10-03 11:53:17 -07:00
Deniz Kusefoglu 7d4c8491f0
feat: Add event markers (#15282)
* Add init event markers

* Add events to dashboard graphs

* Add level coloring and styling to event markers

* Window statuses by time and graph groups of events

* Put event markers behind feature flag

* init tooltip

* Upgrade giraffe library

* Add Tooltip

* Add status query to Time Machine

* Status rows return lowercase check level statuses

* rename events to statuses

* Radically improve tooltip style

Co-authored-by: alexpaxton <thealexpaxton@gmail.com>

* Add time formatting

* Make status query more readable

* Clean up comments
2019-09-27 14:09:12 -07:00
Russ Savage d24047e55d
fix(fluxFunctions): add getColumn, getRecord, tableFind (#15289)
* fix(fluxFunctions): add getColumn, getRecord, tableFind

* feat(changelog): update changelog
2019-09-26 14:04:23 -07:00
Russ Savage 73ac9c5b5c
fix(templates): add jmeter template (#15168)
* fix(templates): add jmeter template

* fix(defaultTemplates): missing comma

* fix(package): update influxdb-template library

* fix(ui): updating yarn.lock

* fix(templates): add jmeter template

* fix(defaultTemplates): missing comma

* fix(package): update influxdb-template library

* fix(ui): updating yarn.lock

* Updated CHANGELOG
2019-09-26 12:21:12 -07:00
Lyon Hill 5e1d7f6c69
feat(task): remove preauth (#15286)
* feat(task): remove preauth

* fix(task): remove e2e test that verified preauth
2019-09-26 10:52:24 -06:00
Deniz Kusefoglu ca078d4b91 Remove endpoint test for slack token field 2019-09-25 10:54:07 -07:00
Deniz Kusefoglu 43f3eafa73 Remove slack token option from endpoint 2019-09-25 10:40:35 -07:00
Michael Desa 527aa4f2d5
chore(ui): remove alerting feature flag 2019-09-24 10:59:01 -04:00
Deniz Kusefoglu b3a806df6b
Fix endpoint type conversions (#15240)
* Fix endpoint type conversions

* Update reducer

* Add token to slack endpoint

* Add test for http endpoint
2019-09-23 18:17:56 -07:00
Deniz Kusefoglu ec803e22b6 Revert "chore(ui): upgrade Clockface to 0.0.32 (#15221)"
This reverts commit 0669c22bbd.
2019-09-23 11:56:05 -07:00
alexpaxton 0669c22bbd
chore(ui): upgrade Clockface to 0.0.32 (#15221)
* chore(ui): upgrade clockface dependency

* refactor(ui): update components affected by breaking changes

* refactor(ui): update test snapshots

* refactor(ui): remove obsolete component

* refactor(ui): remove reference to non-existant stylesheet

* refactor(ui): update selector in e2e collectors test

* refactor(ui): attempt to fix e2e test

* refactor(ui): appease linter

* refactor(ui): update implementation of client library cards
2019-09-23 10:06:42 -07:00
alexpaxton bd93845d62
refactor(ui): redesign client libs page (#15204)
* refactor(ui): add vector graphic logos for each client library

* refactor(ui): replace mock content with real content

* refactor(ui): display client library content in overlays with routes

* refactor(ui): cleanup factored out components

* refactor(ui): increase size of client library overlays

* refactor(ui): make client library overlays wider

* refactor(ui): add link to docs for each client library

* refactor(ui): cleanup commented code
2019-09-20 09:39:43 -07:00
alexpaxton 2ef1daae0f
refactor(ui): display dashboard cards in a grid (#15211)
* refactor(ui): display dashboard cards in a grid

* chore(ui): update changelog
2019-09-19 15:56:24 -07:00
Deniz Kusefoglu 778db16b1d
Fix edit check bug (#15210) 2019-09-19 15:07:58 -07:00
alexpaxton 1988f85128
refactor(ui): split check creation flow (#15169)
* refacotor(ui): split first time create check button into one for each type

* refactor(ui): replace create check button with dropdown

* refactor(ui): remove check type toggle from conditions card

* refactor(ui): split check creation into 2 routes

* refactor(ui): change default check depending on type

* refactor(ui): hide function selector when building a deadman check

* refactor(ui): move validation popover to check save button

* refactor(ui): remove unused component

* refactor(ui): ensure deadman queries do not have an aggregate function

Co-Authored-By: Deniz Kusefoglu <deniz@influxdata.com>

* refactor(ui): update alerting get started copy

* refactor(ui): update e2e test

* refactor(ui): use existing checkType type
2019-09-17 11:24:15 -07:00
Iris Scholten b80bfe2999 chore(ui): Update Cloud welcome header 2019-09-13 11:04:27 -07:00
alexpaxton a90786d1cf
fix(ui): update alerting copy and docs links (#15113)
* fix(ui): use correct documentation links in alerting tooltips

* fix(ui): update copy in check builder checklist
2019-09-12 23:14:33 -07:00
Scott Anderson 61c75ae434
Flux function documentation link updates (#15120)
* updated flux functions documentation

* removed unnecessary newline in fluxFunctions.ts

* updated flux function documentation links

* removed unnecessary newlines from fluxFunctions.ts
2019-09-11 16:05:44 -06:00
Michael Desa 0a24d3bd85
Merge pull request #15115 from influxdata/fix/save-variable
fix(variables/components/VariableForm): check to see if form is valid
2019-09-11 16:46:33 -04:00
Christopher Henn 71356c1ba2 feat(ui): show auto window period in function selector dropdown 2019-09-11 13:39:34 -07:00
Michael Desa f048fddc1b
fix(variables/components/VariableForm): check to see if form is valid
Closes https://github.com/influxdata/influxdb/issues/15060

Previously, the create button for a variable wouldn't be enabled unless
the user clicked in the text box, despite a query being present. This
adds an aditional check to the `isFormValid` method that ensures that if
a query is present the create button will be enabled.
2019-09-11 16:24:53 -04:00
Christopher Henn 901bf6128a fix(ui): enforce bucket retention rule limits 2019-09-10 13:30:54 -07:00
Christopher Henn 7cc975c547 feat(ui): use duration selector for selecting bucket retention duration
The previous bucket retention form component was frusterating to use.

This commit replaces it with a simple duration dropdown that we use in a
few other places. It refactors the various duration utilities to make it
happen.

The hope is to eventually improve this duration dropdown into a combined
text input/dropdown component that can accept custom durations with
validation.
2019-09-10 13:30:54 -07:00
Christopher Henn c403cef292 fix(ui): avoid attempting to create bucket with invalid expiration
The following steps would result in a server error:

1. Open create bucket overlay
2. Enter valid name
2. Click "Periodically" radio option
3. Click "Never" again
4. Submit

The issue is that the bucket was being submitted with an invaild
retention duration, even though the user had selected to use no
retention duration (by clicking "Never").

The solution was to clear the retention duration state when switching
back to the "Never" radio option.
2019-09-10 13:30:54 -07:00
Christopher Henn 060dfe8609 refactor(ui): use locally generated BucketRetentionRules type
Connect #14482
2019-09-10 13:30:54 -07:00
Daniel Campbell 54ec7fd001
Add viewport scaling to html meta responsive mobile scaling (#15099)
* Modify HTML files to include viewport scaling

* Add ms-viewport device width to css

* Update changelog
2019-09-10 11:14:10 -07:00
alexpaxton 4fea50b24e
refactor(ui): polish bucket card & check builder (#15098)
* refactor(ui): remove action buttons from system bucket cards

* refactor(ui): make check builder more compact

* refactor(ui): add raw data toggle to check editor

* refactor(ui): fix logic for displaying system bucket label

* refactor(ui): remove edit link from system buckets
2019-09-10 11:03:26 -07:00
Michael Desa 4ff0e01005
chore(ui): add the command to the ui readme 2019-09-09 23:39:57 -04:00
Scott Anderson a6a7459f88
Updated Flux functions documentation (#15089)
* updated flux functions documentation
* removed unnecessary newline in fluxFunctions.ts
2019-09-09 21:25:38 -06:00
Michael Desa 4df32f2609
fix(telegraf/configs): route to correct path for telegraf collectors
Co-Authored-By: Andrew Watkins <watts@influxdb.com>
2019-09-09 22:50:25 -04:00
alexpaxton 29fe49a981 refactor(ui): add real links to alerting documentation (#15083)
* refactor(ui): add real links for documentation pertaining to alerts

* refactor(ui): use correct docs links
2019-09-09 19:03:35 -07:00
Andrew Watkins 2bedaedbe1
Merge pull request #15087 from influxdata/fix/remove-status-change
fix(alerts): remove status change functionality
2019-09-09 18:30:19 -07:00
Christopher Henn 7f30aa950b fix(ui): deduplicate rows on notifications history page
We want to display a row for each notification, but we were displaying
a row for each field for each notification.

By filtering out the system fields (those that start with an
underscore), we are in left with only a single user-specific field.
2019-09-09 18:29:41 -07:00
Michael Desa eb010310f8
Merge pull request #15085 from influxdata/fix/default-endpoint
fix(ui): use slack as default endpoint
2019-09-09 21:13:36 -04:00
Andrew Watkins 47dbc421c7 fix(alerts): remove status change functionality 2019-09-09 18:06:42 -07:00
Christopher Henn 800c818434 fix(ui): show notifications history sent column properly 2019-09-09 17:54:40 -07:00
Michael Desa 4dac2f51f7
fix(ui): use slack as default endpoint
This is so that in cloud there is not a weird UX for initial users who
see http, but cannot create an http endpoint
2019-09-09 20:42:53 -04:00
Michael Desa a23962fef8
Merge pull request #15079 from influxdata/fix/pagerduty-client-url
fix(pagerduty/rule): change url to clientURL for pagerduty endpoint/rule
2019-09-09 19:27:29 -04:00
Michael Desa ea1b7bec09
fix(pagerduty/rule): change url to clientURL for pagerduty endpoint/rule
Closes https://github.com/influxdata/influxdb/issues/15042

Previously, there was an optional URL provided for the pagerduty
endpoint. However, the pagerduty API url does not change and as a result
it should not have been a parameter. The Pagerduty API does require a
`clientURL` that is presented in the pagerduty UI when an alert is
triggered. Currently that value will default to the alerts history page
for the organization.
2019-09-09 19:09:35 -04:00