Feature/governance labels integration#10100
Conversation
08ca064 to
1582c09
Compare
No Clang-Tidy warnings found so I assume my comments were addressed
b830eeb to
67ce384
Compare
9eb43f4 to
53e3bf8
Compare
|
dc9a299 to
7368284
Compare
5ed8302 to
f03b9e7
Compare
f03b9e7 to
55323d4
Compare
will enable to share type definitions in all real jobs Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
also improve the available properties for the job parameters Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
finish implementing most of the code needed to send requests to the governance API will need further work to see how to read the replies and make something usefull Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
should enable us to test the requests one by one and ensure we decode properly the replies Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
we explicitely define which roles need to be used Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Restyle GovernanceLabelsDialog to match the design system used by
AccountWizardWindow and its sub-components in wizard/qml/:
- Set explicit wizard palette and background on the ApplicationWindow
for full light/dark mode support
- Replace stock ComboBox, Button and DialogButtonBox with WizardComboBox
and WizardButton for consistent Nextcloud branding
- Add bold dialog title heading, update margins to 24 px, fix spacing
- Wrap all label strings in qsTr() and apply wizard text colors
- Fix window title typo ("Applys labels" → "Apply labels")
- Add WizardComboBox.qml, a reusable styled combo box following the
WizardButton/WizardTextField component pattern
Assisted-by: ClaudeCode:claude-sonnet-4-6
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
should make it easier and more predictable to use from QML Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
the model is responsible to provide data to the UI and manage the set of selected labels by taking UI input and delegating the modifications via emitted signals Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
the item in the combobox have the ability to show if they are selected or not refresh state as soon as one label is selected select a selected one will remove it select an unselected one will apply it selecting none should remove all labels Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
55323d4 to
e946e51
Compare
|
Artifact containing the AppImage: nextcloud-appimage-pr-10100.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. |
|
|
||
| explicit GovernanceLabelsListModel(QObject *parent = nullptr); | ||
|
|
||
| int rowCount(const QModelIndex &parent = QModelIndex()) const override; |
There was a problem hiding this comment.
function rowCount should be marked [[nodiscard]]
| int rowCount(const QModelIndex &parent = QModelIndex()) const override; | |
| [[nodiscard]] int rowCount(const QModelIndex &parent = QModelIndex()) const override; |
|
|
||
| int rowCount(const QModelIndex &parent = QModelIndex()) const override; | ||
|
|
||
| QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; |
There was a problem hiding this comment.
function data should be marked [[nodiscard]]
| QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; | |
| [[nodiscard]] QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; |
|
|
||
| QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; | ||
|
|
||
| QHash<int,QByteArray> roleNames() const override; |
There was a problem hiding this comment.
function roleNames should be marked [[nodiscard]]
| QHash<int,QByteArray> roleNames() const override; | |
| [[nodiscard]] QHash<int,QByteArray> roleNames() const override; |




Thanks for opening a pull request on the Nextcloud desktop client.
Before sending a pull request that fixes a security issue please report it via our HackerOne page (https://hackerone.com/nextcloud) following our security policy (https://nextcloud.com/security/).
This allows us to coordinate the fix and release without potentially exposing all Nextcloud client users in the meantime.
Instead of a Contributor License Agreement (CLA) we use a Developer Certificate of Origin (DCO).
https://en.wikipedia.org/wiki/Developer_Certificate_of_Origin
-->
Resolves
#
Close https://github.com/nextcloud-gmbh/server/issues/953
Close https://github.com/nextcloud-gmbh/server/issues/957
Summary
TODO
Checklist
AI (if applicable)