feat: client integration with server features#9403
feat: client integration with server features#9403
Conversation
f4a096c to
c2b2235
Compare
- declarativeui: add endpoints model. - capabilities: fetch endpoints in capabilities. - display endpoints in an application window. - list file actions in context menu. - remove EndpointModel from DeclarativeUi class. - list declarative ui and file actions in the tray activitiy. - add icon and filter to endpoint model and UI. Signed-off-by: Camila Ayres <hello@camilasan.com>
- display response from request from file actions. Signed-off-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Camila Ayres <hello@camilasan.com>
- add helper function to match string to SimpleApiJob::Verb. - filter and display file actions based on the file mimetype. - adjust logic to get context menu by mimeType. - create function to set file id and mime type. - rename Endpoint to FileActions. Signed-off-by: Camila Ayres <hello@camilasan.com>
- improve error handling. - display a different icon for each mimetype. Signed-off-by: Camila Ayres <hello@camilasan.com>
…n't have one. - improve file actions window UI. Signed-off-by: Camila Ayres <hello@camilasan.com>
…ements like url. - add opacity mask and more spacing. - implement hover for the file action buttons. - fix logic to display error/success messages. - improve text for error/success messages. Signed-off-by: Camila Ayres <hello@camilasan.com>
The declarative ui in fact will be returned in the response from file actions. Signed-off-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Camila Ayres <hello@camilasan.com>
c2b2235 to
1e44251
Compare
- use reference type in for loop. - fix spaces and sizes in the file actions window. - remove missing file from resources. Signed-off-by: Camila Ayres <hello@camilasan.com>
…etype check. Signed-off-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Camila Ayres <hello@camilasan.com>
…lable to all mimetypes. Signed-off-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Camila Ayres <hello@camilasan.com>
- remove DeclarativeUi files. - add return default value in switch. - add const. Signed-off-by: Camila Ayres <hello@camilasan.com>
1e44251 to
039efde
Compare
…on map. Signed-off-by: Camila Ayres <hello@camilasan.com>
…port it. Signed-off-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Camila Ayres <hello@camilasan.com>
|
reviewing it |
nilsding
left a comment
There was a problem hiding this comment.
thanks!
Some unit tests for at least the FileActionsModel and (if possible) Capabilities::fileActionsByMimeType would be really nice to have as well.
Signed-off-by: Camila Ayres <hello@camilasan.com>
e93a493 to
d6a05da
Compare
Signed-off-by: Camila Ayres <hello@camilasan.com>
…ize. Signed-off-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Camila Ayres <hello@camilasan.com>
d6a05da to
5a24e0e
Compare
|
Artifact containing the AppImage: nextcloud-appimage-pr-9403.zip Digest: To test this change/fix you can download the above artifact file, unzip it, and run it. Please make sure to quit your existing Nextcloud app and backup your data. |
|




Implements nextcloud/files-clients#86
screenshots
tbd
to do