-
Notifications
You must be signed in to change notification settings - Fork 899
WIP: 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?
WIP: 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 <hello@camilasan.com>
8eefb0d to
6e31576
Compare
- add endpoints model. - add class to manage endpoints and declarativeui display. Signed-off-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Camila Ayres <hello@camilasan.com>
- display endpoints in an application window. Signed-off-by: Camila Ayres <hello@camilasan.com>
…menu. - remove EndpointModel from DeclarativeUi class. Signed-off-by: Camila Ayres <hello@camilasan.com>
… activitiy. Signed-off-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Camila Ayres <hello@camilasan.com>
- add one action to the endpoints. Signed-off-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Camila Ayres <hello@camilasan.com>
6e31576 to
e94e635
Compare
Signed-off-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Camila Ayres <hello@camilasan.com>
- use the file id in file actions requests. - filter and display file actions based on the file mimetype. Signed-off-by: Camila Ayres <hello@camilasan.com>
- adjust logic to get context menu by mimeType. Signed-off-by: Camila Ayres <hello@camilasan.com>
- remove unused functions. - save string values in constexpr - rename Endpoint to Fileactions. Signed-off-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Camila Ayres <hello@camilasan.com>
- change icon for file. - display a different icon for each mimetype. Signed-off-by: Camila Ayres <hello@camilasan.com>
- improve file actions window UI. Signed-off-by: Camila Ayres <hello@camilasan.com>
- 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>
01de4be to
27ac3c1
Compare
Signed-off-by: Camila Ayres <hello@camilasan.com>
27ac3c1 to
a998866
Compare
Signed-off-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Camila Ayres <hello@camilasan.com>
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