Skip to content

[FIX] Spaces' root folder in landscape has no room for the list of files#4790

Open
mykh-hailo wants to merge 3 commits intoowncloud:masterfrom
mykh-hailo:fix/scrollable-space-header
Open

[FIX] Spaces' root folder in landscape has no room for the list of files#4790
mykh-hailo wants to merge 3 commits intoowncloud:masterfrom
mykh-hailo:fix/scrollable-space-header

Conversation

@mykh-hailo
Copy link
Contributor

Related Issues

App: #4625

  • Add changelog files for the fixed issues in folder changelog/unreleased. More info here
  • Add feature to Release Notes in ReleaseNotesViewModel.kt creating a new ReleaseNote() with String resources (if required)

@mykh-hailo
Copy link
Contributor Author

@joragua about the branch name, I am sorry for not using underscore.
I will keep that mind for further contributions.

Can you check it please?

@joragua joragua changed the title fix: scrollable space header in file list [FIX] Spaces' root folder in landscape has no room for the list of files Mar 4, 2026
Copy link
Collaborator

@joragua joragua left a comment

Choose a reason for hiding this comment

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

Somme comments! 😄 @mykh-hailo

  1. Missing changelog file

  2. I would go for a different approach. I'd reduce the height of the space card. Since android:configChanges="orientation|screenSize" is set in the manifest for FileDisplayActivity, the activity is not re-created on orientation change. I'd use onConfigurationChanged() instead and update the space header dimensions there.

@mykh-hailo
Copy link
Contributor Author

mykh-hailo commented Mar 9, 2026

@joragua @jesmrec I have one new feature among this issue.
If the space subtitle is empty, the space title should be vertically centered since there is too much empty space below it.
As it's not complicated issue, I can make a fix within this PR too.
image
We can update it to...

image

@jesmrec
Copy link
Collaborator

jesmrec commented Mar 10, 2026

@joragua @jesmrec I have one new feature among this issue.
If the space subtitle is empty, the space title should be vertically centered since there is too much empty space below it.
As it's not complicated issue, I can make a fix within this PR too.

ftm, i'd not go for this approach.

@joragua
Copy link
Collaborator

joragua commented Mar 10, 2026

As @jesmrec mentioned, I wouldn't go for that approach at this point

@mykh-hailo mykh-hailo force-pushed the fix/scrollable-space-header branch from a71a640 to e2911ac Compare March 10, 2026 11:52
@jesmrec jesmrec requested a review from joragua March 10, 2026 12:15
@mykh-hailo mykh-hailo force-pushed the fix/scrollable-space-header branch from e2911ac to 541101a Compare March 10, 2026 13:06
@mykh-hailo mykh-hailo force-pushed the fix/scrollable-space-header branch from 541101a to 23af09d Compare March 10, 2026 13:21
Copy link
Collaborator

@joragua joragua left a comment

Choose a reason for hiding this comment

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

LGTM! Let's see if it is fixed in QA 🚀

@jesmrec
Copy link
Collaborator

jesmrec commented Mar 10, 2026

Problem is fixed, now the space title's room is reduced and the list of files better accesible. I noticed a posible improvement. Take a look:

Screenshot 2026-03-10 at 17 34 14

The placeholder No files in here , that before was not visible because of the wide title, now is visible but incomplete. Do you think the size could be adapted as well?

@mykh-hailo
Copy link
Contributor Author

@jesmrec To resolve the issue, should I reduce the icon size or place the icon and title horizontally?

@jesmrec
Copy link
Collaborator

jesmrec commented Mar 11, 2026

@jesmrec To resolve the issue, should I reduce the icon size or place the icon and title horizontally?

I'd say, reducing the icon side. Setting the text aside the icon sounds weird 😅

@mykh-hailo mykh-hailo force-pushed the fix/scrollable-space-header branch from 60496f7 to 4add3aa Compare March 11, 2026 17:23
@mykh-hailo
Copy link
Contributor Author

@jesmrec I have reduces the empty icon size on landscape. I'd appreciate it if you review and share your opinion.
Thank you.

@jesmrec
Copy link
Collaborator

jesmrec commented Mar 12, 2026

Approved on my side! 🚀

Thanks for your patience and engagement @mykh-hailo!! The last step is rebasing the branch against master to be ready for merging.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Spaces' root folder in landscape has no room for the list of files

3 participants