0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-04 19:11:20 -05:00

Merge remote-tracking branch 'origin/staging' into develop

This commit is contained in:
Andrey Antukh 2022-03-23 14:16:15 +01:00
commit 80549bda9b
4 changed files with 17 additions and 5 deletions

View file

@ -93,12 +93,24 @@ More info:
Each commit should have:
- A concise subject using imperative mood.
- The subject should have capitalized the first letter and without
period at the end.
- The subject should have capitalized the first letter, without period
at the end and no larger than 65 characters.
- A blank line between the subject line and the body.
- An entry on the CHANGES.md file if applicable, referencing the
github or taiga issue/user-story using the these same rules.
Examples of good commit messags:
- :bug: Fix unexpected error on launching modal
- :bug: Set proper error message on generic error
- :sparkles: Enable new modal for profile
- :zap: Improve performance of dashboard navigation
- :wrench: Update default backend configuration
- :books: Add more documentation for authentication process
- :ambulance: Fix critical bug on user registration process
- :tada: Add new approach for user registration
## Code of conduct ##
As contributors and maintainers of this project, we pledge to respect

View file

@ -61,7 +61,7 @@
shapes (if (seq selected)
(wsh/lookup-shapes state selected)
(wsh/filter-shapes state #(pos? (count (:exports %)))))
(reverse (wsh/filter-shapes state #(pos? (count (:exports %))))))
exports (for [shape shapes
export (:exports shape)]

View file

@ -186,7 +186,7 @@
(mf/use-callback
(mf/deps file frames)
(fn [_]
(st/emit! (de/show-workspace-export-frames-dialog frames))))
(st/emit! (de/show-workspace-export-frames-dialog (reverse frames)))))
on-item-hover
(mf/use-callback

View file

@ -49,7 +49,7 @@
(fn [event]
(dom/prevent-default event)
(if (= :multiple type)
(st/emit! (de/show-workspace-export-dialog {:selected ids}))
(st/emit! (de/show-workspace-export-dialog {:selected (reverse ids)}))
;; In other all cases we only allowed to have a single
;; shape-id because multiple shape-ids are handled