diff --git a/AGENTS.md b/AGENTS.md index ce438ce..f1a509d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -164,9 +164,6 @@ Keyboard behavior: - Escape cancels - Tab / Shift+Tab navigates editable cells - Arrow keys navigate cells when not editing -- Alt+ArrowDown on a GZF cell opens the AMEV table (`GzfPickerModal`); the - selected GZF cell also shows a small table-icon button. The picked value is - committed like a typed edit. Support Ctrl+Plus and Ctrl+Shift+Plus for insertion. diff --git a/docs/circuit-list-editor-interactions.md b/docs/circuit-list-editor-interactions.md index 6c793fc..c8c02aa 100644 --- a/docs/circuit-list-editor-interactions.md +++ b/docs/circuit-list-editor-interactions.md @@ -44,7 +44,6 @@ Selection, keyboard movement, and editability checks run against this normalized - arrow keys: move selected cell in grid when not editing - type-to-edit: printable keys open edit mode and replace current display value with typed character - `Ctrl+Plus` / `Ctrl+Shift+Plus`: insert below the selected circuit or device context -- `Alt+ArrowDown` on a GZF cell (selected or editing): open the AMEV simultaneity-factor table - `Delete`: delete the selected circuit or device context after confirmation For insertion, a circuit-level cell creates a reserve circuit directly after the selected circuit. A device-level cell creates a manual device row directly after the selected device. On the virtual `-frei-` row, or without a valid row selection, the shortcut creates a circuit at the end of the active section. Insertions use command history and never renumber existing equipment identifiers. @@ -53,17 +52,6 @@ For deletion, a circuit-level cell targets the complete circuit and a device-lev Creating or deleting a device row updates the row and the circuit reserve state in one SQLite transaction. -## AMEV Simultaneity Factor - -The selected GZF cell shows a small table-icon button; it and `Alt+ArrowDown` open -the shared `GzfPickerModal` (AMEV Planungshilfe, Tabelle 3), which the project -device dialog uses as well. "Übernehmen" commits the mean value of the chosen -consumer group through the same path as a typed edit (`commitEdit` with an -explicit target cell), so it is one undoable command and works on device rows, -compact circuits, reserve circuits and the `-frei-` row. A running inline edit -of the cell is discarded when the picker opens. The button only appears on the -selected cell; the grid keeps its static-text cells. - ## Equipment Identifier Validation Equipment identifiers are compared case-insensitively after trimming whitespace. A conflicting edit is highlighted before submission and cannot be committed. Existing conflicts are highlighted in the grid. Validation errors remain dismissible above the editor instead of replacing the complete workspace. diff --git a/src/app/globals.css b/src/app/globals.css index 21b1050..22da5df 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -1230,38 +1230,6 @@ a.kpi:hover { outline-offset: -2px; } -/* Picker trigger on the selected GZF cell. Positioned over the cell so the - column width does not change while the selection moves. */ -.tree-grid td:has(> .cell-picker-trigger) { - position: relative; -} - -.tree-grid .cell-picker-trigger { - position: absolute; - top: 50%; - left: 0.2rem; - transform: translateY(-50%); - display: inline-flex; - align-items: center; - justify-content: center; - width: 1.15rem; - height: 1.15rem; - border: 1px solid var(--accent-blue-strong-border); - border-radius: 3px; - padding: 0; - background: var(--panel-bg); - color: var(--color-primary); - cursor: pointer; -} - -:root[data-bs-theme="dark"] .tree-grid .cell-picker-trigger { - color: var(--color-accent-pale); -} - -.tree-grid .cell-picker-trigger:hover { - background: var(--accent-blue-soft-bg); -} - .tree-grid .section-title { display: flex; align-items: baseline; diff --git a/src/app/projects/[projectId]/circuit-lists/[circuitListId]/tree-edit/page.tsx b/src/app/projects/[projectId]/circuit-lists/[circuitListId]/tree-edit/page.tsx index 90893f6..89679cf 100644 --- a/src/app/projects/[projectId]/circuit-lists/[circuitListId]/tree-edit/page.tsx +++ b/src/app/projects/[projectId]/circuit-lists/[circuitListId]/tree-edit/page.tsx @@ -1,6 +1,5 @@ "use client"; -import { ArrowLeft } from "lucide-react"; import Link from "next/link"; import { useParams } from "next/navigation"; import { CircuitTreeEditor } from "../../../../../../frontend/components/circuit-tree-editor"; @@ -11,19 +10,9 @@ export default function CircuitTreeEditPage() { return (
-
- -