Skip to content

Put embed param into short url instead of behind it#58846

Merged
flash1293 merged 2 commits intoelastic:masterfrom
flash1293:fix-embed-short-url
Mar 2, 2020
Merged

Put embed param into short url instead of behind it#58846
flash1293 merged 2 commits intoelastic:masterfrom
flash1293:fix-embed-short-url

Conversation

@flash1293
Copy link
Copy Markdown
Contributor

Fixes #50107

The embed param was put behind the short url which caused it to get lost during the redirect. I went back as far as 7.0 and it doesn't look like this ever worked as intended.

This change puts the embed parameter in the URL before it is shortened which will redirect it to the right place without the shortening service having any knowledge of the parameter.

@flash1293 flash1293 marked this pull request as ready for review February 28, 2020 10:36
@flash1293 flash1293 requested a review from a team February 28, 2020 10:36
@flash1293 flash1293 added the Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// label Feb 28, 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.

🎉

@flash1293
Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

History

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

@flash1293 flash1293 merged commit a6b166b into elastic:master Mar 2, 2020
@flash1293 flash1293 deleted the fix-embed-short-url branch March 2, 2020 19:14
flash1293 added a commit to flash1293/kibana that referenced this pull request Mar 2, 2020
gmmorris added a commit to gmmorris/kibana that referenced this pull request Mar 3, 2020
* master: (26 commits)
  [Endpoint] Alert Details Overview (elastic#58412)
  Service map language icons (elastic#58633)
  [SIEM] [Case] Comments to case view (elastic#58315)
  Remove appBasePath from docs + add mock for AppMountParameters (elastic#58775)
  [kbn/optimizer] fix ui/* url rewrites in dist (elastic#58627)
  Dashboard a11y tests (elastic#58122)
  Downgrade "setting up plugin" log to debug (elastic#58776)
  [CI] Pipeline refactoring (elastic#56447)
  [Advanced Settings] Fix a11y of unsaved indicator (elastic#58511)
  put params into short url instead of behind it (elastic#58846)
  show timepicker in timelion and tsvb (elastic#58857)
  improve graph missing workspace error message (elastic#58876)
  [Maps] direct Discover "visualize" to open Maps application (elastic#58549)
  Disallow duplicate percentiles (elastic#57444) (elastic#58299)
  removing references to visTypes uiExports (elastic#58337)
  [SIEM] Default the Timeline events filter to show All events (elastic#58953)
  [Remote clusters] Add indexManagement as required plugin (elastic#58915)
  [DOCS] Rework of main get started page (elastic#58260)
  [Endpoint] [Tests] fixes elastic#57946 flaky endpoint policy list test (elastic#58348)
  [Endpoint] add resolver middleware (elastic#58288)
  ...
gmmorris added a commit to gmmorris/kibana that referenced this pull request Mar 3, 2020
* master:
  Dashboard a11y tests (elastic#58122)
  Downgrade "setting up plugin" log to debug (elastic#58776)
  [CI] Pipeline refactoring (elastic#56447)
  [Advanced Settings] Fix a11y of unsaved indicator (elastic#58511)
  put params into short url instead of behind it (elastic#58846)
  show timepicker in timelion and tsvb (elastic#58857)
  improve graph missing workspace error message (elastic#58876)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:SharingURLs Short URLs and Share URL features release_note:fix Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// v7.7.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Embed Snapshot with Short URL, ?embed=true not working to remove header and nav drawer

4 participants