Skip to content
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

Add RichObject support for SetupCheck descriptions #42585

Merged
merged 7 commits into from
Jan 11, 2024

Conversation

come-nc
Copy link
Contributor

@come-nc come-nc commented Jan 4, 2024

Summary

Allow SetupCheck to pass rich parameters for description in SetupResult. Then UI can use that to render properly users and other elements.

TODO

  • Validate parameters using OCP\RichObjectStrings\IValidator
  • Fix UI in settings admin in case of rich description
  • Avoid duplication of richToParsed method from notifications

Checklist

@come-nc come-nc added enhancement 2. developing Work in progress labels Jan 4, 2024
@come-nc come-nc added this to the Nextcloud 29 milestone Jan 4, 2024
@come-nc come-nc self-assigned this Jan 4, 2024
@come-nc come-nc requested a review from susnux January 4, 2024 15:36
core/Command/SetupChecks.php Outdated Show resolved Hide resolved
@come-nc
Copy link
Contributor Author

come-nc commented Jan 9, 2024

* [x]  Avoid duplication of `richToParsed` method from notifications

Added a TODO to do that later, fixed the rest.

@come-nc come-nc added 3. to review Waiting for reviews and removed 2. developing Work in progress 3. to review Waiting for reviews labels Jan 9, 2024
@come-nc come-nc requested review from susnux, a team, ArtificialOwl, Altahrim and sorbaugh and removed request for a team January 9, 2024 15:49
core/Command/SetupChecks.php Outdated Show resolved Hide resolved
@come-nc come-nc force-pushed the enh/add-rich-object-support-to-setupchecks branch 2 times, most recently from 108253a to dae9fa2 Compare January 11, 2024 10:37
come-nc and others added 7 commits January 11, 2024 14:03
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Co-authored-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc come-nc force-pushed the enh/add-rich-object-support-to-setupchecks branch from dae9fa2 to e884ffd Compare January 11, 2024 13:03
@come-nc come-nc merged commit d8e625f into master Jan 11, 2024
51 checks passed
@come-nc come-nc deleted the enh/add-rich-object-support-to-setupchecks branch January 11, 2024 16:15
@susnux
Copy link
Contributor

susnux commented Jan 15, 2024

/skjnldsv-backport to stable28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews enhancement
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants