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

[Lens] Add custom formatter within the Lens editor #158468

Merged
merged 61 commits into from
Jun 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
747adfe
:wrench: Use kibana formatters
dej611 May 16, 2023
6034cc5
Merge remote-tracking branch 'upstream/main' into feature/metric-fiel…
dej611 May 17, 2023
d286cd0
:white_check_mark: Fix unti tests + fix bug when transitioning with c…
dej611 May 17, 2023
275cd71
:bug: Use bytes formatter for bits
dej611 May 18, 2023
caec5a9
:wrench: Flag overriden formatters
dej611 May 18, 2023
0490805
:recycle: Handle all combinations for formatters
dej611 May 18, 2023
bb93c97
:white_check_mark: Update unit tests
dej611 May 18, 2023
ea5cc8c
Merge remote-tracking branch 'upstream/main' into feature/metric-fiel…
dej611 May 22, 2023
0bdb11c
:sparkles: Add params for formatting method
dej611 May 22, 2023
9aeb0c2
:white_check_mark: Add transitioning test
dej611 May 22, 2023
0634dc4
:white_check_mark: Fix existing tests for new metric
dej611 May 22, 2023
95844c4
:white_check_mark: Fix more functional tests
dej611 May 22, 2023
2aefa3f
:white_check_mark: More tests fixed
dej611 May 22, 2023
a3f9c47
:white_check_mark: Fix latest notation issues
dej611 May 22, 2023
ab9a9fe
:white_check_mark: Fix more tests
dej611 May 22, 2023
d073437
:white_check_mark: Fix precision
dej611 May 22, 2023
19a6255
:white_check_mark: All fix should be addressed now
dej611 May 22, 2023
2b44254
:white_mark_check: One more fix
dej611 May 23, 2023
a3dd0f8
:recycle: Small refactor
dej611 May 23, 2023
32e4608
Merge remote-tracking branch 'upstream/main' into feature/custom-form…
dej611 May 25, 2023
d623e87
:sparkles: Add custom formatter + compact option
dej611 May 25, 2023
a59b6e5
:wrench: Fix id
dej611 May 25, 2023
57e526c
Merge remote-tracking branch 'upstream/main' into feature/custom-form…
dej611 May 26, 2023
75e47cb
:wrench: Add metric migration
dej611 May 26, 2023
08048ce
:wrench: Improve migration for metric formatters
dej611 May 26, 2023
4fe2da5
Merge branch 'main' into feature/custom-formatter
dej611 May 29, 2023
e26f99d
Merge remote-tracking branch 'upstream/main' into feature/custom-form…
dej611 May 31, 2023
e082608
:white_check_mark: Fix first batch of test issues
dej611 May 31, 2023
caf715c
:white_check_mark: Fix functional tests
dej611 May 31, 2023
bb8586c
Merge remote-tracking branch 'upstream/main' into feature/custom-form…
dej611 Jun 1, 2023
cb5544a
:white_check_mark: Add more tests for custom formats
dej611 Jun 1, 2023
3692bf3
:white_check_mark: Fix more unit tests
dej611 Jun 1, 2023
298a8d1
:bug: Fix some other tests
dej611 Jun 1, 2023
4d1b510
Merge remote-tracking branch 'upstream/main' into feature/custom-form…
dej611 Jun 1, 2023
3fd941e
:white_check_mark: Fix fallback case
dej611 Jun 1, 2023
d5d7040
:white_check_mark: More fixes
dej611 Jun 1, 2023
3a5decc
:white_check_mark: Fix value
dej611 Jun 5, 2023
2c504af
:white_check_mark: Fix migration version
dej611 Jun 5, 2023
ed7b8e5
:white_check_mark: Fix last test
dej611 Jun 5, 2023
7e2a3f3
:white_check_mark: Fix another test
dej611 Jun 5, 2023
586d898
:white_check_mark: Last test fixed
dej611 Jun 5, 2023
60cf68c
:white_check_mark: Remove typo
dej611 Jun 5, 2023
603daa0
Merge branch 'main' into feature/custom-formatter
stratoula Jun 6, 2023
9272dad
Merge remote-tracking branch 'upstream/main' into feature/custom-form…
dej611 Jun 8, 2023
1017745
:ok_hand: Integrated feedback
dej611 Jun 8, 2023
cf15c76
Merge branch 'feature/custom-formatter' of https://github.com/dej611/…
dej611 Jun 8, 2023
9cdb31a
:fire: Remove unused dep
dej611 Jun 8, 2023
85094e1
:white_check_mark: Fix last test
dej611 Jun 8, 2023
7035e64
:fire: Remove migration for now
dej611 Jun 8, 2023
c6c8b49
:fire: Last bit of unused migration
dej611 Jun 8, 2023
46a1615
:fire: Remove last part of migration
dej611 Jun 8, 2023
2209f97
Merge branch 'main' into feature/custom-formatter
dej611 Jun 8, 2023
ac47d0b
Merge remote-tracking branch 'upstream/main' into feature/custom-form…
dej611 Jun 9, 2023
12160c9
:rewind: revert changes
dej611 Jun 9, 2023
ed751c3
:rewind: Revert changes
dej611 Jun 9, 2023
bb828ca
:white_check_mark: Update test
dej611 Jun 9, 2023
50a0ab3
:white_check_mark: Round value
dej611 Jun 9, 2023
722001d
:white_check_mark: Fix precision
dej611 Jun 9, 2023
cf68fe0
:white_check_mark: Fix value
dej611 Jun 12, 2023
924c565
Merge remote-tracking branch 'upstream/main' into feature/custom-form…
dej611 Jun 12, 2023
47d0211
Merge branch 'main' into feature/custom-formatter
dej611 Jun 13, 2023
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
4 changes: 3 additions & 1 deletion packages/kbn-test-jest-helpers/src/enzyme_helpers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

import { I18nProvider, InjectedIntl, intlShape, __IntlProvider } from '@kbn/i18n-react';
import { mount, ReactWrapper, render, shallow } from 'enzyme';
import React, { ReactElement, ValidationMap } from 'react';
import React, { ComponentType, ReactElement, ValidationMap } from 'react';
import { act as reactAct } from 'react-dom/test-utils';

// Use fake component to extract `intl` property to use in tests.
Expand Down Expand Up @@ -94,6 +94,8 @@ export function mountWithIntl<T>(
attachTo?: HTMLElement;
context?: any;
childContextTypes?: ValidationMap<any>;
wrappingComponent?: ComponentType<any> | undefined;
wrappingComponentProps?: {} | undefined;
} = {}
) {
const options = getOptions(context, childContextTypes, props);
Expand Down

This file was deleted.

This file was deleted.

Loading