-
Notifications
You must be signed in to change notification settings - Fork 890
feat: declarative UI. #8401
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
base: master
Are you sure you want to change the base?
feat: declarative UI. #8401
Conversation
|
|
looking good so far one nit for the current app-menu-submenu-WIP: Apps that provide custom actions should be indicated as such -- this could be done by e.g. appending |
8f783b2 to
330facf
Compare
533a29d to
31f81d6
Compare
Signed-off-by: Camila Ayres <[email protected]>
8eefb0d to
6e31576
Compare
- add endpoints model. - add class to manage endpoints and declarativeui display. Signed-off-by: Camila Ayres <[email protected]>
Signed-off-by: Camila Ayres <[email protected]>
- display endpoints in an application window. Signed-off-by: Camila Ayres <[email protected]>
…menu. - remove EndpointModel from DeclarativeUi class. Signed-off-by: Camila Ayres <[email protected]>
… activitiy. Signed-off-by: Camila Ayres <[email protected]>
Signed-off-by: Camila Ayres <[email protected]>
- add one action to the endpoints. Signed-off-by: Camila Ayres <[email protected]>
Signed-off-by: Camila Ayres <[email protected]>
Signed-off-by: Camila Ayres <[email protected]>
6e31576 to
e94e635
Compare
Signed-off-by: Camila Ayres <[email protected]>
Signed-off-by: Camila Ayres <[email protected]>
Signed-off-by: Camila Ayres <[email protected]>
- use the file id in file actions requests. - filter and display file actions based on the file mimetype. Signed-off-by: Camila Ayres <[email protected]>
- adjust logic to get context menu by mimeType. Signed-off-by: Camila Ayres <[email protected]>
- remove unused functions. - save string values in constexpr - rename Endpoint to Fileactions. Signed-off-by: Camila Ayres <[email protected]>
Signed-off-by: Camila Ayres <[email protected]>
- change icon for file. - display a different icon for each mimetype. Signed-off-by: Camila Ayres <[email protected]>
- improve file actions window UI. Signed-off-by: Camila Ayres <[email protected]>
- 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 <[email protected]>
The declarative ui in fact will be returned in the response from file actions. Signed-off-by: Camila Ayres <[email protected]>
01de4be to
27ac3c1
Compare
Signed-off-by: Camila Ayres <[email protected]>
27ac3c1 to
a998866
Compare
Signed-off-by: Camila Ayres <[email protected]>
Signed-off-by: Camila Ayres <[email protected]>
Signed-off-by: Camila Ayres <[email protected]>
fb77cbc to
4a95c2c
Compare
|
Artifact containing the AppImage: nextcloud-appimage-pr-8401.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
screencasts
accessing it from systray activities list:
https://github.com/user-attachments/assets/9bf65691-374a-4567-ab49-ae207a2f2a31
accessing it from the context menu:
https://github.com/user-attachments/assets/f38e38e2-431d-4641-b066-ec3e563efe67
to do