Skip to content

[Dashboard First] Use App Title for Display Instead of App Id#75457

Merged
ThomThomson merged 6 commits intoelastic:masterfrom
ThomThomson:fix/i18nizedOriginatingApp
Aug 20, 2020
Merged

[Dashboard First] Use App Title for Display Instead of App Id#75457
ThomThomson merged 6 commits intoelastic:masterfrom
ThomThomson:fix/i18nizedOriginatingApp

Conversation

@ThomThomson
Copy link
Copy Markdown
Contributor

@ThomThomson ThomThomson commented Aug 19, 2020

Summary

Closes #75376

Added a method to fetch an app's title when given its id, to properly display a string for originating app anywhere it's needed. This PR also replaces instances where the raw id was displayed with the proper title.

Screen Shot 2020-08-19 at 12 03 40 PM

Screen Shot 2020-08-19 at 12 04 07 PM

For maintainers

@ThomThomson ThomThomson added Feature:Embedding Embedding content via iFrame release_note:fix Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// labels Aug 19, 2020
@ThomThomson ThomThomson requested a review from a team August 19, 2020 16:11
@ThomThomson ThomThomson requested review from a team as code owners August 19, 2020 16:11
@ThomThomson ThomThomson self-assigned this Aug 19, 2020
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

Copy link
Copy Markdown
Contributor

@majagrubic majagrubic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested in Chrome on Mac OS X, works well!

@ThomThomson ThomThomson changed the title Fix/i18nized originating app [Dashboard First] Use App Title for Display Instead of App Id Aug 19, 2020
@ThomThomson ThomThomson force-pushed the fix/i18nizedOriginatingApp branch from 9e6451b to b5106b4 Compare August 19, 2020 16:54
Copy link
Copy Markdown
Contributor

@nreese nreese left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maps changes LGTM
code review

Copy link
Copy Markdown
Contributor

@lukeelmers lukeelmers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM

nit - it would be nice if we could add a unit test for getAppNameFromId

@ThomThomson ThomThomson force-pushed the fix/i18nizedOriginatingApp branch from d459355 to 59871e5 Compare August 20, 2020 15:02
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Build metrics

async chunks size

id value diff baseline
lens 25.2KB +121.0B 25.1KB
maps 3.3MB +100.0B 3.3MB
visualize 694.0KB +123.0B 693.8KB
total +344.0B

page load bundle size

id value diff baseline
embeddable 429.4KB +632.0B 428.7KB
savedObjects 237.4KB +43.0B 237.3KB
total +675.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@ThomThomson ThomThomson merged commit eba4827 into elastic:master Aug 20, 2020
ThomThomson added a commit to ThomThomson/kibana that referenced this pull request Aug 20, 2020
…c#75457)

Created app title fetch method in embeddable_state_transfer. Used it instead of the raw app id in a number of places.
ThomThomson added a commit that referenced this pull request Aug 21, 2020
#75580)

Created app title fetch method in embeddable_state_transfer. Used it instead of the raw app id in a number of places.
thomasneirynck pushed a commit to thomasneirynck/kibana that referenced this pull request Aug 21, 2020
…c#75457)

Created app title fetch method in embeddable_state_transfer. Used it instead of the raw app id in a number of places.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:Embedding Embedding content via iFrame release_note:fix Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// v7.10.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Originating app string in save modal is not Internationalized

6 participants