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

Jl/page decorations improvements #225

Merged
merged 14 commits into from
Apr 19, 2024
Merged

Conversation

jrlarano
Copy link
Contributor

@jrlarano jrlarano commented Mar 7, 2024

Note:
PageDecorations should be passed on applyHotspots to render its hotspost similar to normal hotspots

Eg:
bootstrapper.applyHotspots(sgnViewer, hotspots, sgnPageDecorations);

@jrlarano jrlarano requested review from mortenbo and klarstrup March 20, 2024 05:46
@jrlarano jrlarano marked this pull request as ready for review March 20, 2024 05:46
@jrlarano jrlarano requested a review from mortenbo March 20, 2024 11:53
@jrlarano jrlarano requested a review from mortenbo March 22, 2024 04:17
@jrlarano
Copy link
Contributor Author

Hi @mortenbo, can we merge this now?

@mortenbo
Copy link
Member

It's in prod now but I have one change needed: link and embed_link are now strings. So if embed_link is set, use that. If else link is set, use that.

Screenshot 2024-04-15 at 16 41 31

@jrlarano
Copy link
Contributor Author

@mortenbo here's how it should look like now 🙂

image

@mortenbo
Copy link
Member

@jrlarano Super, what about if link?

@jrlarano
Copy link
Contributor Author

Link is like this 🙂
image

@mortenbo
Copy link
Member

OK, great. We need to fix this: https://github.com/tjek/tjek-js-sdk/pull/225/files#diff-56e8833b30816a4984798688ef87a98d9e5093e18e1ba083ebe1446d64b54e9bR75. You need to set sandbox="allow-scripts allow-same-origin"

@mortenbo
Copy link
Member

Otherwise, it's fine to merge and deploy if @klarstrup agrees with the PR.

@mortenbo
Copy link
Member

@klarstrup Once deployed, I'd like to get this into Vizsla too.

@jrlarano jrlarano requested a review from klarstrup April 16, 2024 07:27
@mortenbo
Copy link
Member

Is this a regression?
Screenshot 2024-04-19 at 10 50 35

@klarstrup
Copy link
Member

no that test just sucks

@jrlarano jrlarano merged commit 1702e08 into develop Apr 19, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants