mirror of
https://github.com/penpot/penpot.git
synced 2025-05-12 07:56:37 +02:00
✨ Add better progress reporting
For components migration and for binfile import process
This commit is contained in:
parent
7f60946204
commit
cdf312fdd9
10 changed files with 215 additions and 152 deletions
|
@ -1013,7 +1013,7 @@
|
|||
(rx/tap (fn [event]
|
||||
(let [payload (sse/get-payload event)
|
||||
type (sse/get-type event)]
|
||||
(if (= type "event")
|
||||
(if (= type "progress")
|
||||
(log/dbg :hint "clone-template: progress" :section (:section payload) :name (:name payload))
|
||||
(log/dbg :hint "clone-template: end")))))
|
||||
|
||||
|
|
|
@ -735,7 +735,7 @@
|
|||
(rx/tap (fn [event]
|
||||
(let [payload (sse/get-payload event)
|
||||
type (sse/get-type event)]
|
||||
(if (= type "event")
|
||||
(if (= type "progress")
|
||||
(log/dbg :hint "import-binfile: progress" :section (:section payload) :name (:name payload))
|
||||
(log/dbg :hint "import-binfile: end")))))
|
||||
(rx/filter sse/end-of-stream?)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue