This repository has been archived by the owner on Mar 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hmhealey
reviewed
Nov 15, 2021
M-ZubairAhmed
approved these changes
Nov 17, 2021
hmhealey
approved these changes
Nov 23, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool. I'm all for exporting less stuff to plugins since it's less stuff for us to have to support while we get a better system figured out for it 😀
Is this something we'd want QA to test? We could defer QA testing for it, but I think that requires a Jira ticket so that QA know they have something to test |
@hmhealey yes, I think at least we should test the case where the user open a PDF file preview. |
Thanks @jespino |
jgilliam17
approved these changes
Nov 29, 2021
/update-branch |
Test server destroyed |
1 similar comment
Test server destroyed |
cleferman
pushed a commit
to cleferman/mattermost-webapp
that referenced
this pull request
Dec 21, 2021
* Lazy loading pdf.js library * Removing pdfjs lib from plugins/export Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
3: QA Review
Requires review by a QA tester
Changelog/Not Needed
Does not require a changelog entry
Docs/Not Needed
Does not require documentation
release-note-none
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This adds lazy loading to the pdf.js library, that is used only for previewing pdf but it is a heavy library. Also it changes how is exposed to the plugins to make it lazy.
Ticket Link
MM-40323
Release Note