Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove srcDoc from <iframe/> #262

Merged
merged 1 commit into from
May 2, 2023
Merged

Conversation

williamputraintan
Copy link
Member

It turns out using srcDoc from <iframe/> need somehow isolation (based from quick googling), as with current implementation clicking a link from the html previewer will redirect to the parent link. Reproducible by clicking a link from the HTML previewer (say from a multiqc.html) in stg or prod.

Since umccr/data-portal-apis#581 has been done, will reimplement this to the original solution.

@victorskl
Copy link
Member

Just quick note, I will review soon; after closing current hot-fix #257 update to PROD. It seems this is minor; so we shall target it to next release, roughly.

@williamputraintan
Copy link
Member Author

Just quick note, I will review soon; after closing current hot-fix #257 update to PROD. It seems this is minor; so we shall target it to next release, roughly.

Can we make this as the next hot-fix too? I am categorising this as a bug since it is not supposed to happen, and it broke the preview functionality.

@victorskl
Copy link
Member

it broke the preview functionality

Ah. Ok, let push it through then.

@victorskl victorskl added this to the Release 2.1 milestone May 2, 2023
@williamputraintan williamputraintan merged commit 1b3a4ff into dev May 2, 2023
@williamputraintan williamputraintan deleted the remove-iframe-srcdoc branch May 2, 2023 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants