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:

External Share Link Before:
http://localhost:38080/content/fac95de8-66f5-4cff-91b4-05596d09d769

will display header, subscribe.

After:
http://localhost:38080/content/fac95de8-66f5-4cff-91b4-05596d09d769?iframe=true
if query parameter exists iframe then we hide header and subscribe.

Attachments

ESFC-379- Ifram...
796.7 KiB

Linked issues

clones
Issue Type Icon ESFJ-271 Embedded mode (iframe) support Priority: Medium
Released

Activity

Krzysztof Bogdan 11 August 2023, 12:54

@Sagar Rawat Please test iframe feature inside iframe.

Sagar Rawat 11 August 2023, 12:37

@Krzysztof Bogdan @Parsa Shiva @Michał Błaszczykowski When iframe parameters are set to shared link. The main page is displayed correctly but when child pages are opened the URL is refreshed and iframe parameters are removed.

Automation for Jira 27 July 2023, 14:39

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, 14:39

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

Automation for Jira 27 July 2023, 10:25

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 26 July 2023, 16:34

@Michał Błaszczykowski code looks good

Automation for Jira 26 July 2023, 16:27

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.

Automation for Jira 25 July 2023, 10:27

Hello @Krzysztof Bogdan

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