[40] Ausschnitte duplizieren (Ausschnitte-Panel)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NTYBZBvLYCtugMJoKXaB67
This commit is contained in:
7 files changed
+49
-1
No files matched your search
@@ -337,6 +337,18 @@ export function ViewSnapshotsPanel() {
|
||||
>
|
||||
✎
|
||||
</button>
|
||||
<button
|
||||
className="nav-add"
|
||||
style={{ padding: "1px 5px" }}
|
||||
title={t("viewsnap.duplicate")}
|
||||
data-testid={`viewsnap-duplicate-${snap.id}`}
|
||||
onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
host.onDuplicateViewSnapshot(snap.id);
|
||||
}}
|
||||
>
|
||||
⧉
|
||||
</button>
|
||||
<button
|
||||
className="nav-add"
|
||||
style={{ padding: "1px 5px" }}
|
||||
|
||||
@@ -673,6 +673,8 @@ export interface PanelHostValue {
|
||||
onApplyViewSnapshot: (id: string) => void;
|
||||
/** Benennt einen Ausschnitt um. */
|
||||
onRenameViewSnapshot: (id: string, name: string) => void;
|
||||
/** Dupliziert einen Ausschnitt ([40]): Kopie hinter dem Original, gleicher Ordner. */
|
||||
onDuplicateViewSnapshot: (id: string) => void;
|
||||
/** Löscht einen Ausschnitt. */
|
||||
onDeleteViewSnapshot: (id: string) => void;
|
||||
|
||||
|
||||
Reference in new issue
Block a user