Skip to content
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

[Bug]: rich workspaces makes loading jumpy, which makes fast navigation impossible #39090

Closed
4 of 8 tasks
JMoVS opened this issue Jun 30, 2023 · 3 comments
Closed
4 of 8 tasks
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 26-feedback bug feature: files

Comments

@JMoVS
Copy link

JMoVS commented Jun 30, 2023

⚠️ This issue respects the following points: ⚠️

Bug description

When rich workspaces are activated, them loading in and then displaying the content makes the position of the folders slightly jump around between initial loading spinner and final loading. As that takes more than a second very often, this is very frustrating if someone wants to navigate the folders fast.

Steps to reproduce

  1. Create some content in the Readme.md so that rich workspaces loads the content in
  2. navigate to a folder that contains such a readme
  3. While the content of the readme gets loaded in, observe that the placeholder area is of different size than the final area used to present the contents of the Readme

Expected behavior

Reserve and fix a static amount of area for rich workspaces so that there is no difference in the vertical position of folders between start of loading and finished loading of the readme

Installation method

None

Nextcloud Server version

26

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

@JMoVS JMoVS added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Jun 30, 2023
@rubenferreira97
Copy link

rubenferreira97 commented Sep 10, 2023

I feel this is a significant deal-breaker for the user experience and causes many users, including myself, to click on folders by mistake (resulting in entering the wrong folder, going back, and then clicking on the wrong folder again because the content jumped once more 😒).

A user interface should not exhibit content jumping (https://css-tricks.com/content-jumping-avoid).

One solution, as @JMoVS suggested, is to ensure that asynchronously loading content maintains a static size. In this case, you could consider setting a fixed height for the rich workspace and making it scrollable or relocating the rich workspace away from the top.

@skjnldsv
Copy link
Member

cc @juliushaertl

@juliusknorr
Copy link
Member

We addressed this in nextcloud/text#4776 for the upcoming Nextcloud 28, where we have all information ready at initial rendering time to reserve space only when needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 26-feedback bug feature: files
Projects
None yet
Development

No branches or pull requests

6 participants