mirror of
https://github.com/formbricks/formbricks.git
synced 2026-05-04 04:41:38 -05:00
feat: Make response notes resolvable (#801)
* update notes ux * add capability to resolve notes * add migration * update text color * prevent updating unchanged note * add isEdited to ResponseNote * combine migrations into one * simplify services * fix UI issues --------- Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "ResponseNote" ADD COLUMN "isEdited" BOOLEAN NOT NULL DEFAULT false,
|
||||
ADD COLUMN "isResolved" BOOLEAN NOT NULL DEFAULT false;
|
||||
@@ -124,6 +124,8 @@ model ResponseNote {
|
||||
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||
userId String
|
||||
text String
|
||||
isResolved Boolean @default(false)
|
||||
isEdited Boolean @default(false)
|
||||
}
|
||||
|
||||
model Tag {
|
||||
|
||||
Reference in New Issue
Block a user