Commit graph

57 commits

Author SHA1 Message Date
Kaarina Tungseth 532145b418
[DOCS] Add s an example for Timelion yaxis function (#96429) 2021-04-07 10:26:34 -05:00
Lisa Cawley e285c7c214
[DOCS] Adds deprecation admonitions (#95847) 2021-03-31 14:36:48 -07:00
Marta Bondyra ace1efcd98
[Lens] (Docs) fix quality of images from advanced guide (#95629)
* correct quality of docs images

* no amsterdam
2021-03-29 20:35:17 +02:00
Kaarina Tungseth 523cc3984a
[DOCS] Fixes Timelion link (#95168) 2021-03-23 09:49:33 -05:00
Kaarina Tungseth 0e81121495
[DOCS] Reformats Dashboard and adds Lens reference (#89615)
* [DOCS] Reformats Dashboard and adds Lens reference

* ⚗️ First trial of Lens FAQ

* Fixes broken title levels

* Link fix

* Fixes tsvb link

* Fixes tsvb link

* [DOCS] Reformats Dashboard and adds Lens reference

* ⚗️ First trial of Lens FAQ

* Fixes broken title levels

* Link fix

* Fixes tsvb link

* Fixes tsvb link

* [Lens] Add drag and drop keyboard navigation docs

* remove unlinked files

* [Lens] tutorial advanced first version

* corrections

* Kaarinas changes

* corrections after CR

* Update docs/user/dashboard/lens-advanced.asciidoc

* 📝 Add more Lens related FAQ

* Updates Lens page

* Update docs/user/dashboard/lens.asciidoc

* drag and drop copy and gif

* some corrections after Wylie's second review

* Review comments

* Final changes

* Update lens-advanced.asciidoc

ordering fixed

* Comment organization

* Final clean up

Co-authored-by: dej611 <dej611@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marta Bondyra <marta.bondyra@elastic.co>
Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>
2021-03-18 14:21:27 -05:00
Kaarina Tungseth ae1f284118
[DOCS] TSVB updates for 7.12 (#93317)
* [DOCS] TSVB updates for 7.12

* Fixes formatting

* Clean up

* Review comments

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Review comments

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
2021-03-15 09:48:09 -05:00
Kaarina Tungseth 30b03aaca0
[DOCS] Adds the 7.12.0 dashboard features (#93687)
* [DOCS] Adds the features for 7.12

* Feature changes

* Review comments

* Adds Switch to view mode
2021-03-11 16:20:45 -06:00
Kaarina Tungseth d5e4a2ae7d
[DOCS] Changes Visualize to Visualize Library (#93055)
* [DOCS] Changes Visualize to Visualize Library

* Review comments

* Review comment

* Removes background in embed-kibana.png
2021-03-08 13:44:30 -06:00
Vadim Dalecky 99929433a4
Remove "beta" label from URL Drilldown as it is now GA (#92859)
* fix: 🐛 remove "beta" label from URL Drilldown as it is now GA
2021-03-01 12:54:07 +01:00
Kaarina Tungseth e980ee4740
[DOCS] Updates reporting and Canvas share options (#92529)
* [DOCS] Updates reporting and Canvas share options

* Update docs/canvas/canvas-share-workpad.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Resizes images and minor text edits

* Updates dashboard embed content

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-02-24 09:54:28 -06:00
Stratoula Kalafateli c9f7c2e77b
[Vislib] Use timestamp on brush event instead of iso dates (#91483)
* [Vislib] Use timestamp on brush event instead of iso dates

* Fix functional test and update documentation

* Update documentation

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-17 12:35:55 +02:00
Wylie Conlon be17efd704
[Docs] Add note about TSVB axis scaling (#91211)
* [Docs] Add note about TSVB axis scaling

* Apply suggestions
2021-02-16 11:40:22 -05:00
Vadim Dalecky 8ed1c3ca3e
Url template editor (#88577)
* feat: 🎸 set up Storybook for URL template editor

* feat: 🎸 add basic syntax highlighting

* feat: 🎸 add autocompletion example

* feat: 🎸 add Handlebars language

* fix: 🐛 first register language

* feat: 🎸 add url and handlebars language parsing

* feat: 🎸 use simple Handlebars language

* refactor: 💡 move <VariablePopover> to a separate file

* feat: 🎸 add Monaco editor to URL drilldown

* feat: 🎸 remove editor line numbers

* feat: 🎸 allow user to provide Handlebars variables

* feat: 🎸 wire in URL drilldown variables into Monaco editor

* feat: 🎸 add metadata to event level variables

* feat: 🎸 allow to specify Handlebars variable kind

* feat: 🎸 add global variables to autocompletion

* refactor: 💡 restructure event and context variable code

* feat: 🎸 sort variables by scope group

* feat: 🎸 add meta information to context variables

* docs: ✏️ use correct variable labels

* feat: 🎸 fix component demo props

* feat: 🎸 improve highlighting of URL parts

* feat: 🎸 improve syntax highlighting colors

* feat: 🎸 improve highlighting colors

* feat: 🎸 add color to url query parameter key

* feat: 🎸 improve visual layout url editor

* feat: 🎸 highlight URL slashes with light color

* feat: 🎸 connect URL editor to state

* feat: 🎸 tweak URL parameter colors

* feat: 🎸 improve URL schema color

* feat: 🎸 insert variables on click in variable dropdown

* fix: 🐛 fix unit tests and translation

* test: 💍 fix drilldown tests after refactor

* feat: 🎸 add dark mode support to URL template editor

* test: 💍 fix URL drilldown test after adding dark mode support

* fix: 🐛 use text color which can be converted to dark mode

* test: 💍 fill in URL template in monaco editor

* fix: 🐛 fix translation key

* chore: 🤖 update license headers

* chore: 🤖 update license headers

* feat: 🎸 preview values of global variables

* feat: 🎸 preview values of context variables

* chore: 🤖 fix url editor Storybook config

* fix: 🐛 make translation key unique

* feat: 🎸 stop Esc key propagation in URL editor

* feat: 🎸 reduce editor height

* feat: 🎸 set example URL once URL drilldown is created

* feat: 🎸 add word wrapping to URL editor

* feat: 🎸 use EUI variable in SCSS

* feat: 🎸 add "Example: " prefix to default template

* feat: 🎸 do not insert extra brackets

* feat: 🎸 make URL param values same color as text

* perf: ️ make URL drilldown config component lazy loaded

* test: 💍 remove default URL drilldown template

* fix: 🐛 disable autocompletion popup while typing

* style: 💄 don't use "Example: " prefix in default URL
2021-02-15 18:24:58 +01:00
Alexey Antonov 644bcbccd4
[Vega] Restores signal values on refresh (#90774)
* Vega kibanaAddFilter() Resets Signal Values Back to Default

Closes: #88976

* fix ci

* introduce restoreSignalValuesOnRefresh option

* update docs
2021-02-12 10:55:38 +03:00
Alexey Antonov 19543d8d3c
[Vega] user should be able to set a specific tilemap service using the mapStyle property (#88440)
* [Vega] user should be able to set a specific tilemap service using the mapStyle property

* Update vega-reference.asciidoc

* fix PR comments

* rename mapStyle -> emsTileServiceId

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-09 13:51:12 +03:00
Kaarina Tungseth 7a2b7550c9
[DOCS] Fixes Dashboard formatting (#90485)
* [DOCS] Fixes Dashboard formatting

* Fixes the semi-structured search example

* Update docs/user/dashboard/dashboard.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
2021-02-08 15:10:23 -06:00
Thomas Neirynck 7593cf7ea5
[Vega] use %type% in docs (#89453) 2021-01-28 11:04:23 -05:00
Stratoula Kalafateli 0abf45fcf1
[Vega Docs] Add experimental flag on the vega maps title (#89402)
* [Vega Docs] Add experimental flag on the vega maps title

* Add the experimental warning on the initial paragraph of vega maps to be more visible
2021-01-27 17:03:44 +02:00
Kaarina Tungseth e3063f6934
[DOCS] Dashboard docs refresh for 7.11 (#85342)
* [DOCS] 7.11 Dashboard docs refresh

* [Lens] end to end guide

* Fixes to writer errors

* Fixes errors

* Fixes error

* errors

* small corrections in e2e

* Introduction, CSV download, and end-to-end guide

* End-to-end guide

* End-to-end guide and intro

* Fixes broken external links

* Update docs/user/dashboard/dashboard.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/user/dashboard/dashboard.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/user/dashboard/dashboard.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/user/dashboard/lens-end-to-end/lens-end-to-end.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/user/dashboard/lens-end-to-end/lens-end-to-end.asciidoc

Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>

* Update docs/user/dashboard/lens-end-to-end/lens-end-to-end.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/user/dashboard/lens-end-to-end/lens-end-to-end.asciidoc

Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>

* Review comments

* Review comments and Vega

* Vega tutorials

* Timelion changes

* Bug fixes and clean up

* Introduction

* Clean up

* Link fixes

* Broken links

* Fixes Timelion link

* Minor intro changes

* Fixes Timelion link

* Vega changes

* Add reference content, and move Lens docs to their own page

* Update from review

* Review comments

* Link fixes

* Clean up

Co-authored-by: Marta Bondyra <marta.bondyra@elastic.co>
Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
Co-authored-by: Marta Bondyra <marta.bondyra@gmail.com>
2021-01-19 17:05:08 -06:00
Vadim Dalecky b4820a7f79
URL Drilldown global allow-list user docs (#88574)
* docs: ✏️ improve disalbe url drillown text

* docs: ✏️ add external URL service docs to URL drilldown

* docs: ✏️ typo

* docs: update docs
2021-01-18 17:38:35 +01:00
Nathan Reese 039b2ff052
[Docs] clean-up vega map reference documenation (#88487)
* [Docs] clean-up vega map reference documenation

* Update docs/user/dashboard/vega-reference.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-01-15 12:45:51 -07:00
Vadim Dalecky 5591e00717
URL encoding for URL drilldown (#86902)
* feat: 🎸 use EuiSwitch for "Open in new window" toggle

* feat: 🎸 add "URL encoding" option and "Additional options"

* feat: 🎸 make "Open in new window" true by default

* feat: 🎸 respect encoding config setting

* test: 💍 add encoding tests

* feat: 🎸 add URI encoding Handlebars helpers

* docs: ✏️ add URL encoding methods to URL Drilldown docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-04 13:56:21 +01:00
Joe Reuter 57a72a78f7
[Lens] Configurable color syncing (#86180) 2020-12-22 17:35:27 +01:00
Marco Liberati 56ad415d14
[Lens] Document the "Other" entry in data summaries in Kibana guide (#85575)
* 📝 Address Other entry in data summaries

* 👌 Integrated feedback from review

* 📝 Add not about going beyong 100% with array values

* 👌 Improved documentation for summaries

* 👌 Improved documentation for data summaries covering discussed aspects by type and hardcoded stat values

* Update docs/user/dashboard/dashboard.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/user/dashboard/dashboard.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/user/dashboard/dashboard.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
2020-12-15 18:50:03 +01:00
Vadim Dalecky b01a327076
Row trigger 2 (#83167)
* feat: 🎸 add ROW_CLICK_TRIGGER

* feat: 🎸 wire row click event to UI Actions trigger in Lens

* feat: 🎸 add row click trigger to url drilldown

* feat: 🎸 add datatable to row click context

* feat: 🎸 pass in row index in row click trigger context

* feat: 🎸 add columns to row click trigger context

* feat: 🎸 fill values and keys event scope array

* feat: 🎸 generate correct row scope variables

* fix: 🐛 report triggers from lens embeddable

* feat: 🎸 add sample preview for row click trigger

* feat: 🎸 remove url drilldown preview box

* chore: 🤖 remove mock variable generation functions

* feat: 🎸 generate context and global variable lists

* feat: 🎸 preview event variable list

* feat: 🎸 show empty url error on blur

* feat: 🎸 add ability to always show popup for executed actions

* refactor: 💡 rename multiple action execution method

* fix: 🐛 don't add separator befor group on no main items

* feat: 🎸 wire in uiActions service into datatable renderer

* feat: 🎸 check each row if it has compatible row click actions

* feat: 🎸 allow passing data to expression renderer

* feat: 🎸 add isEmbeddable helper

* feat: 🎸 pass embeddable to lens table renderer

* feat: 🎸 hide lens table row actions which are empty

* feat: 🎸 re-render lens embeddable when dynamic actions chagne

* feat: 🎸 hide actions column if there are no row actions

* feat: 🎸 re-render lens embeddable on view mode chagne

* fix: 🐛 fix TypeScript errors

* chore: 🤖 fix TypeScript errors

* docs: ✏️ update auto-generated docs

* feat: 🎸 add hasCompatibleActions to expression layer

* feat: 🎸 remove "data" from expression renderer handlers

* fix: 🐛 fix TypeScript errors

* test: 💍 fix Jest tests

* docs: ✏️ update autogenerated docs

* fix: 🐛 wrap event payload into data

* test: 💍 add "alwaysShowPopup" test

* chore: 🤖 add comment requested in review

https://github.com/elastic/kibana/pull/83167#discussion_r537340216

* test: 💍 add hasCompatibleActions test

* test: 💍 add datatable renderer test

* test: 💍 add Lens embeddable input change tests

* test: 💍 add embeddable row click test

* fix: 🐛 add url validation

* test: 💍 add url drilldown tests

* docs: ✏️ remove url drilldown preview from docs

* docs: ✏️ remove preview from url templating

* docs: ✏️ add row click description

* chore: 🤖 move 36.5 KB bundle balance to url_drilldown

* test: 💍 simplify test case

* style: 💄 change types places

* refactor: 💡 clean up panel variable generation

* test: 💍 add getPanelVariables() tests

* fix: 🐛 generate runtime variables correctly

* fix: 🐛 improve getVariableList() and add tests for it

* feat: 🎸 add translation, improve types
2020-12-14 13:28:23 +01:00
Kaarina Tungseth 516d886c3e
Revert "[Docs] [Lens] End to end guide" (#85339) 2020-12-08 14:57:22 -06:00
KOTungseth ede4591a5a Fixes to writer errors 2020-12-08 13:04:58 -06:00
Marta Bondyra b4249d216c [Lens] end to end guide 2020-12-08 17:07:50 +01:00
KOTungseth 0668571182 Merge branch 'docs/dashboard' of https://github.com/KOTungseth/kibana into KOTungseth-docs/dashboard 2020-12-07 12:00:21 -06:00
KOTungseth cd050f37da Fixes conflicts 2020-12-07 11:42:44 -06:00
KOTungseth 0c1effe7bf Fixes conflict 2020-12-07 11:29:02 -06:00
KOTungseth 1cc2986353 Fixes conflict 2020-12-07 11:11:53 -06:00
KOTungseth 865824bb87 [DOCS] 7.11 Dashboard docs refresh 2020-12-03 16:52:20 -06:00
Marco Liberati 17d986e499
[Embeddable] Export CSV action for Lens embeddables in dashboard (#83654)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-03 10:46:51 +01:00
Kaarina Tungseth 480a99381d
[DOCS] Redirects for drilldown links (#83846)
* Fixes lGo to URL links

* Fixes links pt 2

* Added redirects

* Added Lens and reformatted redirects

* Removed lens and fixed broken links

* Fixes to URL drilldowns link

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-30 10:18:11 -06:00
Diana Derevyankina fc9c19574e
[Vega] Tutorials should be updated to include new inspector (#83797)
* [Vega] Tutorials should be updated to include new inspector

* Revert unnecessary changes

* Add titles to the screenshots. paste the link to vega inspector and remove experimental caption

* Update some captions

* Update docs/user/dashboard/tutorials.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
2020-11-24 15:51:06 +03:00
Nathan Reese 658ecb6c8a
[maps] support URL drilldowns (#83732)
* url drilldowns

* onSingleValueTrigger

* cleanup

* tslint

* revert changes to ui_actions_service

* remove unused method added to es_tooltip_property

* remove unused file

* update drilldown docs to reflect maps supports URL drilldowns

* add functional test case for URL drilldown

* do not show URL drilldowns in geometry filter action selection

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-20 15:35:55 -07:00
Kaarina Tungseth 7fc5d1d9a5
[DOCS] Fixes handlebar links in URL drilldowns (#83177)
* [DOCS] Fixes handlebar links in URL drilldowns

* And another one
2020-11-11 09:59:23 -06:00
Kaarina Tungseth 1b86d79319
[DOCS] Consolidates drilldown pages (#82081)
* [DOCS] Consolidated drilldowns

* Review comments pt 1

* Update docs/user/dashboard/drilldowns.asciidoc

Co-authored-by: Anton Dosov <dosantappdev@gmail.com>

* Fixes supported drilldowns link

* Update src/core/public/doc_links/doc_links_service.ts

Co-authored-by: Anton Dosov <dosantappdev@gmail.com>

* Fixes rogue disable section and fixes intro formatting

* Fixes URL drilldown link

Co-authored-by: Anton Dosov <dosantappdev@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-10 09:11:21 -06:00
Stratoula Kalafateli e2f0f94a49
Replace handlebars documentation link (#82247)
* Replace handlebars documentation link]

* Replace handlebars helpers link with an es one
2020-11-02 18:23:36 +02:00
Kaarina Tungseth c77619352b
[DOCS] 7.10 Core UI changes (#80407)
* [DOCS] 7.10 screenCore UI changes

* Kibana access options

* Removed Kibana from Set up Kibana

* Removed rogue symbols

* Update docs/spaces/index.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/management/managing-beats.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Review comments

* Update docs/user/introduction.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Review comments

* Changed menu to main menu

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2020-10-22 09:06:51 -05:00
gchaps 32e54bbbdd
[DOCS] Fixes errors in KQL examples (#81223) 2020-10-21 08:41:22 -07:00
Anton Dosov 9aa4b4de1a
[Drilldows] Url Drilldown basic template helpers (#80500) 2020-10-19 17:41:35 +02:00
Alexey Antonov f68e0a36d5
[Vega] user should be able to toggle "textTruncate" option for tooltips (#80524)
* [Vega] user should be able to override the default tooltip width

Closes: #80325

* fix jest

* fix PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-19 17:07:10 +03:00
Kaarina Tungseth a8b5e9f245
[DOCS] Adds quick start (#78822)
* [DOCS] Getting started refresh

* Dashboard changes

* Discover and Dashboard changes

* [DOCS] Adds quick start

* Redirects

* Redirects pt 2

* Redirects pt

* More redirect issues

* Removed second chunk of KQL tasks

* Review comments
2020-10-08 15:16:26 -05:00
Kaarina Tungseth 8bea1727e7
[DOCS] Canvas refresh for 7.10 (#80017) 2020-10-08 12:04:59 -05:00
Kaarina Tungseth 9a58893428
[DOCS] Refreshes Lens docs for 7.10 (#79684)
* [DOCS] Refreshes Lens docs for 7.10

* Compresses png files
2020-10-06 11:38:55 -05:00
Alexey Antonov 4db22034d7
[Vega] Maps still experimental (#79114)
* [Vega] Maps still experimental

* fix TS issues

* cleanup

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-05 12:29:51 +03:00
Wylie Conlon d4a9b4bc0b
[Vega] Fix unexpected change in autosizing behavior post upgrade (#77408)
* [Vega] Fix unexpected change in autosizing behavior post upgrade

* Add docs

* Fix type issues

* Fix i18n and snapshot

* Fix snapshot?

* Fix time in snapshot

* Update style of sizing function
2020-10-01 11:30:21 -04:00
Anton Dosov addbdf7cb6
[Drilldowns][Docs] Communicate the visualization types that support drilldowns (#78761) 2020-10-01 10:29:51 +02:00