0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-06 14:50:20 -05:00

Merge pull request #5424 from penpot/superalex-bugfixing-30

🐛 Bug fixing
This commit is contained in:
Eva Marco 2024-12-05 16:12:16 +01:00 committed by GitHub
commit 69df69c4bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
32 changed files with 32 additions and 37 deletions

View file

@ -33,7 +33,7 @@
[:id ::sm/uuid]
[:axis [::sm/one-of #{:x :y}]]
[:position ::sm/safe-number]
[:frame-id {:optional true} ::sm/uuid]])
[:frame-id {:optional true} [:maybe ::sm/uuid]]])
(def schema:guides
[:map-of {:gen/max 2} ::sm/uuid schema:guide])

View file

@ -203,7 +203,7 @@ geometric structure. In Penpot there are three types of guides:
<p>The history panel keeps track of the latest changes on an opened file.</p>
<h4>View history</h4>
<p>To view the recent history of a file at the workspace press <kbd>Ctrl/⌘</kbd> + <kbd>H</kbd> or click at the history icon on the toolbar at the left.</p>
<p>To view the recent history of a file at the workspace click at the history icon on the toolbar at the left.</p>
<p>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.</p>
<figure>
<img src="/img/workspace-basics/history.webp" alt="History panel" />

View file

@ -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",

View file

@ -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]

View file

@ -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}

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -6108,7 +6108,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"

View file

@ -6112,7 +6112,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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"