-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Add large sidebar previews for text files #306
Conversation
Just a small detail: since it's text, it should have some margin to the sides unlile images. (My computer is in repair today, can't do it. :( Just give it the same amount of margin/padding the content below it has.) |
I will do. |
Can we get rid of the excess whitespace below if the text file is short? Looks good otherwise! |
I will give this a try. |
👍 from me for the actual feature |
👍 |
1 similar comment
👍 |
THX. |
Great work everyone! :) |
Before:
After:
Instead of showing a small, unreadable image of the text, we load in the full text to make it easy to quickly tell the contents of a file.
The size of the text preview is the same as the preview of (landscape) images and long texts can be scrolled.
This also adds the ability for apps to register custom thumbnails.
cc @nextcloud/designers