penpot/penpot

Match version preview banner text to History sidebar labels

Open

#9,503 建立於 2026年5月11日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Clojure (47,547 star) (2,944 fork)batch import
community contributiongood first issuemanaged on taiga

描述

Is your feature request related to a problem? Please describe.

Release context: Version preview is scheduled to ship to production in Penpot 2.16. At the time this issue is published, design.penpot.app may still be on an earlier release, so you need 2.16 or later (self-hosted, staging, or another production instance on 2.16+) to reproduce and verify the behavior described below.

When you preview a file version from History in the workspace, the bar at the top of the canvas can show a technical label (for example something like internal/snapshot/20). In the sidebar, the same autosave is shown with a clear date and time, and pinned “saved” versions can show a custom name you chose.

That mismatch makes it hard to be sure which entry you are actually previewing, especially if you have several autosaves close together or you rely on custom version names.

Describe the solution you'd like

The preview banner should show exactly the same identifying text as the History sidebar uses for that version:

  • For user-named (pinned) versions, show the custom name.
  • For autosaves, show the same auto-generated label the sidebar already uses (localized date and time, not an internal snapshot string).

This should apply whenever the banner is telling you which version you are previewing, so the canvas and the sidebar always “speak the same language.”

How to check it: on Penpot 2.16+ or later (where version preview is available), open History, expand autosaves, start preview on one of them, and confirm the banner matches the line you clicked. Repeat with a named saved version after renaming it.

貢獻者指南