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

Use Viewer also in public pages for a single share #811

Merged

Conversation

danxuliu
Copy link
Member

When the PDF viewer was opened in public pages for a single share the UI was directly injected. Now the Viewer is open instead, which loads the PDFView component and thus ensures that it will be used in all cases in which the PDF viewer is used.

Note that a fallback was left to directly inject the UI if the Viewer was not found, although this should not happen.

When the PDF viewer was opened in public pages for a single share the UI
was directly injected. Now the Viewer is open instead, which loads the
PDFView component and thus ensures that it will be used in all cases in
which the PDF viewer is used.

Note that a fallback was left to directly inject the UI if the Viewer
was not found, although this should not happen.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
Copy link
Collaborator

@szaimen szaimen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks sane to me but could still not test this because the uploader feature is still missing due to F2V.

@danxuliu danxuliu merged commit 46675db into master Oct 9, 2023
17 checks passed
@delete-merged-branch delete-merged-branch bot deleted the use-viewer-also-in-public-pages-for-a-single-share branch October 9, 2023 02:04
@danxuliu danxuliu mentioned this pull request Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants