Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ public class AspirePropertyColumn<TGridItem, TProp> : PropertyColumn<TGridItem,
[Parameter]
public string? ColumnId { get; set; }

protected override void OnInitialized()
Copy link

Copilot AI May 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both AspireTemplateColumn and AspirePropertyColumn set Tooltip = true in their OnInitialized methods. Consider refactoring this shared behavior into a common base class to reduce duplicate code and ease future maintenance.

Copilot uses AI. Check for mistakes.
{
Tooltip = true;
}

protected override bool ShouldRender()
{
if (ColumnManager is not null && ColumnId is not null && !ColumnManager.IsColumnVisible(ColumnId))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ public class AspireTemplateColumn<TGridItem> : TemplateColumn<TGridItem>, IAspir
[Parameter]
public string? ColumnId { get; set; }

protected override void OnInitialized()
Copy link

Copilot AI May 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both AspireTemplateColumn and AspirePropertyColumn set Tooltip = true in their OnInitialized methods. Consider refactoring this shared behavior into a common base class to reduce duplicate code and ease future maintenance.

Copilot uses AI. Check for mistakes.
{
Tooltip = true;
}

protected override bool ShouldRender()
{
if (ColumnManager is not null && ColumnId is not null && !ColumnManager.IsColumnVisible(ColumnId))
Expand Down