Skip to content

Conversation

@camilasan
Copy link
Member

@camilasan camilasan commented Jun 25, 2025

Implements nextcloud/files-clients#86

dialog

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
D Maintainability Rating on New Code (required ≥ A)
D Security Rating on New Code (required ≥ A)
55 New Code Smells (required ≤ 0)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@nilsding
Copy link
Member

nilsding commented Jul 1, 2025

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 at the end of the name, or adding another arrow button similar to how it's done in the accounts drop down

@camilasan camilasan force-pushed the feature/declarative-ui branch from 8f783b2 to 330facf Compare September 3, 2025 19:31
@Rello Rello moved this to 🏗️ In progress in 💻 Desktop Clients team Sep 4, 2025
@camilasan camilasan changed the title wip: declarative UI. feat: declarative UI. Sep 8, 2025
@camilasan camilasan force-pushed the feature/declarative-ui branch from 533a29d to 31f81d6 Compare September 18, 2025 00:10
@camilasan camilasan force-pushed the feature/declarative-ui branch 2 times, most recently from 8eefb0d to 6e31576 Compare October 1, 2025 14:18
- add endpoints model.
- add class to manage endpoints and declarativeui display.

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]>
- add one action to the endpoints.

Signed-off-by: Camila Ayres <[email protected]>
@camilasan camilasan force-pushed the feature/declarative-ui branch from 6e31576 to e94e635 Compare October 1, 2025 14:25
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]>
- 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]>
@camilasan camilasan force-pushed the feature/declarative-ui branch 2 times, most recently from 01de4be to 27ac3c1 Compare October 1, 2025 14:36
Signed-off-by: Camila Ayres <[email protected]>
@camilasan camilasan force-pushed the feature/declarative-ui branch from 27ac3c1 to a998866 Compare October 1, 2025 15:15
@camilasan camilasan force-pushed the feature/declarative-ui branch from fb77cbc to 4a95c2c Compare October 1, 2025 17:29
@github-actions
Copy link

github-actions bot commented Oct 1, 2025

Artifact containing the AppImage: nextcloud-appimage-pr-8401.zip

Digest: sha256:fd28cac59b8cadb82b13a5a7911a859eb47c09b5cafb1350a132ad9567fc67e3

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.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 1, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
D Security Rating on New Code (required ≥ A)
108 New Code Smells (required ≤ 0)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@Rello Rello moved this from 🏗️ In progress to 📄 To do in 💻 Desktop Clients team Nov 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 📄 To do

Development

Successfully merging this pull request may close these issues.

3 participants