kibana/docs/user
Diana Derevyankina 33cfc4183a
[TSVB] Support custom field format (#101245)
* [TSVB] Support custom field format

Add format_label response processor for series vis data and bucket key formatting to process_bucket for table vis data

* Add ignore_field_formatting for series to support value formatting for all panel types except markdown

* Fix type issue for visData and rename getCustomFieldFormatter to createCustomFieldFormatter

* Update vis.test to cover custom field formats logic and add a migration script to set ignore_field_formatting to true for the series

* Move createCustomFieldFormatter to a separate file, make formatting respect only active metrics field name, refactor vis files and fix label formatting only for grouped by terms series

* Remove services, add getFieldFormatsService  to use it in format_label and get_table_data, replace getCustomFieldFormatter with createCustomFieldFormatter

* Update plugin.ts

* Update start for plugin.ts

* Add formatting for annotations and markdown values

* Refactor some code

* Update some naming and conditions

* Fix formatting of data type labels

* In process_bucket fix case for no getFieldFormatByName

* Add field formatting functional tests for all panel types

* Update tests to make them run correctly for firefox

* Update _tsvb_markdown test setup

* Move series ignoreFieldFormatting check to a separate file, change convertSeriesToVars signature, update migration script and refactor a bit functional tests

* Fix type check for timeseries_visualization.tsx

* Update migrations.js test expected version to 7.15

* Fix tests in _tsvb_chart.ts

* Fix merge conflict remove process_bucket.js

* Update process_bucket.test.ts

* Fix markdown labels formatting

* Add ignore_field_formatting for annotations, enhanced migration script to set that flag to true, refactor data_format_picker

* Fix migration script and add disabling for ignore component when string index pattern is used

* Add supporting URL and color formatters in tsvb table

* Fix eslint

* Remove ignore formatting component, add field formatting option to TSVB data format picker and make it default, remove migration script, update tests and refactor some files

* Fix failing tests, refactor create_field_formatter and add test to it, update some other files

* Fix series formatting for top hit when it has not numeric result

* Handle no fieldFormatMap case for table/vis.js

* Remove "Default" option form DataFormatPicker when index pattern is string, fix markdown variables issue and refactor some code

* Chore(TSVB): Replace aggregations lookup with map

* Fix types, update test expected data and remove unused translations

* Fix i18 check and useEffect in agg.tsx

* Handle aggregations field formatting case

* Fix agg_utils, vis and check_if_numeric_metric tests

* Correct typo and refactor condition in std_metric

* Fix type check

* Get rid of IFieldType

* Add URL and color formatting for topN and metric tabs, fix setting initial custom formatter and switching formatter in agg.tsx

* Update tsvb.asciidoc

* Remove link icon from Date format field help text, update click logic for top N in case of custom field format and fix CI

* Remove unused import

* Revert top N bar extra logic for click

* Refactor some code in agg.tsx

* Add URL and color formatting to Gauge

* Fix bug with terms formatting, refactor some code, update create_field_formatter

* Add comments to _gauge.scss

* Remove unnecessary await

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Uladzislau Lasitsa <Uladzislau_Lasitsa@epam.com>
2021-09-13 11:51:32 +03:00
..
alerting [Alerting][Docs] Add de-duplication example to ES query docs + update email docs wording (#111026) 2021-09-03 18:48:45 -04:00
dashboard [TSVB] Support custom field format (#101245) 2021-09-13 11:51:32 +03:00
graph [DOCS] Graph: updates text and screenshots (#106190) 2021-07-21 10:41:59 -07:00
images [DOCS] Intro doc--updates screenshots (#106185) 2021-07-21 10:03:44 -07:00
introduction/images Doc changes for stack management and grouped feature privileges (#80486) 2020-10-27 11:41:31 -04:00
ml [DOCS] Updates file data visualizer details (#107609) 2021-08-09 18:42:55 -07:00
monitoring Fix grammar on stack monitoring alerts modal (#109360) 2021-08-23 13:06:24 +09:00
production-considerations [Actions] Treat failures as successes for Task Manager (#109655) 2021-09-09 12:51:39 -04:00
reporting [Reporting] Added docs about the new ILM kibana-reporting policy (#108018) 2021-08-11 12:43:13 +02:00
security [DOCS] Remove Kibana TLS docs in favor of Stack docs (#106996) 2021-07-28 10:10:18 -04:00
api.asciidoc legacy dashboards import/export API: deprecation logs and usage data (#111283) 2021-09-08 16:15:52 -04:00
canvas.asciidoc [DOCS] Updates Canvas images for 7.14 (#106424) 2021-07-26 10:17:44 -05:00
dev-tools.asciidoc [DOCS] Uses variable to refer to query profiler (#90976) 2021-02-10 13:05:33 -08:00
discover.asciidoc [DOCS] Updates Discover docs (#110346) 2021-09-02 07:41:54 -07:00
index.asciidoc [DOCS] Updates to the Reporting docs (#101326) 2021-06-30 12:10:04 -05:00
introduction.asciidoc [DOCS] Intro doc--updates screenshots (#106185) 2021-07-21 10:03:44 -07:00
management.asciidoc [ML] Update intro text for ML in Stack Management (#108280) 2021-08-12 11:10:56 -07:00
plugins.asciidoc [DOCS] Adds redirect to known plugins page (#84001) 2020-11-30 10:44:26 -06:00
setup.asciidoc [DOCS] Updates to the Reporting docs (#101326) 2021-06-30 12:10:04 -05:00
whats-new.asciidoc [DOCS] Redirects for drilldown links (#83846) 2020-11-30 10:18:11 -06:00