diff --git a/docs/user-guide/workspace-basics/index.njk b/docs/user-guide/workspace-basics/index.njk index 24d7ad360..55e98657a 100644 --- a/docs/user-guide/workspace-basics/index.njk +++ b/docs/user-guide/workspace-basics/index.njk @@ -203,7 +203,7 @@ geometric structure. In Penpot there are three types of guides:

The history panel keeps track of the latest changes on an opened file.

View history

-

To view the recent history of a file at the workspace press Ctrl/⌘ + H or click at the history icon on the toolbar at the left.

+

To view the recent history of a file at the workspace click at the history icon on the toolbar at the left.

At the history you can see items with information about the last changes. At first sight you have object type (rectangle, text, image...) and type of change (New, Modified, Deleted...). If you press the item further details are shown.

History panel diff --git a/frontend/playwright/ui/specs/versions.spec.js b/frontend/playwright/ui/specs/versions.spec.js index f99ae148c..8d26c10c5 100644 --- a/frontend/playwright/ui/specs/versions.spec.js +++ b/frontend/playwright/ui/specs/versions.spec.js @@ -30,7 +30,7 @@ test("Save and restore version", async ({ page }) => { "workspace/versions-snapshot-1.json", ); - await page.getByLabel("History (Alt+H)").click(); + await page.getByLabel("History").click(); await workspacePage.mockRPC( "create-file-snapshot", diff --git a/frontend/src/app/main/data/workspace/shortcuts.cljs b/frontend/src/app/main/data/workspace/shortcuts.cljs index 3e87114af..7d6ca0600 100644 --- a/frontend/src/app/main/data/workspace/shortcuts.cljs +++ b/frontend/src/app/main/data/workspace/shortcuts.cljs @@ -447,11 +447,6 @@ :subsections [:panels] :fn #(st/emit! (dw/go-to-layout :assets))} - :toggle-history {:tooltip (ds/alt "H") - :command (ds/a-mod "h") - :subsections [:panels] - :fn #(emit-when-no-readonly (dw/go-to-layout :document-history))} - :toggle-colorpalette {:tooltip (ds/alt "P") :command (ds/a-mod "p") :subsections [:panels] diff --git a/frontend/src/app/main/ui/workspace/right_header.cljs b/frontend/src/app/main/ui/workspace/right_header.cljs index 5c1cc9df0..17ea3f5ce 100644 --- a/frontend/src/app/main/ui/workspace/right_header.cljs +++ b/frontend/src/app/main/ui/workspace/right_header.cljs @@ -243,8 +243,8 @@ (when-not ^boolean read-only? [:div {:class (stl/css :history-section)} [:button - {:title (tr "workspace.sidebar.history" (sc/get-tooltip :toggle-history)) - :aria-label (tr "workspace.sidebar.history" (sc/get-tooltip :toggle-history)) + {:title (tr "workspace.sidebar.history") + :aria-label (tr "workspace.sidebar.history") :class (stl/css-case :selected (contains? layout :document-history) :history-button true) :on-click toggle-history} diff --git a/frontend/translations/ar.po b/frontend/translations/ar.po index 67aeb19b1..dc5453048 100644 --- a/frontend/translations/ar.po +++ b/frontend/translations/ar.po @@ -4452,7 +4452,7 @@ msgstr "توسيع الشريط الجانبي" #: src/app/main/ui/workspace/right_header.cljs:246, src/app/main/ui/workspace/right_header.cljs:247 msgid "workspace.sidebar.history" -msgstr "التاريخ (%s)" +msgstr "التاريخ" #: src/app/main/ui/workspace/sidebar/layers.cljs:524, src/app/main/ui/workspace/sidebar.cljs:110, src/app/main/ui/workspace/sidebar.cljs:114, src/app/main/ui/workspace/sidebar.cljs:123 msgid "workspace.sidebar.layers" diff --git a/frontend/translations/ca.po b/frontend/translations/ca.po index f86166527..8220a452c 100644 --- a/frontend/translations/ca.po +++ b/frontend/translations/ca.po @@ -4281,7 +4281,7 @@ msgstr "Actualitza el component principal" #: src/app/main/ui/workspace/right_header.cljs:246, src/app/main/ui/workspace/right_header.cljs:247 msgid "workspace.sidebar.history" -msgstr "Historial (%s)" +msgstr "Historial" #: src/app/main/ui/workspace/sidebar/layers.cljs:524, src/app/main/ui/workspace/sidebar.cljs:110, src/app/main/ui/workspace/sidebar.cljs:114, src/app/main/ui/workspace/sidebar.cljs:123 msgid "workspace.sidebar.layers" diff --git a/frontend/translations/cs.po b/frontend/translations/cs.po index 8eb708a46..caa94d251 100644 --- a/frontend/translations/cs.po +++ b/frontend/translations/cs.po @@ -5797,7 +5797,7 @@ msgstr "Rozbalit postranní panel" #: src/app/main/ui/workspace/right_header.cljs:246, src/app/main/ui/workspace/right_header.cljs:247 msgid "workspace.sidebar.history" -msgstr "Historie (%s)" +msgstr "Historie" #: src/app/main/ui/workspace/sidebar/layers.cljs:524, src/app/main/ui/workspace/sidebar.cljs:110, src/app/main/ui/workspace/sidebar.cljs:114, src/app/main/ui/workspace/sidebar.cljs:123 msgid "workspace.sidebar.layers" diff --git a/frontend/translations/de.po b/frontend/translations/de.po index c3e611ac4..106ddc76c 100644 --- a/frontend/translations/de.po +++ b/frontend/translations/de.po @@ -5795,7 +5795,7 @@ msgstr "Seitenleiste einblenden" #: src/app/main/ui/workspace/right_header.cljs:246, src/app/main/ui/workspace/right_header.cljs:247 msgid "workspace.sidebar.history" -msgstr "Verlauf (%s)" +msgstr "Verlauf" #: src/app/main/ui/workspace/sidebar/layers.cljs:524, src/app/main/ui/workspace/sidebar.cljs:110, src/app/main/ui/workspace/sidebar.cljs:114, src/app/main/ui/workspace/sidebar.cljs:123 msgid "workspace.sidebar.layers" diff --git a/frontend/translations/el.po b/frontend/translations/el.po index f2171732e..28bd42937 100644 --- a/frontend/translations/el.po +++ b/frontend/translations/el.po @@ -1965,7 +1965,7 @@ msgstr "Ανακάλυψη" #: src/app/main/ui/workspace/right_header.cljs:246, src/app/main/ui/workspace/right_header.cljs:247 msgid "workspace.sidebar.history" -msgstr "Ιστορικό (%s)" +msgstr "Ιστορικό" #: src/app/main/ui/workspace/sidebar/layers.cljs:524, src/app/main/ui/workspace/sidebar.cljs:110, src/app/main/ui/workspace/sidebar.cljs:114, src/app/main/ui/workspace/sidebar.cljs:123 msgid "workspace.sidebar.layers" diff --git a/frontend/translations/en.po b/frontend/translations/en.po index e001ffb0e..3677fa540 100644 --- a/frontend/translations/en.po +++ b/frontend/translations/en.po @@ -6105,7 +6105,7 @@ msgstr "Expand sidebar" #: src/app/main/ui/workspace/right_header.cljs:246, src/app/main/ui/workspace/right_header.cljs:247 msgid "workspace.sidebar.history" -msgstr "History (%s)" +msgstr "History" #: src/app/main/ui/workspace/sidebar/layers.cljs:524, src/app/main/ui/workspace/sidebar.cljs:110, src/app/main/ui/workspace/sidebar.cljs:114, src/app/main/ui/workspace/sidebar.cljs:123 msgid "workspace.sidebar.layers" diff --git a/frontend/translations/es.po b/frontend/translations/es.po index 1c904b1b1..fc2ee44b4 100644 --- a/frontend/translations/es.po +++ b/frontend/translations/es.po @@ -6109,7 +6109,7 @@ msgstr "Abrir barra lateral" #: src/app/main/ui/workspace/right_header.cljs:246, src/app/main/ui/workspace/right_header.cljs:247 msgid "workspace.sidebar.history" -msgstr "Historial (%s)" +msgstr "Historial" #: src/app/main/ui/workspace/sidebar/layers.cljs:524, src/app/main/ui/workspace/sidebar.cljs:110, src/app/main/ui/workspace/sidebar.cljs:114, src/app/main/ui/workspace/sidebar.cljs:123 msgid "workspace.sidebar.layers" diff --git a/frontend/translations/eu.po b/frontend/translations/eu.po index d46b8dc99..aed3343cb 100644 --- a/frontend/translations/eu.po +++ b/frontend/translations/eu.po @@ -4693,7 +4693,7 @@ msgstr "Ireki alboko barra" #: src/app/main/ui/workspace/right_header.cljs:246, src/app/main/ui/workspace/right_header.cljs:247 msgid "workspace.sidebar.history" -msgstr "Historikoa (%s)" +msgstr "Historikoa" #: src/app/main/ui/workspace/sidebar/layers.cljs:524, src/app/main/ui/workspace/sidebar.cljs:110, src/app/main/ui/workspace/sidebar.cljs:114, src/app/main/ui/workspace/sidebar.cljs:123 msgid "workspace.sidebar.layers" diff --git a/frontend/translations/fa.po b/frontend/translations/fa.po index 3cc6a13bf..e7d2f6bfa 100644 --- a/frontend/translations/fa.po +++ b/frontend/translations/fa.po @@ -3033,7 +3033,7 @@ msgstr "گسترش نوار کناری" #: src/app/main/ui/workspace/right_header.cljs:246, src/app/main/ui/workspace/right_header.cljs:247 msgid "workspace.sidebar.history" -msgstr "تاریخچه (%s)" +msgstr "تاریخچه" #: src/app/main/ui/workspace/sidebar/layers.cljs:524, src/app/main/ui/workspace/sidebar.cljs:110, src/app/main/ui/workspace/sidebar.cljs:114, src/app/main/ui/workspace/sidebar.cljs:123 msgid "workspace.sidebar.layers" diff --git a/frontend/translations/fr.po b/frontend/translations/fr.po index 01c4b3ef1..ca02d7b28 100644 --- a/frontend/translations/fr.po +++ b/frontend/translations/fr.po @@ -5656,7 +5656,7 @@ msgstr "Ouvrir la barre latérale" #: src/app/main/ui/workspace/right_header.cljs:246, src/app/main/ui/workspace/right_header.cljs:247 msgid "workspace.sidebar.history" -msgstr "Historique (%s)" +msgstr "Historique" #: src/app/main/ui/workspace/sidebar/layers.cljs:524, src/app/main/ui/workspace/sidebar.cljs:110, src/app/main/ui/workspace/sidebar.cljs:114, src/app/main/ui/workspace/sidebar.cljs:123 msgid "workspace.sidebar.layers" diff --git a/frontend/translations/ha.po b/frontend/translations/ha.po index 3fbf53ca9..395d32a30 100644 --- a/frontend/translations/ha.po +++ b/frontend/translations/ha.po @@ -5042,7 +5042,7 @@ msgstr "kara yankin ma'agiyar bayani" #: src/app/main/ui/workspace/right_header.cljs:246, src/app/main/ui/workspace/right_header.cljs:247 msgid "workspace.sidebar.history" -msgstr "labari (%s)" +msgstr "labari" #: src/app/main/ui/workspace/sidebar/layers.cljs:524, src/app/main/ui/workspace/sidebar.cljs:110, src/app/main/ui/workspace/sidebar.cljs:114, src/app/main/ui/workspace/sidebar.cljs:123 msgid "workspace.sidebar.layers" diff --git a/frontend/translations/he.po b/frontend/translations/he.po index dff9ea49d..a275e7962 100644 --- a/frontend/translations/he.po +++ b/frontend/translations/he.po @@ -5776,7 +5776,7 @@ msgstr "הרחבת סרגל צד" #: src/app/main/ui/workspace/right_header.cljs:246, src/app/main/ui/workspace/right_header.cljs:247 msgid "workspace.sidebar.history" -msgstr "היסטוריה (%s)" +msgstr "היסטוריה" #: src/app/main/ui/workspace/sidebar/layers.cljs:524, src/app/main/ui/workspace/sidebar.cljs:110, src/app/main/ui/workspace/sidebar.cljs:114, src/app/main/ui/workspace/sidebar.cljs:123 msgid "workspace.sidebar.layers" diff --git a/frontend/translations/hr.po b/frontend/translations/hr.po index 350ab8824..e5723bcf1 100644 --- a/frontend/translations/hr.po +++ b/frontend/translations/hr.po @@ -4294,7 +4294,7 @@ msgstr "Ažuriraj glavnu komponentu" #: src/app/main/ui/workspace/right_header.cljs:246, src/app/main/ui/workspace/right_header.cljs:247 msgid "workspace.sidebar.history" -msgstr "Povijest (%s)" +msgstr "Povijest" #: src/app/main/ui/workspace/sidebar/layers.cljs:524, src/app/main/ui/workspace/sidebar.cljs:110, src/app/main/ui/workspace/sidebar.cljs:114, src/app/main/ui/workspace/sidebar.cljs:123 msgid "workspace.sidebar.layers" diff --git a/frontend/translations/id.po b/frontend/translations/id.po index e368467f1..d1a6b3ca0 100644 --- a/frontend/translations/id.po +++ b/frontend/translations/id.po @@ -5823,7 +5823,7 @@ msgstr "Buka bilah samping" #: src/app/main/ui/workspace/right_header.cljs:246, src/app/main/ui/workspace/right_header.cljs:247 msgid "workspace.sidebar.history" -msgstr "Riwayat (%s)" +msgstr "Riwayat" #: src/app/main/ui/workspace/sidebar/layers.cljs:524, src/app/main/ui/workspace/sidebar.cljs:110, src/app/main/ui/workspace/sidebar.cljs:114, src/app/main/ui/workspace/sidebar.cljs:123 msgid "workspace.sidebar.layers" diff --git a/frontend/translations/lv.po b/frontend/translations/lv.po index 4b593f0bf..732ad1551 100644 --- a/frontend/translations/lv.po +++ b/frontend/translations/lv.po @@ -5833,7 +5833,7 @@ msgstr "Izvērst sānjoslu" #: src/app/main/ui/workspace/right_header.cljs:246, src/app/main/ui/workspace/right_header.cljs:247 msgid "workspace.sidebar.history" -msgstr "Vēsture (%s)" +msgstr "Vēsture" #: src/app/main/ui/workspace/sidebar/layers.cljs:524, src/app/main/ui/workspace/sidebar.cljs:110, src/app/main/ui/workspace/sidebar.cljs:114, src/app/main/ui/workspace/sidebar.cljs:123 msgid "workspace.sidebar.layers" diff --git a/frontend/translations/nl.po b/frontend/translations/nl.po index e082f4eff..d2a91aa0b 100644 --- a/frontend/translations/nl.po +++ b/frontend/translations/nl.po @@ -5838,7 +5838,7 @@ msgstr "Zijbalk uitklappen" #: src/app/main/ui/workspace/right_header.cljs:246, src/app/main/ui/workspace/right_header.cljs:247 msgid "workspace.sidebar.history" -msgstr "Geschiedenis (%s)" +msgstr "Geschiedenis" #: src/app/main/ui/workspace/sidebar/layers.cljs:524, src/app/main/ui/workspace/sidebar.cljs:110, src/app/main/ui/workspace/sidebar.cljs:114, src/app/main/ui/workspace/sidebar.cljs:123 msgid "workspace.sidebar.layers" diff --git a/frontend/translations/pl.po b/frontend/translations/pl.po index 60f1e57cf..6b7de1af3 100644 --- a/frontend/translations/pl.po +++ b/frontend/translations/pl.po @@ -4589,7 +4589,7 @@ msgstr "Rozwiń pasek boczny" #: src/app/main/ui/workspace/right_header.cljs:246, src/app/main/ui/workspace/right_header.cljs:247 msgid "workspace.sidebar.history" -msgstr "Historia (%s)" +msgstr "Historia" #: src/app/main/ui/workspace/sidebar/layers.cljs:524, src/app/main/ui/workspace/sidebar.cljs:110, src/app/main/ui/workspace/sidebar.cljs:114, src/app/main/ui/workspace/sidebar.cljs:123 msgid "workspace.sidebar.layers" diff --git a/frontend/translations/pt_BR.po b/frontend/translations/pt_BR.po index c30d36cad..b23f720c2 100644 --- a/frontend/translations/pt_BR.po +++ b/frontend/translations/pt_BR.po @@ -4572,7 +4572,7 @@ msgstr "Expandir a barra lateral" #: src/app/main/ui/workspace/right_header.cljs:246, src/app/main/ui/workspace/right_header.cljs:247 msgid "workspace.sidebar.history" -msgstr "Histórico (%s)" +msgstr "Histórico" #: src/app/main/ui/workspace/sidebar/layers.cljs:524, src/app/main/ui/workspace/sidebar.cljs:110, src/app/main/ui/workspace/sidebar.cljs:114, src/app/main/ui/workspace/sidebar.cljs:123 msgid "workspace.sidebar.layers" diff --git a/frontend/translations/pt_PT.po b/frontend/translations/pt_PT.po index a4ae5c293..c9e9ed632 100644 --- a/frontend/translations/pt_PT.po +++ b/frontend/translations/pt_PT.po @@ -5629,7 +5629,7 @@ msgstr "Expandir barra lateral" #: src/app/main/ui/workspace/right_header.cljs:246, src/app/main/ui/workspace/right_header.cljs:247 msgid "workspace.sidebar.history" -msgstr "Histórico (%s)" +msgstr "Histórico" #: src/app/main/ui/workspace/sidebar/layers.cljs:524, src/app/main/ui/workspace/sidebar.cljs:110, src/app/main/ui/workspace/sidebar.cljs:114, src/app/main/ui/workspace/sidebar.cljs:123 msgid "workspace.sidebar.layers" diff --git a/frontend/translations/ro.po b/frontend/translations/ro.po index 0dc3d14e0..7990ab0ff 100644 --- a/frontend/translations/ro.po +++ b/frontend/translations/ro.po @@ -5113,7 +5113,7 @@ msgstr "Extindeți bara laterală" #: src/app/main/ui/workspace/right_header.cljs:246, src/app/main/ui/workspace/right_header.cljs:247 msgid "workspace.sidebar.history" -msgstr "Istoric (%s)" +msgstr "Istoric" #: src/app/main/ui/workspace/sidebar/layers.cljs:524, src/app/main/ui/workspace/sidebar.cljs:110, src/app/main/ui/workspace/sidebar.cljs:114, src/app/main/ui/workspace/sidebar.cljs:123 msgid "workspace.sidebar.layers" diff --git a/frontend/translations/ru.po b/frontend/translations/ru.po index f276bce68..718a3fa48 100644 --- a/frontend/translations/ru.po +++ b/frontend/translations/ru.po @@ -5603,7 +5603,7 @@ msgstr "Расширить боковую панель" #: src/app/main/ui/workspace/right_header.cljs:246, src/app/main/ui/workspace/right_header.cljs:247 msgid "workspace.sidebar.history" -msgstr "История (%s)" +msgstr "История" #: src/app/main/ui/workspace/sidebar/layers.cljs:524, src/app/main/ui/workspace/sidebar.cljs:110, src/app/main/ui/workspace/sidebar.cljs:114, src/app/main/ui/workspace/sidebar.cljs:123 msgid "workspace.sidebar.layers" diff --git a/frontend/translations/sr.po b/frontend/translations/sr.po index 8cc263841..f12a6dcdc 100644 --- a/frontend/translations/sr.po +++ b/frontend/translations/sr.po @@ -5624,7 +5624,7 @@ msgstr "Прошири бочну траку" #: src/app/main/ui/workspace/right_header.cljs:246, src/app/main/ui/workspace/right_header.cljs:247 msgid "workspace.sidebar.history" -msgstr "Историја (%s)" +msgstr "Историја" #: src/app/main/ui/workspace/sidebar/layers.cljs:524, src/app/main/ui/workspace/sidebar.cljs:110, src/app/main/ui/workspace/sidebar.cljs:114, src/app/main/ui/workspace/sidebar.cljs:123 msgid "workspace.sidebar.layers" diff --git a/frontend/translations/sv.po b/frontend/translations/sv.po index 152f1e201..cb5688fc8 100644 --- a/frontend/translations/sv.po +++ b/frontend/translations/sv.po @@ -5814,7 +5814,7 @@ msgstr "Expandera sidonavigation" #: src/app/main/ui/workspace/right_header.cljs:246, src/app/main/ui/workspace/right_header.cljs:247 msgid "workspace.sidebar.history" -msgstr "Historia (%s)" +msgstr "Historia" #: src/app/main/ui/workspace/sidebar/layers.cljs:524, src/app/main/ui/workspace/sidebar.cljs:110, src/app/main/ui/workspace/sidebar.cljs:114, src/app/main/ui/workspace/sidebar.cljs:123 msgid "workspace.sidebar.layers" diff --git a/frontend/translations/tr.po b/frontend/translations/tr.po index d92f2e15a..c190e4d30 100644 --- a/frontend/translations/tr.po +++ b/frontend/translations/tr.po @@ -5813,7 +5813,7 @@ msgstr "Kenar çubuğunu genişlet" #: src/app/main/ui/workspace/right_header.cljs:246, src/app/main/ui/workspace/right_header.cljs:247 msgid "workspace.sidebar.history" -msgstr "Geçmiş (%s)" +msgstr "Geçmiş" #: src/app/main/ui/workspace/sidebar/layers.cljs:524, src/app/main/ui/workspace/sidebar.cljs:110, src/app/main/ui/workspace/sidebar.cljs:114, src/app/main/ui/workspace/sidebar.cljs:123 msgid "workspace.sidebar.layers" diff --git a/frontend/translations/ukr_UA.po b/frontend/translations/ukr_UA.po index d57edab81..073ba2f94 100644 --- a/frontend/translations/ukr_UA.po +++ b/frontend/translations/ukr_UA.po @@ -5401,7 +5401,7 @@ msgstr "Розкрити панель інструментів" #: src/app/main/ui/workspace/right_header.cljs:246, src/app/main/ui/workspace/right_header.cljs:247 msgid "workspace.sidebar.history" -msgstr "Історія (%s)" +msgstr "Історія" #: src/app/main/ui/workspace/sidebar/layers.cljs:524, src/app/main/ui/workspace/sidebar.cljs:110, src/app/main/ui/workspace/sidebar.cljs:114, src/app/main/ui/workspace/sidebar.cljs:123 msgid "workspace.sidebar.layers" diff --git a/frontend/translations/yo.po b/frontend/translations/yo.po index 08e48d15e..b20ec117a 100644 --- a/frontend/translations/yo.po +++ b/frontend/translations/yo.po @@ -4765,7 +4765,7 @@ msgstr "Fẹ òpó ẹ̀gbẹ́" #: src/app/main/ui/workspace/right_header.cljs:246, src/app/main/ui/workspace/right_header.cljs:247 msgid "workspace.sidebar.history" -msgstr "Ìtàn (%s)" +msgstr "Ìtàn" #: src/app/main/ui/workspace/sidebar/layers.cljs:524, src/app/main/ui/workspace/sidebar.cljs:110, src/app/main/ui/workspace/sidebar.cljs:114, src/app/main/ui/workspace/sidebar.cljs:123 msgid "workspace.sidebar.layers" diff --git a/frontend/translations/zh_CN.po b/frontend/translations/zh_CN.po index f6d9fda18..821f749de 100644 --- a/frontend/translations/zh_CN.po +++ b/frontend/translations/zh_CN.po @@ -5400,7 +5400,7 @@ msgstr "展开侧边栏" #: src/app/main/ui/workspace/right_header.cljs:246, src/app/main/ui/workspace/right_header.cljs:247 msgid "workspace.sidebar.history" -msgstr "历史(%s)" +msgstr "历史" #: src/app/main/ui/workspace/sidebar/layers.cljs:524, src/app/main/ui/workspace/sidebar.cljs:110, src/app/main/ui/workspace/sidebar.cljs:114, src/app/main/ui/workspace/sidebar.cljs:123 msgid "workspace.sidebar.layers"