mirror of
https://github.com/penpot/penpot.git
synced 2025-05-22 08:16:10 +02:00
📎 Add (temporary) visual regression tests for the Workspace
This commit is contained in:
parent
8a0aa9cd7f
commit
7f4f54e3fd
11 changed files with 914 additions and 7 deletions
|
@ -169,6 +169,7 @@
|
|||
:expanded (> size 276))
|
||||
|
||||
:id "right-sidebar-aside"
|
||||
:data-testid "right-sidebar"
|
||||
:data-size (str size)
|
||||
:style #js {"--width" (if can-be-expanded? (dm/str size "px") 276)}}
|
||||
(when can-be-expanded?
|
||||
|
|
|
@ -520,9 +520,11 @@
|
|||
:name "listing-style"}
|
||||
[:& radio-button {:icon i/view-as-list
|
||||
:value "list"
|
||||
:title (tr "workspace.assets.list-view")
|
||||
:id "opt-list"}]
|
||||
[:& radio-button {:icon i/flex-grid
|
||||
:value "grid"
|
||||
:title (tr "workspace.assets.grid-view")
|
||||
:id "opt-grid"}]]])
|
||||
|
||||
(when (and components-v2 (not read-only?) local?)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue