Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ILM] Migrate Hot phase to Form Lib #80012

Merged
merged 33 commits into from
Oct 19, 2020
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
0b59256
wip
jloleysens Oct 6, 2020
ea04a60
added missing shared_imports file to index
jloleysens Oct 6, 2020
5f265af
initial migration of hot phase to form lib
jloleysens Oct 8, 2020
16adb9b
Big refactor
jloleysens Oct 8, 2020
4cd11d6
Merge branch 'master' into ilm/migrate-hotphase-to-formlib
kibanamachine Oct 12, 2020
0eb0610
Integrate form lib serialization with existing serialization
jloleysens Oct 12, 2020
d9f4c5f
wip on fixing jest tests and some other refactors
jloleysens Oct 13, 2020
f030d70
fix jest tests and other refactors
jloleysens Oct 13, 2020
deb67bf
delete existing hot phase serialization and tests
jloleysens Oct 13, 2020
d087b44
beginning of serializer test for hot phase
jloleysens Oct 13, 2020
bed6317
added serialization tests for form lib components
jloleysens Oct 13, 2020
200b6d4
Merge branch 'master' of github.com:elastic/kibana into ilm/migrate-h…
jloleysens Oct 13, 2020
3655f0f
fix some i18n issues
jloleysens Oct 13, 2020
5dc6023
fixed delete phase integration test
jloleysens Oct 13, 2020
d1fdd66
move hot phase serialization test to pre-existing test location
jloleysens Oct 13, 2020
a33ab32
fix another jest test issue
jloleysens Oct 13, 2020
2cbc917
fix ui metric tracking for setting input priority in hot phase
jloleysens Oct 14, 2020
f78b566
Merge branch 'master' into ilm/migrate-hotphase-to-formlib
kibanamachine Oct 14, 2020
b0a8096
refactor use rollover switch to form lib component and update validat…
jloleysens Oct 14, 2020
22017f7
readded missing validation 🤦🏼‍♂️
jloleysens Oct 14, 2020
eab1538
Merge branch 'master' into ilm/migrate-hotphase-to-formlib
kibanamachine Oct 16, 2020
a8ab7b6
fix type check issues and setting of rollover enabled 🙄
jloleysens Oct 16, 2020
b7a7f37
migrate all form lib components to spreading all rest props in EuiFor…
jloleysens Oct 16, 2020
759a0a0
added comment to test helper function
jloleysens Oct 16, 2020
100ad62
refactor test helper setPhaseIndexPriorityFormLib -> setPhaseIndexPri…
jloleysens Oct 16, 2020
9d869c8
refactor to use form schema
jloleysens Oct 16, 2020
844be4b
Removed use of UseMultiFields component
jloleysens Oct 16, 2020
7da30bd
update json flyout behaviour
jloleysens Oct 16, 2020
7f48a65
fix json policy serialization
jloleysens Oct 16, 2020
e5665d0
Fix type and i18n issues
jloleysens Oct 16, 2020
55346ba
Merge branch 'master' into ilm/migrate-hotphase-to-formlib
kibanamachine Oct 19, 2020
b560f21
do not use form.subscribe
jloleysens Oct 19, 2020
371ff40
add missing key value in cells
jloleysens Oct 19, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,11 @@ describe('edit policy', () => {
jest.useRealTimers();
});

/**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

* The form lib has a short delay (setTimeout) before running and rendering
* any validation errors. This helper advances timers and can trigger component
* state changes.
*/
const waitForFormLibValidation = () => {
act(() => {
jest.advanceTimersByTime(1000);
Expand Down