Skip to content

Comments

Hide preview if it is in full screen mode (viewer is open)#31408

Merged
skjnldsv merged 1 commit intomasterfrom
enh/sidebar-preview-viewer
Mar 2, 2022
Merged

Hide preview if it is in full screen mode (viewer is open)#31408
skjnldsv merged 1 commit intomasterfrom
enh/sidebar-preview-viewer

Conversation

@juliusknorr
Copy link
Member

This PR hides the sidebar preview image if a file is opened in the viewer (alias fullscreen mode in the viewer/sidebar code base). In those cases it will fall back to the compact mode to avoid having a thumbnail next to the actual file which is already displayed.

Screenshots from text, but this applies to all file types that use viewer:

Before

Screenshot 2022-03-02 at 15 02 22

After

Screenshot 2022-03-02 at 15 02 29

This came up in multiple discussions with @jancborchardt and I think at some point it was already the case with older Nextcloud versions.

Copy link
Member

@jancborchardt jancborchardt left a comment

Choose a reason for hiding this comment

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

Nice! :)

Copy link
Member

@CarlSchwan CarlSchwan left a comment

Choose a reason for hiding this comment

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

Make sense :)

Copy link
Member

@skjnldsv skjnldsv left a comment

Choose a reason for hiding this comment

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

Nice! Definitely a regression! 🚀

@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Mar 2, 2022
@skjnldsv skjnldsv merged commit fd5f748 into master Mar 2, 2022
@skjnldsv skjnldsv deleted the enh/sidebar-preview-viewer branch March 2, 2022 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish design Design, UI, UX, etc. enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants