Skip to content

fix: Avoid layout jump with rich workspace - #4776

Merged
juliusknorr merged 4 commits into
mainfrom
enh/rich-workspace-switch
Sep 8, 2023
Merged

fix: Avoid layout jump with rich workspace#4776
juliusknorr merged 4 commits into
mainfrom
enh/rich-workspace-switch

Conversation

@juliusknorr

@juliusknorrjuliusknorr commented Sep 6, 2023

Copy link
Copy Markdown
Member

Alternative approach to #4254 which uses additional dav properties to already know on initial rendering if space for the rich workspace should be preserved.

In addition we can actually use the webdav markdown response to even show the full file content rendered before the text session is even started. As a follow up we could think about only initializing the session if the user clicks the rich workspace which would save us from lots of requests and problems with rich workspace always being locked.

Comment threadsrc/helpers/files.js Outdated
Comment threadsrc/helpers/files.js Outdated
Comment threadsrc/views/RichWorkspace.vue
@cypress

cypressBot commented Sep 6, 2023

Copy link
Copy Markdown

3 failed and 2 flaky tests on run #12070 ↗︎

3137180Flakiness2

Details:

fix: Avoid layout jump with rich workspace
Project: TextCommit:ce0efd6f00
Status: FailedDuration: 05:13 💡
Started: Sep 8, 2023 8:46 PMEnded: Sep 8, 2023 8:51 PM
Failed cypress/e2e/attachments.spec.js • 3 failed tests

ViewOutputVideo

Test Artifacts
Test all attachment insertion methods > test if attachment folder is moved with the markdown file OutputScreenshots
Test all attachment insertion methods > test if attachment folder is copied when copying a markdown file OutputScreenshots
Test all attachment insertion methods > [share] check everything behaves correctly on the share target user side OutputScreenshots
Flakiness share.spec.js • 1 flaky test

ViewOutputVideo

Test Artifacts
Open test.md in viewer > Share a file with download disabled shows an error OutputScreenshots
Flakiness api/SyncServiceProvider.spec.js • 1 flaky test

ViewOutputVideo

Test Artifacts
Sync service provider > recovers from a dropped message OutputScreenshots

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

juliusknorrand others added 2 commits September 8, 2023 11:15
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
@juliusknorr

Copy link
Copy Markdown
MemberAuthor

Will bump OCP composer package once other CI is good :)

@juliusknorr

Copy link
Copy Markdown
MemberAuthor

Version failures unrealted, fix in nextcloud/server#40348

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliusknorr
juliusknorrforce-pushed the enh/rich-workspace-switch branch from 49c1e3d to 4effe7eCompareSeptember 8, 2023 12:56
Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliusknorr
juliusknorrforce-pushed the enh/rich-workspace-switch branch from cb834be to ce0efd6CompareSeptember 8, 2023 20:40
@juliusknorr

Copy link
Copy Markdown
MemberAuthor

Remaining failures unrelated

@juliusknorr
juliusknorr merged commit 91f9e17 into mainSep 8, 2023
@juliusknorr
juliusknorr deleted the enh/rich-workspace-switch branch September 8, 2023 20:56
@szaimen

Copy link
Copy Markdown
Contributor

🎉🎉🎉🎉🎉

@maximelehericy

Copy link
Copy Markdown

@juliushaertl layout jumps does not occur on first page load, however, if you refresh the page or open and close an image from the viewer, layout jump still occurs.

max-nextcloud added a commit that referenced this pull request Feb 2, 2024
Fixes#5332.
Looks like #4698 brought back the file list header initialization
that had just been moved to an init script in #4776.
Signed-off-by: Max <max@nextcloud.com>
max-nextcloud added a commit that referenced this pull request Feb 2, 2024
Fixes#5332.
Looks like #4698 brought back the file list header initialization
that had just been moved to an init script in #4776.
Signed-off-by: Max <max@nextcloud.com>
@max-nextcloudmax-nextcloud mentioned this pull request Feb 2, 2024
3 tasks
backportbotBot pushed a commit that referenced this pull request Feb 6, 2024
Fixes#5332.
Looks like #4698 brought back the file list header initialization
that had just been moved to an init script in #4776.
Signed-off-by: Max <max@nextcloud.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewbugSomething isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@juliusknorr@szaimen@maximelehericy@skjnldsv