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: search highlighting persists between pages #1462

Merged
merged 2 commits into from
Sep 10, 2024
Merged

Conversation

elzody
Copy link
Contributor

@elzody elzody commented Sep 4, 2024

📝 Summary

Previously, the search highlighting did not persist when changing pages. This PR uses changes in the editor content to re-execute the search, meaning it should now re-apply the search highlighting properly when switching pages.

🏁 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

@elzody elzody added bug Something isn't working 2. developing labels Sep 4, 2024
@elzody elzody requested a review from mejo- September 4, 2024 16:55
@elzody elzody self-assigned this Sep 4, 2024
@elzody elzody marked this pull request as ready for review September 4, 2024 17:30
@nextcloud nextcloud deleted a comment from elzody Sep 5, 2024
@mejo-
Copy link
Member

mejo- commented Sep 5, 2024

@elzody no need to backport, we don't have separate branches for supported Nextcloud versions in Collectives 😉

src/mixins/editorMixin.js Outdated Show resolved Hide resolved
elzody and others added 2 commits September 10, 2024 16:33
Signed-off-by: Elizabeth Danzberger <[email protected]>
Signed-off-by: Jonas <[email protected]>
`position: absolute` has unwanted drawbacks. `width: 100%` means the
full monitor width there - which breaks the design if the browser is not
in full screen mode - or if you have developer tools open.

Signed-off-by: Jonas <[email protected]>
@mejo- mejo- merged commit aa97274 into main Sep 10, 2024
46 of 50 checks passed
@mejo- mejo- deleted the fix/highlight-switch-pages branch September 10, 2024 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Search highlighting does not persist when switching pages
2 participants