From be33aaecc3eaf6c5bb4f95e82501ce13a578ea33 Mon Sep 17 00:00:00 2001 From: Nidhi Nair Date: Tue, 4 Jun 2024 11:54:48 +0530 Subject: [PATCH] Revert "chore: Remove `unreadCommentThreads` (#33905)" This reverts commit dd387430308da5ede0705eb419d4ee0f839893c8. --- app/client/src/ce/api/ApplicationApi.tsx | 1 + .../main/java/com/appsmith/server/domains/Application.java | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/app/client/src/ce/api/ApplicationApi.tsx b/app/client/src/ce/api/ApplicationApi.tsx index dec3fcd7a535..2ffa8cc883fb 100644 --- a/app/client/src/ce/api/ApplicationApi.tsx +++ b/app/client/src/ce/api/ApplicationApi.tsx @@ -204,6 +204,7 @@ export interface UpdateApplicationResponse { isPublic: boolean; pages: PageDefaultMeta[]; appIsExample: boolean; + unreadCommentThreads: number; color: string; icon: IconNames; slug: string; diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/Application.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/Application.java index db9405334e4f..3b88521ed641 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/Application.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/Application.java @@ -65,6 +65,10 @@ public class Application extends BaseDomain implements Artifact { @JsonView({Views.Public.class, Git.class}) boolean appIsExample = false; + @Transient + @JsonView(Views.Public.class) + long unreadCommentThreads; + @JsonView(Views.Internal.class) String clonedFromApplicationId;