Refactor chip variants in event and team components for consistency

This commit updates various components within the Events and MeetingSchedule features to utilize standardized chip variants defined in the AppIcons class. The changes include replacing hardcoded chip variants with calls to the new methods for event, team, and student chips, enhancing consistency across the UI. Additionally, the UnscheduledStudentsList component has been updated to include necessary using directives, improving code clarity. These modifications contribute to a more uniform and maintainable user interface.
This commit is contained in:
2026-01-14 10:22:44 -05:00
parent 68311f4012
commit 5fdda08627
7 changed files with 102 additions and 81 deletions
+15
View File
@@ -154,5 +154,20 @@ namespace WebApp.Models
};
return $"{number}<sup>{suffix}</sup>";
}
/// <summary>
/// Returns the standard chip variant for student chips (Outlined).
/// </summary>
public static Variant StudentChipVariant() => Variant.Outlined;
/// <summary>
/// Returns the standard chip variant for event chips (Filled).
/// </summary>
public static Variant EventChipVariant() => Variant.Filled;
/// <summary>
/// Returns the standard chip variant for team chips (Filled).
/// </summary>
public static Variant TeamChipVariant() => Variant.Filled;
}
}