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:
@@ -101,6 +101,21 @@ export const en = {
|
||||
found: 'Found: {{total}}, new: {{fresh}}',
|
||||
added: 'Items added: {{count}}',
|
||||
alreadyIn: 'already in group',
|
||||
mode: {
|
||||
label: 'Composition',
|
||||
Static: 'Explicit list',
|
||||
Dynamic: 'By rule',
|
||||
StaticHint: 'Items are added by hand; the rule only helps to find them.',
|
||||
DynamicHint:
|
||||
'Composition is computed by the rule on every read — new library items go on air by themselves.',
|
||||
},
|
||||
pinned: 'pinned',
|
||||
byRule: 'by rule',
|
||||
excluded: 'Excluded',
|
||||
excludeHint: 'Exclude from the composition — the rule will stop adding it back',
|
||||
restore: 'Restore',
|
||||
dynamicOrderHint:
|
||||
'Order: pinned items first (drag to arrange), then rule matches alphabetically.',
|
||||
pendingFound: 'New matches for this rule: {{count}} —',
|
||||
pendingAdd: 'Add all ({{count}})',
|
||||
elementKinds: { Show: 'Show', Collection: 'Collection' },
|
||||
|
||||
Reference in New Issue
Block a user