Übergabestand 2026-10-14
Anmeldung ausschliesslich ueber Microsoft Entra ID; HR-Zugang wird mit
freischalten.ps1 vergeben und entzogen (mit Eintrag im Audit-Log).
Startpasswort des LOLYO-Exports kommt aus LOLYO_STARTPASSWORT.
Content-Security-Policy wird durchgesetzt.
Sicherheitskonzept in docs/sicherheitskonzept.md; Lesezugriff fuer die IT
und Abnahme-Checkliste in deploy/windows/README.md.
Stand: d136da0
This commit is contained in:
@@ -5,12 +5,12 @@ import { describe, expect, it } from "vitest";
|
||||
import { GraphOrgChart } from "@/components/orgchart/GraphOrgChart";
|
||||
import type { ChartNode } from "@/components/orgchart/types";
|
||||
|
||||
// Regression cover for the graphical org chart. The expand control lives
|
||||
// Interaction cover for the graphical org chart. The expand control lives
|
||||
// inside a React Flow custom node, and React Flow decides whether that node
|
||||
// receives pointer events at all from the props passed to <ReactFlow>:
|
||||
// setting elementsSelectable={false} alongside nodesDraggable={false} made it
|
||||
// setting elementsSelectable={false} alongside nodesDraggable={false} makes it
|
||||
// compute pointer-events:none for the whole card, so neither the toggle nor
|
||||
// the employee link responded. Nothing in the type system catches that, and
|
||||
// the employee link responds. Nothing in the type system catches that, and
|
||||
// no logic test would either — it only shows up when the tree is rendered
|
||||
// and actually clicked.
|
||||
|
||||
@@ -73,7 +73,7 @@ describe("GraphOrgChart", () => {
|
||||
});
|
||||
|
||||
it("keeps the node's pointer events enabled", () => {
|
||||
// The direct assertion on the regression: React Flow writes
|
||||
// The direct assertion: React Flow writes
|
||||
// pointer-events onto the node wrapper as an inline style, and 'none'
|
||||
// there silently disables everything inside the card.
|
||||
const { container } = render(<Harness />);
|
||||
|
||||
Reference in New Issue
Block a user