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

fix: Make sure collectives own scroll area is used for menubar stickyness #822

Merged
merged 2 commits into from
Aug 9, 2023

Conversation

juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented Aug 9, 2023

As nextcloud/text#2832 introduced a max-height to properly handle .text-editor being the scroll container for any viewer rendered editor, we will need to adapt the styling here slightly as collectives comes with its own scroll container.

Note that the API for rendering the editor externally would solve that as this one doesn't bring its own scroll container https://github.com/nextcloud/text#%EF%B8%8F-integrate-text-in-your-app but needs more work to have feature parity for collectives.

  • Test with all compatible nextcloud releases
    • 27.1
    • 27.0
    • 26
    • 25

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits
  • Tests (unit, integration and/or end-to-end) passing and the changes are covered with tests
  • Documentation (README or documentation) has been updated or is not required

@juliusknorr juliusknorr added bug Something isn't working 3. to review labels Aug 9, 2023
@cypress
Copy link

cypress bot commented Aug 9, 2023

2 failed and 2 flaky tests on run #1034 ↗︎

2 77 0 0 Flakiness 2

Details:

fix: Make sure collectives own scroll area is used for menubar stickyness
Project: Collectives Commit: 9503520d18
Status: Failed Duration: 09:32 💡
Started: Aug 9, 2023 10:42 AM Ended: Aug 9, 2023 10:51 AM
Failed  pages.spec.js • 1 failed test

View Output Video

Test Artifacts
Page > Creating a page from template > New page has template content Output Screenshots
Failed  apps.spec.js • 1 failed test

View Output Video

Test Artifacts
The apps > Collectives > allows creating a new collective Output Screenshots
Flakiness  page-details.spec.js • 1 flaky test

View Output Video

Test Artifacts
Page details > Displaying backlinks > Lists backlinks for a page Output Screenshots
Flakiness  page-list.spec.js • 1 flaky test

View Output Video

Test Artifacts
Page list > Page trash > allows to trash and restore page with subpage and attachment Output Screenshots

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

@juliusknorr
Copy link
Member Author

I think the remaining cypress failures when loading a page could stabilize with nextcloud/text#4657

@mejo- mejo- force-pushed the bugfix/noid/viewer-scroll-area branch from 3542d9f to 9503520 Compare August 9, 2023 10:09
Fixes sticky titleform when viewing old page versions.

Signed-off-by: Jonas <[email protected]>
@mejo-
Copy link
Member

mejo- commented Aug 9, 2023

Nice, thanks a lot @juliushaertl! Tested with Nextcloud 25, 26, 27 and master and all work well. Pushed a comment to fix stickyness of the titlebar when viewing old versions.

@mejo- mejo- merged commit c75e288 into main Aug 9, 2023
34 of 38 checks passed
@delete-merged-branch delete-merged-branch bot deleted the bugfix/noid/viewer-scroll-area branch August 9, 2023 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants