fix(menü): Wiederherstellen nur noch über den Neu-laden-Knopf der Titelzeile (D81-Nachtrag 2)
Das Zeilen-Symbol im Dokumenten-Menü konnte ein UNGEÖFFNETES mitgeliefertes Dokument zurücksetzen — ohne zu sehen, was man verwirft (Nutzer-Einwand). Umbenennen und Löschen bleiben je Zeile; restoreDoc() wirkt nur noch auf das geöffnete Dokument und prüft das selbst. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
67d0ef421b
commit
ed81a2fe41
+1
-1
@@ -24,7 +24,7 @@ reverse.
|
||||
## 2026-08-26
|
||||
|
||||
- The document picker moved into the app header: `Werkbaum › name` opens the menu — on the phone it is reachable from both panes, and the name takes over the subtitle line
|
||||
- The document menu groups by kind — included, yours, sources — carries rename, delete and restore on each row, and scrolls instead of being cut off on small screens
|
||||
- The document menu groups by kind — included, yours, sources — carries rename and delete on each row, and scrolls instead of being cut off on small screens
|
||||
- The editor title bar is labelled `Text editor` again and holds the document's own buttons: save, snapshot, history, reload from the source, and a short `Share` button that puts the plan on a server
|
||||
- The address bar follows the document you switch to: `?live=` and `?sourceUrl=` name what is in front of you, so a reload brings back the same plan
|
||||
- Switching to a server document in the picker now really opens it live — before it only showed its last state
|
||||
|
||||
@@ -7041,3 +7041,15 @@ cross-origin.
|
||||
Abbruch tut nichts; die Probe gegen das echte Backend liefert
|
||||
`{name:"editor-backend"}`. `infoUrl()` liegt headless in live.js (39
|
||||
Live-Tests, +1).
|
||||
|
||||
**Nachtrag 2 — Wiederherstellen fliegt aus den Menü-Zeilen wieder raus.**
|
||||
Nutzer-Einwand nach dem ersten Arbeiten damit: Im Menü ließe sich ein
|
||||
**ungeöffnetes** Dokument zurücksetzen — „was keinen Sinn ergäbe". Der
|
||||
Einwand trifft: Wiederherstellen verwirft Änderungen, und wer das Dokument
|
||||
nicht vor sich hat, sieht nicht, was er verwirft. Umbenennen und Löschen
|
||||
bleiben je Zeile (dort ist der Blick auf den Inhalt nicht nötig — der Name
|
||||
steht da, und Löschen fragt nach); Wiederherstellen wirkt nur noch über den
|
||||
**Neu-laden-Knopf der Editor-Titelzeile**, also auf das geöffnete Dokument.
|
||||
`restoreDoc()` prüft das selbst (`d.id !== activeId` → nichts), statt sich
|
||||
auf den Aufrufer zu verlassen. Der D81-Haupttext oben beschreibt insoweit
|
||||
den Zwischenstand von einem Tag.
|
||||
|
||||
@@ -532,9 +532,10 @@
|
||||
|
||||
#ed.docs.picker
|
||||
The app header reads "Werkbaum > name": the chip opens the menu, grouped by
|
||||
kind (shipped, yours, sources), with rename, delete and restore on each row.
|
||||
It scrolls as a whole instead of being cut off on small screens, and on the
|
||||
phone it is reachable from both panes.
|
||||
kind (shipped, yours, sources), with rename and delete on each row. Restore
|
||||
lives on the editor title bar's reload button instead, acting only on the
|
||||
open document. The menu scrolls as a whole instead of being cut off on
|
||||
small screens, and on the phone it is reachable from both panes.
|
||||
|
||||
#ed.docs.url
|
||||
A link can carry the address of a text file, which is then fetched on every
|
||||
|
||||
Reference in New Issue
Block a user