2026-10-03 14:06:51 +02:00
|
|
|
{% extends "modules/sag/templates/detail_v4.html" %}
|
|
|
|
|
{% block title %}{{ case.titel }} · Sagsbord V5 - BMC Hub{% endblock %}
|
|
|
|
|
{% block extra_css %}
|
|
|
|
|
{{ super() }}
|
2026-10-20 07:18:57 +02:00
|
|
|
<link rel="stylesheet" href="/static/css/case-v5.css?v=20261020-time-grid">
|
2026-10-08 08:58:02 +02:00
|
|
|
<link rel="stylesheet" href="/static/css/case-command-composer.css?v=20261006-4">
|
2026-10-03 14:06:51 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
{% block content %}
|
|
|
|
|
{{ super() }}
|
|
|
|
|
<template id="caseV5ComposerTools">
|
|
|
|
|
<div class="v5-composer-actions">
|
|
|
|
|
<button id="v5ActionToggle" type="button" class="btn btn-outline-secondary" aria-label="Tilføj handling" aria-expanded="false" aria-controls="v5ActionMenu"><i class="bi bi-plus-lg"></i></button>
|
|
|
|
|
<div id="v5SelectedActions" class="v5-selected-actions" aria-live="polite"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="v5ActionMenu" class="v5-action-menu" hidden>
|
|
|
|
|
<div class="v5-menu-title">Tilføj handling</div>
|
|
|
|
|
<div id="v5ActionOptions" class="v5-action-options"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="v5AssignmentFields" class="v5-assignment-fields" hidden>
|
Add comprehensive test coverage for case creation, assignment, and remote recovery
- Introduced tests for case creation commands, ensuring proper handling of UUIDs and payloads.
- Added tests for v5 assignment functionality, validating employee identification and group assignment.
- Implemented tests for remote recovery scenarios, including handling network failures and response validation.
- Created tests for hardware label generation and validation, ensuring proper URL formatting and QR code generation.
- Developed extensive tests for remote control functionality, covering connection isolation, command execution, and user permissions.
- Added tests for workflow timer registration, ensuring correct handling of timer states and ownership validation.
2026-10-15 12:17:09 +02:00
|
|
|
<label for="v5UserSearch">Vælg medarbejder</label>
|
|
|
|
|
<input id="v5UserSearch" class="form-control form-control-sm" type="search" placeholder="Søg navn eller initialer…" autocomplete="off" disabled>
|
|
|
|
|
<div id="v5UserOptions" class="v5-picker v5-employee-buttons" aria-label="Vælg ansvarlig medarbejder"></div>
|
|
|
|
|
<details class="v5-assignment-groups">
|
|
|
|
|
<summary>Gruppe (valgfrit)</summary>
|
|
|
|
|
<label for="v5GroupSearch" class="visually-hidden">Søg gruppe</label>
|
|
|
|
|
<input id="v5GroupSearch" class="form-control form-control-sm" type="search" placeholder="Find gruppe…" autocomplete="off">
|
|
|
|
|
<div id="v5GroupOptions" class="v5-picker" aria-label="Vælg gruppe"></div>
|
|
|
|
|
</details>
|
2026-10-03 14:06:51 +02:00
|
|
|
<label for="v5AssignmentReason">Begrundelse for tildeling <span class="text-danger">*</span></label>
|
|
|
|
|
<textarea id="v5AssignmentReason" class="form-control" rows="2" maxlength="2000" placeholder="Hvorfor overdrages sagen?"></textarea>
|
|
|
|
|
<p class="small text-muted mt-2 mb-0">Kommentar og begrundelse gemmes internt. Andre medarbejdere i den valgte gruppe bevares.</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="v5SubmitFeedback" class="small mt-2" role="status" aria-live="polite"></div>
|
|
|
|
|
</template>
|
|
|
|
|
<script id="caseV5Data" type="application/json">{{ {
|
|
|
|
|
'caseId': case.id,
|
|
|
|
|
'groups': assignment_groups or [],
|
|
|
|
|
'groupId': case.assigned_group_id,
|
|
|
|
|
'userId': case.ansvarlig_bruger_id
|
|
|
|
|
}|tojson }}</script>
|
2026-10-20 07:18:57 +02:00
|
|
|
<script src="/static/js/case-v5.js?v=20261020-simple-planner-2"></script>
|
|
|
|
|
<script src="/static/js/case-week-calendar.js?v=20261020-1"></script>
|
|
|
|
|
<script src="/static/js/case-slot-resize.js?v=20261020-2"></script>
|
2026-10-08 08:58:02 +02:00
|
|
|
<script src="/static/js/case-commands.js?v=20261006-1"></script>
|
Add comprehensive test coverage for case creation, assignment, and remote recovery
- Introduced tests for case creation commands, ensuring proper handling of UUIDs and payloads.
- Added tests for v5 assignment functionality, validating employee identification and group assignment.
- Implemented tests for remote recovery scenarios, including handling network failures and response validation.
- Created tests for hardware label generation and validation, ensuring proper URL formatting and QR code generation.
- Developed extensive tests for remote control functionality, covering connection isolation, command execution, and user permissions.
- Added tests for workflow timer registration, ensuring correct handling of timer states and ownership validation.
2026-10-15 12:17:09 +02:00
|
|
|
<script src="/static/js/case-command-suggestions.js?v=20261014-initials"></script>
|
|
|
|
|
<script src="/static/js/case-command-composer.js?v=20261014-first-suggestion-enter"></script>
|
2026-10-03 14:06:51 +02:00
|
|
|
{% endblock %}
|