Uh oh!
There was an error while loading. Please reload this page.
fix(files): Adjust margin at the file list bottom - #47467
Conversation
skjnldsv
commented
Aug 25, 2024
This was also more visually appealing. |
jancborchardt
left a comment
There was a problem hiding this comment.
Yes, as @skjnldsv mentioned, the bottom spacing is intentional, so that:
- It is obvious you reached the end and it’s not loading anymore
- The last items and summary are nicely readable in the center of the screen and not stuck at the bottom
(Some other apps like some text editors do this similarly.)
susnux
commented
Aug 26, 2024
I thought exactly the opposite, as scrolling into a blank page looks like something needs to load there 😅 But if this was a design decision, then maybe at least adjust the number to not be hard coded pixels but something variable like |
artonge
commented
Aug 26, 2024
But this is not a text editor. Cursed words incoming: "What's the competition doing?". I don't think this is expected from a file list, or any list in general, no? |
jancborchardt
commented
Aug 26, 2024
Sounds good @susnux! :) @artonge it looks better, and some times inbetween the space was also missing and it resulted in it looking off. It’s just weird when the last files and the summary is stuck to the bottom of the screen. |
susnux
commented
Aug 26, 2024
I can understand both (personally I also tend to say a list that overflows one page should only be scroll able to the bottom), but also the design decision to have the margin seems reasonable, so I will adjust the PR to be relative to screen size. (Because whats worse is e.g. VS code where you can scroll a whole page below the last line of code 🙈 ) |
5ba28f3 to
71de671CompareInstead make it relative to screen size. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
71de671 to
e840ec2Comparesusnux
commented
Aug 26, 2024
/backport to stable30 |
susnux
commented
Aug 26, 2024
/backport to stable29 |


Summary
IIRC this was added when the drop notice was placed on the bottom, but the notice is now always set on the top. So this just causes weird whitespace on the files list.
Screenshots (scrolled fully down)
Checklist