Skip to content

Use me exceptions flyouts#15

Draft
yctercero wants to merge 311 commits intocommon_flyout_componentsfrom
use_me_exceptions_flyouts
Draft

Use me exceptions flyouts#15
yctercero wants to merge 311 commits intocommon_flyout_componentsfrom
use_me_exceptions_flyouts

Conversation

@yctercero
Copy link
Copy Markdown
Owner

Summary

Summarize your PR. If it involves visual changes include a screenshot or gif.

Checklist

Delete any items that are not applicable to this PR.

Risk Matrix

Delete this section if it is not applicable to this PR.

Before closing this PR, invite QA, stakeholders, and other developers to identify risks that should be tested prior to the change/feature release.

When forming the risk matrix, consider some of the following examples and how they may potentially impact the change:

Risk Probability Severity Mitigation/Notes
Multiple Spaces—unexpected behavior in non-default Kibana Space. Low High Integration tests will verify that all features are still supported in non-default Kibana Space and when user switches between spaces.
Multiple nodes—Elasticsearch polling might have race conditions when multiple Kibana nodes are polling for the same tasks. High Low Tasks are idempotent, so executing them multiple times will not result in logical error, but will degrade performance. To test for this case we add plenty of unit tests around this logic and document manual testing procedure.
Code should gracefully handle cases when feature X or plugin Y are disabled. Medium High Unit tests will verify that any feature flag or plugin combination still results in our service operational.
See more potential risk examples

For maintainers

kibanamachine and others added 30 commits September 13, 2022 17:55
…ed (elastic#142409)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Updated copy on the pipelines tab and modal when using an API-based
index to explicitly call-out required actions in API requests to run the
ingest pipeline.
Co-authored-by: Patryk Kopycinski <contact@patrykkopycinski.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…vent warnings (elastic#142259)

* Serialize errors before sending to redux store to prevent warnings.

* Serialize response errors in monitor list effect.
…ssue. (elastic#142524)

* removed complex lines per frame logic. caused too many edge cases. tests added to prevent future regressions

* fix fit to screen option (when changing from fullscreen to not. also button state). increased playback speed to make up for removal of multi line per frame rendering

* fixed tests

* removing tty loading technique due to problems with unique char_device in multi container sessions on the same pod

Co-authored-by: Karl Godard <karlgodard@elastic.co>
…ntrols (elastic#141824)

* [Sample data] replace legacy control visualizations with dashboard controls

* i18n wrappings for title and description

* update screen shots

* fix functional tests

* update functional test expects

* more functional test expect updates

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…ule (elastic#142505)

* Running task using scheduled task id. Adding functional test

* dont run if rule is disable

* Fixing i18n
)

Co-authored-by: Faisal Kanout <faisal.kanout@elastic.co>
* Refactor global_query_string to move reusabel code to helper

* Add Url state parameter for external alerts checkbox

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…lastic#142464)

## Summary

- addresses elastic#138757

according to proposal in above task:
- removes step of updating immutable rule with mock data
- makes assertions whether rule properties were not modified against fetched earlier immutable rule


### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
…42320)

By default, mark `allStepsLoading = true` where steps loading isn't important.
…42477)

* [Infra] Make nav react to Hosts view enabled flag changing (elastic#140996)

* Move comment to more relevant location

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
hop-dev and others added 30 commits October 10, 2022 02:43
…2864)

* prevent high number of re-renders of package grid

* fix hook tests
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Draft][Lens] Bundle Size Reduction

* fix JEST

* update some imports

* Update x-pack/plugins/lens/common/expressions/datatable/sorting.tsx

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
* ♻️ Refactor mocks

* ♻️ First rewrite with operation mocks

* Update x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/editor/math_completion.test.ts

Co-authored-by: Marta Bondyra <4283304+mbondyra@users.noreply.github.com>

Co-authored-by: Marta Bondyra <4283304+mbondyra@users.noreply.github.com>
…stic#142019)

* Add maxIdleSockets and idleSocketTimeout to Elasticsearch config

* Simplify agent manager

* Fix types

* Fix types

* Reduce idleSocketTimeout default to 60s

* Fix tests

* Update docs/setup/settings.asciidoc

* Address review comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [XY] Fixes the colors and tooltips sync

* Fix types

* Fix jest tests
* feat: OrFilter -> CombinedFilter

* [CI] Auto-commit changed files from 'node scripts/build_plugin_list_docs'

* feat: updated filter's type OR -> combined

* fix: jest test
… action according to test plan (elastic#141929)

## Summary

- adds missing tests according to [test plan](https://docs.google.com/document/d/116x7ITTTJQ6cTiwaGK831_f6Ox7XB3qyLiHxC3Cmf8w/edit#heading=h.tzaw2977z8ue) (internal document)
- small refactoring of cypress tasks related to rule actions: create Email connector moved to common tasks from create_rule screen, as it used in bulk editing as well
* ✅ Add tests for feature

* ✨ Add feature and make tests work

* ✨ Add more ui stuff

* 🐛 Fix missing renders on advanced options change

* 🔧 fix id issue

* 👌 Shorter tooltip message
…c#142962)

* ✏️ Update error messages

* 🔧 fix unused imports
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Re-enable Bazel cache on CI

* remove exit test
…ntegration/test_suites/task_manager/task_management·ts - task_manager scheduling and running tasks should disable and reenable task and not run it when runSoon = false (elastic#142749)

* Unskipping test

* Adding some console logs

* Comparing strings

* Setting date beforehand

* Comparing against disabled task

* Reverting unnecessary changes

* Cleanup

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Console] Add tests for XJSON

* Convert rgb to hex

* Address CR changes

* Expand test coverage for XJSON

* Retry until typing is finished

Co-authored-by: Muhammad Ibragimov <muhammad.ibragimov@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Add severity action

* Change translation

* Add unit tests

* Add e2e tests

* Fix i18n

* PR feedback

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…field (elastic#142945)

* add index pattern setter and getter and deprecate title field
… but flags as error on re-edit (elastic#142225)

* Fixing es query bug

* Updating threshold

* Adding isNil to another check
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
* [DOCS] Adds content on ad hoc data view

* [DOCS] Breaks data into two steps

* Update docs/concepts/data-views.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* [DOCS] Tweaks message re: unsaved data views

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
…#142602)

## Summary

- addresses elastic#141758
- loads saved query on rules edit page before form rendering, thus prevents validation run on uncompleted data(saved query wasn't fetched before QueryBar component renders). Then fetched saved query passed to QueryBarDefineRule component


### Before

https://user-images.githubusercontent.com/92328789/193884969-3647e06b-085a-4923-82e8-546bedabeb3e.mp4


### After

https://user-images.githubusercontent.com/92328789/193884323-629fb879-3a51-4412-8b63-2f36afc618cb.mov


As side effect, it reduced number of requests for saved query:
#### Before
2 requests were sent
<img width="1995" alt="Screenshot 2022-10-05 at 09 39 09" src="https://user-images.githubusercontent.com/92328789/194018652-5612a032-e908-4e01-9858-2049c8e453e2.png">

#### After
Only one request sent


### Checklist
<img width="1996" alt="Screenshot 2022-10-05 at 09 37 12" src="https://user-images.githubusercontent.com/92328789/194018637-770a08df-832b-4838-a060-05058c436ed6.png">


Delete any items that are not applicable to this PR.

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.