feat(comment): add emoji reaction support for comments (#405)

* feat(comment): add emoji reaction support for comments

* fix(webui): adjust emoji picker trigger icon size to match mark-done icon

* fix(webui): prevent search icon and placeholder overlap in emoji picker

* fix(webui): use normal text color for reaction count

* feat(db): limit comment reaction code column to VarChar(32)
This commit is contained in:
Yiling-J
2026-09-14 15:01:36 +08:00
committed by GitHub
parent ede52e5009
commit def42cd000
29 changed files with 3084 additions and 41 deletions
@@ -72,6 +72,7 @@ export const ModelName = {
AssetAgentMd: 'AssetAgentMd',
AssetComment: 'AssetComment',
AssetCommentAttachment: 'AssetCommentAttachment',
AssetCommentReaction: 'AssetCommentReaction',
AssetEmbedding: 'AssetEmbedding',
Invite: 'Invite',
MetadataField: 'MetadataField',
@@ -424,6 +425,17 @@ export const AssetCommentAttachmentScalarFieldEnum = {
export type AssetCommentAttachmentScalarFieldEnum = (typeof AssetCommentAttachmentScalarFieldEnum)[keyof typeof AssetCommentAttachmentScalarFieldEnum]
export const AssetCommentReactionScalarFieldEnum = {
id: 'id',
createdAt: 'createdAt',
commentId: 'commentId',
userId: 'userId',
code: 'code'
} as const
export type AssetCommentReactionScalarFieldEnum = (typeof AssetCommentReactionScalarFieldEnum)[keyof typeof AssetCommentReactionScalarFieldEnum]
export const AssetEmbeddingScalarFieldEnum = {
id: 'id',
startTime: 'startTime',