Skip to content

[WIP] CardView Component;fixes #725 #2608

[WIP] CardView Component;fixes #725

[WIP] CardView Component;fixes #725 #2608

Triggered via pull request December 16, 2024 13:32
Status Success
Total duration 3m 4s
Artifacts

CodeQuality.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build: COMET.Web.Common/Components/CardView/CardView.razor.cs#L44
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build: COMET.Web.Common/Components/CardView/CardView.razor.cs#L93
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build: COMET.Web.Common/Components/CardView/CardField.cs#L45
A static field in a generic type is not shared among instances of different close constructed types. (https://rules.sonarsource.com/csharp/RSPEC-2743)
Build: COMET.Web.Common/Components/CardView/CardView.razor.cs#L139
Add the 'Async' suffix to the name of this method. (https://rules.sonarsource.com/csharp/RSPEC-4261)
Build: COMET.Web.Common/Components/CardView/CardField.cs#L50
Initialize all 'static fields' inline and remove the 'static constructor'. (https://rules.sonarsource.com/csharp/RSPEC-3963)
Build: COMET.Web.Common/Components/CardView/CardField.cs#L137
Refactor this method to add validation of parameter 'builder' before using it. (https://rules.sonarsource.com/csharp/RSPEC-3900)
Build: COMET.Web.Common/Components/CardView/CardField.cs#L120
Refactor this method to add validation of parameter 'builder' before using it. (https://rules.sonarsource.com/csharp/RSPEC-3900)
Build: COMET.Web.Common/Components/CardView/CardField.cs#L130
Refactor this method to add validation of parameter 'builder' before using it. (https://rules.sonarsource.com/csharp/RSPEC-3900)
Build: COMETwebapp/ViewModels/Components/SystemRepresentation/IElementDefinitionDetailsViewModel.cs#L43
Make the 'Rows' property read-only by removing the property setter or making it private. (https://rules.sonarsource.com/csharp/RSPEC-4004)
Build: COMET.Web.Common/Components/CardView/CardView.razor.cs#L44
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.