Commit graph

6 commits

Author SHA1 Message Date
Tyler Smalley c16480e849
[7.x][DX] Upgrade prettier to v2.4.0 (#112359) (#112524)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-19 22:34:46 -07:00
Kibana Machine 4ca503295b
Redirect endpoint compression (#111471) (#112451)
* add ability to lz-encode redirect url params

* move redirect param utils to /common

* improve error message

* add getRedirectUrl() to locators

* wire in version into locator redirect method

* make redirect url default to compressed

* fix typescript errors

* pass throuh initialization context to share plugin

* fix test mocks

* improve locators mocks usage

* fix typescript types

* use getRedirectUrl in example plugin

* make redirect url options optional

* add locator tests

* deprecate geturl

* load redirect app UI on demand

Co-authored-by: Vadim Kibana <82822460+vadimkibana@users.noreply.github.com>
2021-09-16 15:15:08 -04:00
Stacey Gammon 5e719ed1ef
Add more information on kibana.json properties, update example plugins (#107600) (#110261)
* Add more information on kibana.json properties, update example plugin kibana.jsons

* fix auto save fix

* Update anatomy_of_a_plugin.mdx

* Update anatomy_of_a_plugin.mdx

* update based on review comments

* Update anatomy_of_a_plugin.mdx

* Put kibanaVersion back and adjust the explanations of the fields

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	dev_docs/key_concepts/anatomy_of_a_plugin.mdx

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-26 17:36:17 -04:00
Spencer 79e45f2190
[build_ts_refs] improve caches, allow building a subset of projects (#107981) (#108139)
* [build_ts_refs] improve caches, allow building a subset of projects

* cleanup project def script and update refs in type check script

* rename browser_bazel config to avoid kebab-case

* remove execInProjects() helper

* list references for tsconfig.types.json for api-extractor workload

* disable composite features of tsconfig.types.json for api-extractor

* set declaration: true to avoid weird debug error

* fix jest tests

Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
#	.gitignore
#	examples/hello_world/tsconfig.json
#	tsconfig.json
#	tsconfig.refs.json

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-11 05:08:54 -04:00
Kibana Machine 15302f511a
Redirect endpoint (#103899) (#104412)
* feat: 🎸 add redirect endpoint app

* feat: 🎸 improve spinner design

* feat: 🎸 implement basic version of redirect endpoint

* feat: 🎸 render errors for user on the screen

* feat: 🎸 improve error message display

* feat: 🎸 improve error display

* feat: 🎸 improve locator errors

* feat: 🎸 improve errors

* feat: 🎸 improve persistable state types

* feat: 🎸 implement migrateToLatest function

* feat: 🎸 migrate locator params to the latest in redirect endp

* Update src/plugins/kibana_utils/common/persistable_state/migrate_to_latest.ts

* refactor: 💡 make Versioned state be an object

* fix: 🐛 use new VersionedState interface in redirect endpoint

* refactor: 💡 move parseSearchParams into a separate function

* feat: 🎸 implement redirect URL formatter

* feat: 🎸 export redirect URL parsing and formatting functions

* refactor: 💡 use relative import

* test: 💍 add example links through redirect endpoint

* test: 💍 use updated VersionedState type

* test: 💍 add redirect manager tests

* feat: 🎸 add redirect endpoint app to common schema

* chore: 🤖 update telemetry schema

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Vadim Dalecky <streamich@gmail.com>
2021-07-06 09:06:19 -04:00
Vadim Dalecky 8d1c01d2f3
Locator docs (#103129) (#103551)
* feat: 🎸 add locator_examples plugin

* feat: 🎸 add example app in locator_examples

* feat: 🎸 add locator_explorer plugin

* chore: 🤖 remove url_generaotrs_* example plugins

* docs: ✏️ update share plugin readme

* docs: ✏️ add locators readme

* docs: ✏️ update docs link in example plugin

* docs: ✏️ update navigation docs

* fix: 🐛 make P extend SerializableState

* test: 💍 update test mocks

* fix: 🐛 use correct type in ingest pipeline locator

* test: 💍 add missing methods in mock

* test: 💍 update test mocks

* chore: 🤖 update plugin list

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	examples/locator_examples/kibana.json
2021-06-28 17:50:41 -04:00