mirror of
https://github.com/penpot/penpot.git
synced 2025-06-08 06:11:38 +02:00
Merge remote-tracking branch 'origin/staging'
This commit is contained in:
commit
581843f99b
2 changed files with 7 additions and 3 deletions
|
@ -496,7 +496,8 @@
|
||||||
;; --- COMMAND: Update comment thread position
|
;; --- COMMAND: Update comment thread position
|
||||||
|
|
||||||
(s/def ::update-comment-thread-position
|
(s/def ::update-comment-thread-position
|
||||||
(s/keys :req-un [::profile-id ::id ::position ::frame-id ::share-id]))
|
(s/keys :req-un [::profile-id ::id ::position ::frame-id]
|
||||||
|
:opt-un [::share-id]))
|
||||||
|
|
||||||
(sv/defmethod ::update-comment-thread-position
|
(sv/defmethod ::update-comment-thread-position
|
||||||
{::doc/added "1.15"}
|
{::doc/added "1.15"}
|
||||||
|
@ -514,7 +515,8 @@
|
||||||
;; --- COMMAND: Update comment frame
|
;; --- COMMAND: Update comment frame
|
||||||
|
|
||||||
(s/def ::update-comment-thread-frame
|
(s/def ::update-comment-thread-frame
|
||||||
(s/keys :req-un [::profile-id ::id ::frame-id ::share-id]))
|
(s/keys :req-un [::profile-id ::id ::frame-id]
|
||||||
|
:opt-un [::share-id]))
|
||||||
|
|
||||||
(sv/defmethod ::update-comment-thread-frame
|
(sv/defmethod ::update-comment-thread-frame
|
||||||
{::doc/added "1.15"}
|
{::doc/added "1.15"}
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
[app.common.types.shape :as cts]
|
[app.common.types.shape :as cts]
|
||||||
[app.common.uuid :as uuid]
|
[app.common.uuid :as uuid]
|
||||||
[app.config :as cfg]
|
[app.config :as cfg]
|
||||||
|
[app.main.data.comments :as dcm]
|
||||||
[app.main.data.events :as ev]
|
[app.main.data.events :as ev]
|
||||||
[app.main.data.messages :as msg]
|
[app.main.data.messages :as msg]
|
||||||
[app.main.data.users :as du]
|
[app.main.data.users :as du]
|
||||||
|
@ -113,7 +114,8 @@
|
||||||
ptk/WatchEvent
|
ptk/WatchEvent
|
||||||
(watch [_ _ stream]
|
(watch [_ _ stream]
|
||||||
(rx/merge
|
(rx/merge
|
||||||
(rx/of (dwp/fetch-bundle project-id file-id))
|
(rx/of (dwp/fetch-bundle project-id file-id)
|
||||||
|
(dcm/retrieve-comment-threads file-id))
|
||||||
|
|
||||||
;; Initialize notifications (websocket connection) and the file persistence
|
;; Initialize notifications (websocket connection) and the file persistence
|
||||||
(->> stream
|
(->> stream
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue