web: re-save over the open frame, keeping its last three looks

Opening one of the folder's own photos and hitting SAVE PHOTO used to
make a second copy of it. Now it replaces that row — same id, same place
— and the look the row carried steps into its history, newest first and
capped at three, because the pixels it described are gone. The frame's
own column in MY PHOTOS lists those looks (click one to put its settings
back on the stage) and carries the landing-page consent as a plain tick,
which answers the click at once. A file from the disk clears the open
id, so a fresh frame still adds one.
This commit is contained in:
2026-09-18 14:47:30 +07:00
parent 27099c2877
commit 72d5ce1c3e
7 changed files with 249 additions and 51 deletions
+10
View File
@@ -116,6 +116,16 @@
gap: 6px;
}
.col-sub .chip { background: var(--bg); }
/* The consent tick in MY PHOTOS' history column: a plain checkbox, not a chip —
it is a permission, and it reads as one. */
.consent {
display: flex; align-items: flex-start; gap: 7px;
margin-top: 10px; padding-top: 10px;
border-top: 1px solid var(--border);
font-size: 12px; line-height: 1.4; color: var(--text-dim);
cursor: pointer;
}
.consent input { flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--accent); }
.chip[aria-pressed="true"], .chip.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
/* Edited value, strip closed: the text glows amber, the border does not. */
.chip.amber, .chip.amber .val { color: var(--accent); }