Closed Ezinnem closed 1 year ago
I can confirm that Smart Picker does nothing but couldn't find what should it do. Couldn't find corresponding core feature or core menu item to understand. Can you help me to understand?
when i trace the code it triggers following lines browser/src/control/Toolbar.js-879- case 'remotelink': browser/src/control/Toolbar.js:880: this.fire('postMessage', { msgId: 'UI_PickLink' }); but couldn't find any listeners for that message.
UI_PickLink is a postmessage sent to the integrator (Nextcloud). So it should be handled in richdocuments (Nextcloud plugin for Collabora Online: https://github.com/nextcloud/richdocuments)
I think that menu entry should be there when testing it locally. Meaning, it should only be visible if integrator has that funcitonality
So to clarify we should probably check if WOPI within map has that feature as we do with other things (search for wopi'].Enable
)
It seems we are already doing that for tabbed view, see this._map['wopi'].EnableRemoteLinkPicker
Describe the bug A clear and concise description of what the bug is.
To Reproduce
Notice that clicking on it does nothing
In Tabbed View, the menu item seems to be missing