From 1797c702a7dd983886d21b1f960b9a10a8c34786 Mon Sep 17 00:00:00 2001 From: Pablo Alba Date: Wed, 2 Feb 2022 09:10:59 +0100 Subject: [PATCH] :sparkles: Automatically open comments from dashboard notifications --- CHANGES.md | 1 + frontend/src/app/main/data/workspace/comments.cljs | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 7e747dc37..d4d311494 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -7,6 +7,7 @@ ### :sparkles: New features - On user settings, hide the theme selector as long as we only have one theme [Taiga #2610](https://tree.taiga.io/project/penpot/us/2610) +- Automatically open comments from dashboard notifications [Taiga #2605](https://tree.taiga.io/project/penpot/us/2605) - Add recent used fonts in font selection widget [Taiga #1381](https://tree.taiga.io/project/penpot/us/1381) - Allow to align items relative to groups [Taiga #2533](https://tree.taiga.io/project/penpot/us/2533) - Scroll bars [Taiga #2550](https://tree.taiga.io/project/penpot/task/2550) diff --git a/frontend/src/app/main/data/workspace/comments.cljs b/frontend/src/app/main/data/workspace/comments.cljs index ede10867f..c3a7f572e 100644 --- a/frontend/src/app/main/data/workspace/comments.cljs +++ b/frontend/src/app/main/data/workspace/comments.cljs @@ -99,4 +99,5 @@ (rx/filter (ptk/type? ::dw/initialize-viewport)) (rx/take 1) (rx/mapcat #(rx/of (center-to-comment-thread thread) + (dw/select-for-drawing :comments) (dcm/open-thread thread)))))))))