Added option to disable Edit Locally menu option#41582
Added option to disable Edit Locally menu option#41582Koc wants to merge 2 commits intonextcloud:masterfrom
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? 🙏 |
|
|
Pytal
left a comment
There was a problem hiding this comment.
We should move away from PHP template params and use provideInitialState on backend + loadState from @nextcloud/initial-state on frontend
4e3623e to
8d42af0
Compare
jancborchardt
left a comment
There was a problem hiding this comment.
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 <molodchick@gmail.com>
Signed-off-by: Konstantin Myakshin <molodchick@gmail.com>
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