Skip to content

Conversation

@kesselb
Copy link
Collaborator

@kesselb kesselb commented Sep 2, 2025

Summary

use showFile route to reference files with a matching comment

The files.view.index route with dir and scrollto is deprecated, and opening the actual does not work anymore.

I had in mind to replace the deprecated APIs right away, but I dislike making such a large number of changes. I also came across some oddities in how pagination is implemented. Because of that, this PR is a simplified version of #54379 and should be much easier to backport.

Steps to reproduce: #54378

TODO

  • CI
  • Review

Checklist

@kesselb kesselb self-assigned this Sep 2, 2025
@kesselb kesselb requested a review from a team as a code owner September 2, 2025 19:56
@kesselb kesselb requested review from Altahrim, sorbaugh and yemkareems and removed request for a team September 2, 2025 19:56
@kesselb kesselb added bug 3. to review Waiting for reviews labels Sep 2, 2025
@kesselb kesselb added this to the Nextcloud 32 milestone Sep 2, 2025
@kesselb
Copy link
Collaborator Author

kesselb commented Sep 2, 2025

/backport to stable31

@kesselb
Copy link
Collaborator Author

kesselb commented Sep 2, 2025

/backport to stable30

…comment

The files.view.index route with dir and scrollto is deprecated and
opening the actual does not work anymore.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
@kesselb kesselb force-pushed the bug/54379/use-show-file-route-comment-search branch from b883d39 to a37ed05 Compare September 3, 2025 08:59
@provokateurin provokateurin merged commit bc32838 into master Sep 3, 2025
210 of 212 checks passed
@provokateurin provokateurin deleted the bug/54379/use-show-file-route-comment-search branch September 3, 2025 09:42
@skjnldsv skjnldsv modified the milestones: Nextcloud 32, Nextcloud 33 Sep 28, 2025
@blizzz blizzz mentioned this pull request Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Opening a file from a comment search result does not open or scroll to the file

5 participants