-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Open the sidebar on scrollTo, and directly trigger the default action from search results #27100
Comments
Any chance we could add the ability to scroll to a file without triggering the default action (or does that already exist)? I can see situations in which you explicit want to scroll to a file without opening it. |
Right, @artonge there is already the server/apps/files/appinfo/routes.php Lines 45 to 50 in 4974404
server/apps/files/lib/Controller/ViewController.php Lines 164 to 171 in b1dca57
Maybe add a new route like server/apps/files/lib/Controller/ViewController.php Lines 343 to 370 in b1dca57
|
It makes sense indeed. We should also update the search code to use
Could the URL support two actions like |
I think openFile was implemented with the inclusion of the scrollTo. But needs confirmation |
When opening a file, let's directly open the sidebar and trigger the default file action.
https://dev.domain.com/apps/files/?dir=/&openfile=88
type urlThe text was updated successfully, but these errors were encountered: