Marco Liberati
5f994b1d9d
[Lens][Visualize] Align inspector header in Lens and Visualize ( #112443 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-20 15:54:37 +02:00
Tyler Smalley
4681a80317
[DX] Upgrade prettier to v2.4.0 ( #112359 )
...
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-19 22:34:30 -07:00
Yaroslav Kuznietsov
c63fff99a8
[Canvas] TagCloud
arguments. ( #107729 )
...
* Added arguments to Tagcloud at Canvas.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-17 07:34:15 -04:00
Spencer
eaf70a0b4e
[kbn/ui-shared-deps] split into two packages ( #110558 )
...
* [kbn/ui-shared-deps] split into two packages
* fix asset categorizer
* update snapshots
* reference npm dll from optimizer
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-16 12:06:46 -07:00
Joe Reuter
411d23263e
fix data loss mssage ( #112294 )
2021-09-16 11:30:54 +02:00
Stratoula Kalafateli
8f70030386
[Lens] [TSVB] Fixes the brushing of the last bucket for timeseries visualizations ( #112068 )
...
* Enable allowBrushingLastHistogramBucket for timeseries visualizations
* Cleanup
2021-09-15 15:20:44 +03:00
Stratoula Kalafateli
34d7f68375
[Pie] Loads the no results screen if all slices have zero value ( #111931 )
...
* [Pie] Loads the no results screen if all slices have zero value
* Add a functional test
* Apply PR changes
* Display no results component if the chart metric has negative values
* Nits
* Apply some of the PR comments
* Change the negative values text
* Update src/plugins/vis_types/pie/public/pie_component.test.tsx
Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>
* Update src/plugins/vis_types/pie/public/pie_component.test.tsx
Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>
2021-09-15 15:11:09 +03:00
Marco Liberati
e37cacbe59
[Lens] Removing trailing semicolor and scrollbar for empty pie chart visualization ( #111971 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-14 14:03:49 +02:00
Marta Bondyra
cae5bdca04
[Lens] Added logger info and restructuring some mounter tests ( #111953 )
...
* [Lens] added logger info and restructuring some mounter tests
* snapshot updated
2021-09-13 23:09:43 +02:00
Anton Dosov
d6badd8715
[FieldFormats] Reduce any
usage ( #111530 )
2021-09-13 17:01:51 +02:00
Marta Bondyra
15a31a19b3
[Lens] Make Lens saved object share-capable ( #111403 )
...
* [Lens] Make Lens saved object share-capable
Step 4 of https://www.elastic.co/guide/en/kibana/master/sharing-saved-objects.html#sharing-saved-objects-faq-changing-object-ids
* delete gzipped duplicate
* fix updating the document
* use create instead of update
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-13 09:33:22 +02:00
Marta Bondyra
c6c4f52fc3
[Lens] comment redux logger ( #111513 )
...
* [Lens] comment redux logger
* Update x-pack/plugins/lens/public/state_management/index.ts
Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
* Update x-pack/plugins/lens/public/state_management/index.ts
Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-09 17:15:44 +02:00
Marco Liberati
b36ffc98fc
[Lens] Fix Heatmap in dashboard with numeric color stops ( #111117 )
...
* 🐛 Fix heatmap numeric stops problem + tests
* 🏷️ Fix type issue
* ✅ Add dashboard functional tests for this issue
* ✅ Simplify functional test
* ✅ fix functional test
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-08 19:02:10 +02:00
Alexey Antonov
e2c6a039f6
lens should register expression functions in setup contract ( #110639 )
...
* lens should register expression functions in setup contract
Closes : #106510
* fix CI
* build optimization
* build optimizations - step 3
* fix CI
* try to optimize bundle
* Update x-pack/plugins/lens/common/expressions/time_scale/types.ts
Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>
* Update types.ts
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>
2021-09-07 10:32:30 +03:00
Marco Liberati
1a88d34ea2
[Lens] Reverse colors should not reverse palette picker previews ( #110455 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-06 14:27:53 +02:00
Michael Dokolin
df43d253c8
[Expressions] Align renderMode with the embeddable viewMode ( #110199 )
...
* Add preview view mode to the embeddable
* Rename display render mode to view
* Extract no interactivity render mode to a separate flag
2021-09-03 19:10:29 +02:00
Marta Bondyra
d4c03eb9b4
[Lens] Switch to SavedObjectClient.resolve ( #110059 )
...
* Step 2: Update client code to use resolve() method instead of get()
Following sharing Saved Objects developer guide: Step 2
This step demonstrates the changes to update client code to use the new
SavedObjectsClient `resolve()` method instead of `get()`.
* Step 3 Lens
2021-09-03 16:44:12 +02:00
Marco Liberati
21b4752dba
[Lens] Fix transition to custom palette inconsistency when in number mode ( #110852 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-03 15:57:57 +02:00
Marco Liberati
3b81205a23
[Lens] Show validation feedback on top values out of bounds number of values ( #110222 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-31 15:23:18 +02:00
Marta Bondyra
03469515cf
[Lens] Fix filters reappearing in the saved object when saving ( #110460 )
...
* bugs fixed
* test for loading
* fix workspace panel
* Update x-pack/plugins/lens/public/xy_visualization/visualization.tsx
* revert useEffect for external embeddables
2021-08-31 11:51:54 +02:00
Alexey Antonov
6d874caef5
[Lens] should register "suffix" field formatter in setup lifecycle ( #110218 )
...
Closes : #106838
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-30 15:17:09 +03:00
Diana Derevyankina
b74c79ad32
[Lens] Remove deprecated IFieldType
( #109825 )
...
* [Lens] Remove deprecated `IFieldType`
* Fix types for terms.test
* Replace IndexPatternField with FieldSpec, revert terms.test and update other tests
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-30 13:39:17 +03:00
Alexey Antonov
3cc7da8435
[Lens] Inspect flyout should be available in editor mode. ( #109656 )
...
* [Lens] Inspect flyout should be available in editor mode.
* fix typo
* add test
* add functional tests for inspector
* toMatchInlineSnapshot -> toMatchSnapshot
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-26 10:18:09 -04:00
Liza Katz
268a279930
[Data][Es Query] Use ES types in Filters ( #108378 )
...
* es-query types
* jest and lint
* cc
* options
* type
* types for kuery FUNCTIONS
* doc
* types for filters
* sec fixes
* filtersss
* typey type
* typey type
* comparator options
* test typescript
* test
* fixes
* test types
* test
* cr
* cleanup a bit more
* Jest fix + types
* Remove geo bounding box and geo polygon filters
* delete geo filters
* geo
* geo
* Fix tests \_0_/
* doc
* types and fixes
* jests
* ts
* Remove geo bounding box and geo polygon filters
* delete geo filters
* delete geo filters
* geo
* remove geo docs
* ts
* plg ts
* types
* cast
* Update types.ts
* Update create_threat_signal.ts
* Update packages/kbn-es-query/src/es_query/migrate_filter.ts
Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
* Code review
* revert change
* docs
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
2021-08-24 11:28:22 +02:00
Marco Vettorello
958a3ba28a
fix(heatmap): remove duplicate legend items ( #109338 )
2021-08-20 17:09:22 +02:00
Tiago Costa
9c24e8f70f
chore(NA): moving @kbn/interpreter to babel transpiler ( #108512 )
...
* chore(NA): moving @kbn/interpreter to babel transpiler
* chore(NA): fix imports
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-20 11:50:40 +01:00
renovate[bot]
f21115f821
Update dependency @elastic/charts to v34 (master) ( #108766 )
...
* Update dependency @elastic/charts to v34
* tentative fix for heatmap legend items, to be fixed in patch before `7.15`
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Marco Vettorello <vettorello.marco@gmail.com>
Co-authored-by: nickofthyme <nick.ryan.partridge@gmail.com>
2021-08-17 21:05:23 -05:00
Patryk Kopyciński
754b79f08a
[Cases] Add Lens markdown plugin ( #96703 )
2021-08-17 15:49:44 -07:00
Stratoula Kalafateli
8939ee6c24
[Lens] Supports long legend values ( #107894 )
...
* [Lens] Supports multilines legend
* Add a truncate legends switch
* Add more unit tests
* Add tooltip condition
* Adress PR comments
* Apply PR comments
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-17 16:10:18 +03:00
Alexey Antonov
87ac80ec90
[Lens] Make lens_time_scale function to pick timezone from the context ( #108366 )
...
Part of: #97134
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-17 15:53:25 +03:00
Alexey Antonov
8d5c3c835c
[Lens] Fix when clicking "Save and Return" on a Lens visualization the visualization's description gets erased ( #108669 )
...
Closes : #107841
2021-08-17 09:38:11 +03:00
Marta Bondyra
e33daccca3
[Lens] Disable the global timepicker for index pattern without primary timefield and visualizations without timefield ( #108052 )
2021-08-13 18:24:00 +02:00
Devon Thomson
33f3933118
[Dashboard] [Embeddable] Add Ability to Defer Embeddable Loaded State ( #107227 )
...
Added defer embeddable loading flag to embeddable for embeddables which aren't finished loading after their constructor is finished
2021-08-12 17:43:57 -04:00
Marco Liberati
dc2a1e1cea
[Lens] Introduce new layer types ( #107791 )
2021-08-12 08:29:31 +02:00
Tim Sullivan
6563fad7be
[Reporting] implement content changes per feedback ( #108068 )
2021-08-11 13:13:40 -07:00
Alexey Antonov
82bec98cd7
[Lens] Register all expression functions to the server ( #107836 )
...
Part of: #97134
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-11 13:59:49 +03:00
Alexey Antonov
ee10819ef0
[Lens] fix do not submit invalid query in filtered metric ( #107542 )
...
* [Lens] Do not submit invalid query in filtered metric
Closes : #95611
* fix CI
* fix PR comments
* fix PR comments
* fix PR comment
* move closePopover to useCallback
* add filter validation to utils/isColumnInvalid
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-11 10:56:44 +03:00
Marta Bondyra
c5499c6592
[Lens] Redux selectors optimization ( #107559 )
2021-08-10 21:06:35 +02:00
Marco Liberati
778a1160f5
[Lens][Accessibility] Take into account background color for non opaque colors ( #107877 )
...
* 🐛 Take into account also background color if opaque
* ✅ Add tests for opaque colors
2021-08-10 10:48:03 +02:00
Alexey Antonov
6008b5ae55
[Lens] chore: remove dead code ( #107882 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-10 10:19:40 +03:00
Mikhail Shustov
5480c4d0f4
[Execution context] Add nested context support ( #107523 )
...
* Add nested context support
* remove execution context service on the client side
ExecutionContextContaier is not compatible with SerializableState, so I had to fall back to passing context as POJO. With this change, using a service looks like overhead.
* update docs
* fix test
* address comments from Josh
* put export back
* update docs
* remove outdated export
* use input.title for unsaved vis
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-10 08:53:40 +02:00
Anton Dosov
af3a976e17
[FieldFormats] Break from data
plugin ( #107173 )
2021-08-05 16:25:22 +02:00
Alexey Antonov
f62a0a1f76
[Lens] Synchronize cursor position for X-axis across all Lens visualizations in a dashboard ( #106845 )
...
* [Lens] Synchronize cursor position for X-axis across all Lens visualizations in a dashboard
Closes : #77530
* add mocks for active_cursor service
* fix jest tests
* fix jest tests
* apply PR comments
* fix cursor style
* update heatmap, jest
* add tests
* fix wrong import
* replace cursor for timelion
* update tsvb_dashboard baseline
* fix CI
* update baseline
* Update active_cursor_utils.ts
* add debounce
* remove cursor from heatmap and pie
* add tests for debounce
* return theme order back
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-04 22:20:03 +03:00
Marta Bondyra
bcb16c1b86
[Lens] moving store loading to middleware ( #106872 )
2021-08-03 18:37:15 +02:00
Stratoula Kalafateli
f27c94c118
[Lens] Updates UI terminology ( #106983 )
...
* [Lens] Update UI terminology
* Change the translation key
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-02 14:32:24 +03:00
Matthew Kime
a33039fc04
use IndexPattern instead of IIndexPattern ( #107225 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-02 05:12:24 -05:00
Stratoula Kalafateli
2a9d17c317
[Lens] Formats correctly the falsy values on the x axis ( #107134 )
...
* [Lens] Formats correctly the falsy values on the x axis
* Address PR comments
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-30 16:22:20 +03:00
Marta Bondyra
6ef6574823
[Lens] make the datatable content selectable
2021-07-30 11:39:17 +02:00
Michael Marcialis
4317dcb43d
[Lens] Focus Fixes for v8 Theme ( #106634 )
...
* set correct focus ring for each theme
* fix field and dimension button span faux focus
* fix dimension button focus
* add mixin to remove euiFocusRing
* clean up the mess
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-30 09:27:58 +02:00
Marta Bondyra
6da99f33e8
mocking canvas ( #107147 )
2021-07-30 09:25:56 +02:00