v0.1.39 — Bulk-Ausschlussgruppen für Apps, App-Typ-Filter
Build & Release MSI / build-msi (push) Canceled after 0s
Build & Release MSI / build-msi (push) Canceled after 0s
- Bulk: Ausschlussgruppe mehreren Apps zuweisen/entfernen (Checkbox-Mehrfachauswahl, Intent Required/Available wählbar); neuer Endpoint POST /api/apps/assignments/bulk-exclude. Ausschlüsse werden im App-Detail angezeigt und sind einzeln entfernbar. - App-Typ-Filter (z. B. windowsUniversalAppX) in der Apps-Toolbar, dynamisch befüllt. - Fix: /assign-Body explizit mit ConvertTo-Json serialisieren — die implizite Hashtable-Serialisierung von Invoke-MgGraphRequest verstümmelte unter PS 5.1 das intent-Feld (400 ModelValidationFailure). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
96e0f851b5
commit
41fd50a0e9
8 files changed
+714
-14
No files matched your search
@@ -206,6 +206,10 @@
|
||||
<option value="">Alle Kategorien</option>
|
||||
<!-- Kategorie-Optionen werden dynamisch von rebuildCategoryFilterOptions() befuellt -->
|
||||
</select>
|
||||
<select id="appTypeFilter" class="select" title="Nach App-Typ filtern (z. B. Win32, MSI, Store/UWP)">
|
||||
<option value="">Alle Typen</option>
|
||||
<!-- Typ-Optionen werden dynamisch von rebuildTypeFilterOptions() befuellt -->
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="filter-chips">
|
||||
@@ -217,6 +221,7 @@
|
||||
<input type="checkbox" id="chkHideNative">
|
||||
<span>All Users/Devices ausblenden</span>
|
||||
</label>
|
||||
<button type="button" id="btnAppBulk" class="btn btn-ghost btn-sm" title="Mehrere Apps auswählen, um ihnen gemeinsam eine Ausschlussgruppe zuzuweisen">☑ Mehrfachauswahl</button>
|
||||
<div class="date-filter-chip" id="dateFilterChip">
|
||||
<span class="date-filter-label" title="Nur Apps anzeigen die im angegebenen Zeitraum geändert wurden">Geändert</span>
|
||||
<input type="date" id="dateModFrom" class="date-input" title="Von (inkl.)">
|
||||
@@ -230,6 +235,17 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="appBulkBar" class="app-bulk-bar hidden">
|
||||
<label class="check-chip app-bulk-all">
|
||||
<input type="checkbox" id="appBulkSelectAll">
|
||||
<span id="appBulkSelectAllLbl">Alle sichtbaren</span>
|
||||
</label>
|
||||
<span class="app-bulk-count"><strong id="appBulkCount">0</strong> ausgewählt</span>
|
||||
<div class="app-bulk-spacer"></div>
|
||||
<button type="button" id="btnBulkExclude" class="btn btn-primary btn-sm" disabled>Ausschlussgruppe zuweisen…</button>
|
||||
<button type="button" id="btnBulkClear" class="btn btn-ghost btn-sm" disabled>Auswahl leeren</button>
|
||||
</div>
|
||||
|
||||
<div id="appList" class="list-area apps-list">
|
||||
<!-- populated by JS -->
|
||||
</div>
|
||||
@@ -843,6 +859,54 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- MODAL: Bulk-Ausschlussgruppe -->
|
||||
<div id="modalBulkExclude" class="modal hidden">
|
||||
<div class="modal-backdrop" data-close></div>
|
||||
<div class="modal-box modal-lg">
|
||||
<div class="modal-head">
|
||||
<h3>Ausschlussgruppe für mehrere Apps</h3>
|
||||
<button class="modal-close" data-close aria-label="Schließen">×</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="form-group">
|
||||
<label class="lbl">Aktion</label>
|
||||
<div class="bx-action-grid">
|
||||
<label class="bx-action">
|
||||
<input type="radio" name="bxAction" value="add" checked>
|
||||
<span class="bx-action-body"><span class="bx-action-title">Ausschluss zuweisen</span><span class="bx-action-desc">Gruppe als Ausschluss zu den gewählten Apps hinzufügen.</span></span>
|
||||
</label>
|
||||
<label class="bx-action">
|
||||
<input type="radio" name="bxAction" value="remove">
|
||||
<span class="bx-action-body"><span class="bx-action-title">Ausschluss entfernen</span><span class="bx-action-desc">Diese Ausschlussgruppe von den gewählten Apps wieder entfernen.</span></span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="lbl">Betroffene Apps</label>
|
||||
<div id="bxAppSummary" class="form-hint"></div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="lbl">Für welchen Intent?</label>
|
||||
<div class="bx-intent-row">
|
||||
<label class="check-chip"><input type="checkbox" id="bxIntentRequired" checked><span>Required</span></label>
|
||||
<label class="check-chip"><input type="checkbox" id="bxIntentAvailable"><span>Available</span></label>
|
||||
</div>
|
||||
<div class="form-hint">In Intune hängt ein Ausschluss immer an einem Intent. Mind. einer muss gewählt sein.</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="lbl" for="bxGroupSearch">Ausschlussgruppe suchen</label>
|
||||
<input type="search" id="bxGroupSearch" class="input" placeholder="Gruppenname… (min. 2 Zeichen)" autocomplete="off">
|
||||
<div id="bxGroupResults" class="cg-existing-results"></div>
|
||||
<div id="bxGroupSelected" class="form-hint"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-foot">
|
||||
<button class="btn btn-secondary" data-close>Abbrechen</button>
|
||||
<button class="btn btn-primary" id="bxApply" disabled>Zuweisen</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- MODAL: Apply Result -->
|
||||
<div id="modalResult" class="modal hidden">
|
||||
<div class="modal-backdrop" data-close></div>
|
||||
|
||||
Reference in new issue
Block a user