Implement dynamic group management features with exclusions and mode handling
Enhanced the group management system by introducing dynamic group capabilities, allowing for the exclusion of elements from dynamic groups. Updated the Group and GroupItem models to support a new GroupMode, enabling the distinction between static and dynamic groups. Implemented API endpoints for excluding elements and updated related services to handle group composition based on the selected mode. Improved the frontend to accommodate these changes, including new API functions and UI components for managing exclusions and group modes, thereby enhancing the overall user experience in group management.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
namespace TeleWave.Domain.Programming;
|
||||
|
||||
/// <summary>
|
||||
/// Роль позиции в группе. У статической группы все позиции — <see cref="Member"/>: список и есть
|
||||
/// состав. У динамической состав считает правило, а позиции хранят ручные поправки к нему.
|
||||
/// </summary>
|
||||
public enum GroupItemRole
|
||||
{
|
||||
/// <summary>Обычная позиция статической группы.</summary>
|
||||
Member = 0,
|
||||
|
||||
/// <summary>Всегда в составе динамической группы, даже если правило её не находит.</summary>
|
||||
Pinned = 1,
|
||||
|
||||
/// <summary>Никогда не в составе динамической группы, даже если правило её находит.</summary>
|
||||
Excluded = 2,
|
||||
}
|
||||
Reference in New Issue
Block a user