change: Add FileTransferSelector as a central page for sending files
This MR introduces a new FileTransferSelector
page within the ChatFunctionPage.
This new page gets opened whenever a file transfer action is invoked by the user:
- click on 'Send File' button
- click on 'Send File Directly / Upload File' in the chat menu
- drag and drop
- pasting image from clipboard
Files will be previewed in a list, and further files can be added there via file selector or drag and drop.
A suitable transfer method will be chosen, if the user's preferred method can't be used. The FileTransferSelector
makes use of the ResourceSelector
widget, if Jingle is chosen as transfer method.
Fixes #9511 (closed)