Embedded mode (iframe) support

Description

If share link is in iframe, some page functionality will now work.
We can add options for share configuration that would make.
Embedded share link options:

  • Remove login
  • Remove subscribe
  • Remove header

For research, does/can it work in iframe:

  • Share protected by password
  • selected users

For testing:

For example:
https://jira.external-share.com/issue/c724493a-3381-4267-bb3e-30dca67edae9

will display header, subscribe.

but this link:
https://jira.external-share.com/issue/c724493a-3381-4267-bb3e-30dca67edae9?iframe=true
if query parameter exists iframe then we hide header and subscribe.

same for Board/filter/roadmap share

Linked issues

is cloned by
Issue Type Icon ESFC-379 Embedded mode (iframe) support Priority: Medium
Released

Activity

Automation for Jira 27 July 2023, 15:59

Hello @Michał Błaszczykowski,

Please merge code to dev branch.
This is the best moment to add more information that can be helpful to prepare release notes.

  • Can you prepare short overview of change that can be used in release notes?

  • Please provide short GIF that showcase feature.

  • If GIF make no sense, can you provide image that highlights feature that can be used in release notes (cropped & annotated)?

Sagar Rawat 27 July 2023, 15:59

@Michał Błaszczykowski Fix verified - QA environment.

Automation for Jira 27 July 2023, 08:39

Hello @Michał Błaszczykowski ]

This is the best moment to add more information that can be helpful for tester.

  • What areas are affected?

  • What are potential edge cases?

  • Was it checked for XSS problems?

  • Does change affect security, is new data exposed?

Please attach - Before / After screenshot if possible.

Kamil Zarychta 27 July 2023, 08:37

@Michał Błaszczykowski code looks good

Automation for Jira 26 July 2023, 13:06

Hello @Kamil Zarychta,
Task is ready for review.

@Michał Błaszczykowski please make sure reviewer
have easy access to contend to be reviewed.

If this is code change. Please make sure PR is created.
If this is new documentation, blogpost, etc. Please provide link to page.

Krzysztof Bogdan 25 July 2023, 08:28

Same logic for:
Board/filter/roadmap share

Krzysztof Bogdan 25 July 2023, 08:28

@Michał Błaszczykowski

Where to look:
SharePageController

Automation for Jira 25 July 2023, 08:22

Hello @Krzysztof Bogdan

This is the best moment to add more description, wire-frames, comments.
Why we doing this?
What is expected result?