-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Added option to disable Edit Locally menu option #41582
Conversation
156b160
to
a683aeb
Compare
8fb985e
to
e2a35cf
Compare
Test failures looks unrelated |
00248c4
to
944aadc
Compare
@blizzz @solracsf @AndyScherzinger hey mates, any chance to review this small PR? 🙏 |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should move away from PHP template params and use provideInitialState
on backend + loadState
from @nextcloud/initial-state
on frontend
4e3623e
to
8d42af0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rather than having a switch to disable this altogether, wouldn’t the proper approach here be that the desktop client communicates if a relevant desktop app can be handled? And if the desktop client is not available or installed for the account, then we can disable the entry too (not sure if we already do this).
@tobiasKaminsky @mgallien is this possible?
I understand this is probably more complicated to code, but then there is 0 additional configuration.
@Koc not even for file formats where you have a handler installed, and you have the Nextcloud desktop client installed? This is a real issue we should fix then for everyone. Simply allowing some people to disable the feature altogether does not fix the original issue unfortunately. :) |
technically would require (as far as I understand) to have an extension in your browser (like KeePassXC integration or plasma desktop integration) that would be able to communicate with the desktop client (or other software) and check for their presence |
Signed-off-by: Konstantin Myakshin <[email protected]>
Signed-off-by: Konstantin Myakshin <[email protected]>
823e58e
to
fef09bc
Compare
@mgallien ok, no, requiring a browser extension would not be feasible. I thought we could know whether the browser currently in use and the desktop client are on the same system for example, as they are connected by the server. Then @sorbaugh @AndyScherzinger cc regarding that off-switch for this feature, seems fine if it is only a config.php setting? |
Summary
Many of our users has no installed software for edit file locally. This leads to struggling with mentioned menu option. For me this option also does nothing for any file format. So as an option - we can add a way to disable it completely.
by default:
with option
Checklist