mirror of
https://github.com/penpot/penpot.git
synced 2025-05-31 22:51:37 +02:00
Merge remote-tracking branch 'origin/staging' into develop
This commit is contained in:
commit
774e11c827
8 changed files with 28 additions and 9 deletions
|
@ -18,7 +18,14 @@
|
||||||
- Fix design tab has a horizontal scroll [Taiga #10660](https://tree.taiga.io/project/penpot/issue/10660)
|
- Fix design tab has a horizontal scroll [Taiga #10660](https://tree.taiga.io/project/penpot/issue/10660)
|
||||||
- Fix long file names being clipped when longer than allowed length [Taiga #10662](https://tree.taiga.io/project/penpot/issue/10662)
|
- Fix long file names being clipped when longer than allowed length [Taiga #10662](https://tree.taiga.io/project/penpot/issue/10662)
|
||||||
|
|
||||||
## 2.6.0 (Unreleased)
|
## 2.6.1
|
||||||
|
|
||||||
|
### :bug: Bugs fixed
|
||||||
|
|
||||||
|
- Fix webhooks not shown in list [Taiga #10763](https://tree.taiga.io/project/penpot/issue/10763)
|
||||||
|
- Fix colorpicker scroll when dropdown displayed [Taiga #10696](https://tree.taiga.io/project/penpot/issue/10696)
|
||||||
|
|
||||||
|
## 2.6.0
|
||||||
|
|
||||||
### :rocket: Epics and highlights
|
### :rocket: Epics and highlights
|
||||||
|
|
||||||
|
|
|
@ -87,7 +87,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- penpot
|
- penpot
|
||||||
|
|
||||||
labels:
|
# labels:
|
||||||
# - "traefik.enable=true"
|
# - "traefik.enable=true"
|
||||||
|
|
||||||
# ## HTTPS: example of labels for the case where penpot will be exposed to the
|
# ## HTTPS: example of labels for the case where penpot will be exposed to the
|
||||||
|
|
|
@ -151,9 +151,20 @@ Postgres database and another one for the assets uploaded by your users (images
|
||||||
clips). There may be more volumes if you enable other features, as explained in the file
|
clips). There may be more volumes if you enable other features, as explained in the file
|
||||||
itself.
|
itself.
|
||||||
|
|
||||||
## Configure the proxy
|
## Configure the proxy and HTTPS
|
||||||
|
|
||||||
Your host configuration needs to make a proxy to http://localhost:9001.
|
We strongly recommend to use Penpot under HTTPS/SSL, which will require specific server configurations for DNS and SSL certificates.
|
||||||
|
Besides, your host configuration needs to make a proxy to http://localhost:9001.
|
||||||
|
|
||||||
|
<p class="advice">
|
||||||
|
If you plan to serve Penpot under different domain than `localhost` without HTTPS,
|
||||||
|
you need to disable the `secure` flag on cookies, with the `disable-secure-session-cookies` flag.
|
||||||
|
This is a configuration NOT recommended for production environments; as some browser APIs do
|
||||||
|
not work properly under non-https environments, this unsecure configuration
|
||||||
|
may limit the usage of Penpot; as an example, the clipboard does not work with HTTP.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
Below, you can see three examples with three different proxys:
|
||||||
|
|
||||||
### Example with NGINX
|
### Example with NGINX
|
||||||
|
|
||||||
|
|
|
@ -199,7 +199,7 @@
|
||||||
(ptk/reify ::webhooks-fetched
|
(ptk/reify ::webhooks-fetched
|
||||||
ptk/UpdateEvent
|
ptk/UpdateEvent
|
||||||
(update [_ state]
|
(update [_ state]
|
||||||
(update-in state [:team-id team-id] assoc :webhooks webhooks))))
|
(update-in state [:teams team-id] assoc :webhooks webhooks))))
|
||||||
|
|
||||||
(defn fetch-webhooks
|
(defn fetch-webhooks
|
||||||
[]
|
[]
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
[item item item]))
|
[item item item]))
|
||||||
|
|
||||||
(mf/defc select
|
(mf/defc select
|
||||||
[{:keys [default-value options class dropdown-class is-open? on-change on-pointer-enter-option on-pointer-leave-option disabled]}]
|
[{:keys [default-value options class dropdown-class is-open? on-change on-pointer-enter-option on-pointer-leave-option disabled data-direction]}]
|
||||||
(let [label-index (mf/with-memo [options]
|
(let [label-index (mf/with-memo [options]
|
||||||
(into {} (map as-key-value) options))
|
(into {} (map as-key-value) options))
|
||||||
|
|
||||||
|
@ -112,7 +112,7 @@
|
||||||
[:span {:class (stl/css :current-label)} current-label]
|
[:span {:class (stl/css :current-label)} current-label]
|
||||||
[:span {:class (stl/css :dropdown-button)} i/arrow]
|
[:span {:class (stl/css :dropdown-button)} i/arrow]
|
||||||
[:& dropdown {:show is-open? :on-close close-dropdown}
|
[:& dropdown {:show is-open? :on-close close-dropdown}
|
||||||
[:ul {:ref dropdown-element* :data-direction @dropdown-direction*
|
[:ul {:ref dropdown-element* :data-direction (or data-direction @dropdown-direction*)
|
||||||
:class (dm/str dropdown-class " " (stl/css :custom-select-dropdown))}
|
:class (dm/str dropdown-class " " (stl/css :custom-select-dropdown))}
|
||||||
(for [[index item] (d/enumerate options)]
|
(for [[index item] (d/enumerate options)]
|
||||||
(if (= :separator item)
|
(if (= :separator item)
|
||||||
|
|
|
@ -1045,7 +1045,7 @@
|
||||||
(tr "dashboard.your-penpot")
|
(tr "dashboard.your-penpot")
|
||||||
(:name team)))))
|
(:name team)))))
|
||||||
|
|
||||||
(mf/with-effect [team]
|
(mf/with-effect []
|
||||||
(st/emit! (dtm/fetch-webhooks)))
|
(st/emit! (dtm/fetch-webhooks)))
|
||||||
|
|
||||||
[:*
|
[:*
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
.colorpicker {
|
.colorpicker {
|
||||||
border-radius: $br-8;
|
border-radius: $br-8;
|
||||||
overflow: auto;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.colorpicker-tabs {
|
.colorpicker-tabs {
|
||||||
|
|
|
@ -124,6 +124,7 @@
|
||||||
[:div {:class (stl/css :select-wrapper)}
|
[:div {:class (stl/css :select-wrapper)}
|
||||||
[:& select
|
[:& select
|
||||||
{:class (stl/css :shadow-type-select)
|
{:class (stl/css :shadow-type-select)
|
||||||
|
:data-direction "up"
|
||||||
:default-value (or (d/name selected) "recent")
|
:default-value (or (d/name selected) "recent")
|
||||||
:options options
|
:options options
|
||||||
:on-change on-library-change}]]
|
:on-change on-library-change}]]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue