Skip to content

Don't load text file preview when text app is available (Fixes: #20615) - #20629

Merged
rullzer merged 1 commit into
nextcloud:masterfrom
mejo-:files_sharing_preview_text
May 15, 2020
Merged

Don't load text file preview when text app is available (Fixes: #20615)#20629
rullzer merged 1 commit into
nextcloud:masterfrom
mejo-:files_sharing_preview_text

Conversation

@mejo-

Copy link
Copy Markdown
Member

When opening a shared text document, the files_sharing app uses
internal preview support in case no other app to open the text file is
available.

So far, it only checks for the old files_texteditor app, not for the new
new text app. This commit fixes this by checking for both.

Comment threadapps/files_sharing/js/public.js Outdated
…loud#20615)
When opening a shared text document, the files_sharing app uses
internal preview support in case no other app to open the text file is
available.
So far, it only checks for the old files_texteditor app, not for the new
new text app. This commit fixes this by checking for both.
Signed-off-by: Jonas Meurer <jonas@freesources.org>
@mejo-
mejo-force-pushed the files_sharing_preview_text branch from 9d23736 to afeeb1eCompareApril 24, 2020 09:14
@rullzerrullzer added 3. to review Waiting for reviews and removed 2. developing Work in progress labels May 7, 2020
@rullzer
rullzer requested review from gary-kim and kesselbMay 7, 2020 18:40

@gary-kimgary-kim left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@gary-kim

Copy link
Copy Markdown
Member

/backport to stable18

@juliusknorrjuliusknorr added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels May 15, 2020
@rullzerrullzer added this to the Nextcloud 20 milestone May 15, 2020
@rullzer
rullzer merged commit 91a2d5e into nextcloud:masterMay 15, 2020
@welcome

welcomeBot commented May 15, 2020

Copy link
Copy Markdown

Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22

@rullzer

Copy link
Copy Markdown
Member

/backport to stable19

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finishbugfeature: previews and thumbnailsfeature: sharing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@mejo-@gary-kim@rullzer@georgehrke@juliusknorr@kesselb@skjnldsv@MorrisJobke