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 7 times, most recently from fb77cbc to 4a95c2c Compare October 1, 2025 17:29
@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
@camilasan camilasan changed the title feat: declarative UI. WIP: declarative UI. Dec 4, 2025
@Rello Rello moved this from 📄 To do to 🏗️ In progress in 💻 Desktop Clients team Dec 12, 2025
Signed-off-by: Camila Ayres <hello@camilasan.com>
- 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>
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>
Signed-off-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Camila Ayres <hello@camilasan.com>
@camilasan camilasan force-pushed the feature/declarative-ui branch from 4a95c2c to c1df938 Compare January 19, 2026 21:00
Signed-off-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Camila Ayres <hello@camilasan.com>
@github-actions
Copy link

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

Digest: sha256:9bdb8f9fe1f67bf777ce7595dc3cec09792ca51dbce9f0657c53868e89ee0086

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.

@camilasan camilasan added this to the 33.0.0 milestone Jan 21, 2026
Signed-off-by: Camila Ayres <hello@camilasan.com>
…imetypes.

Signed-off-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Camila Ayres <hello@camilasan.com>
@camilasan camilasan force-pushed the feature/declarative-ui branch from 2554ede to 04ee373 Compare January 31, 2026 10:30
@camilasan
Copy link
Member Author

closing this version in favor of #9403

@camilasan camilasan closed this Jan 31, 2026
@github-project-automation github-project-automation bot moved this from 🏗️ In progress to ☑️ Done in 💻 Desktop Clients team Jan 31, 2026
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

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

See analysis details on SonarQube Cloud

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants