feat(webui): use project members for asset comment mentions (#315)

* feat(webui): use project members for asset comment mentions

* refactor(project): remove legacy unused bots endpoint and props
This commit is contained in:
Yiling-J
2026-08-16 16:44:50 +08:00
committed by GitHub
parent 55d9596835
commit dd82daf65c
17 changed files with 170 additions and 109 deletions
@@ -9,6 +9,5 @@ export const defaultTypeDefinition: FileTypeDefinition = {
commentsConfig: {
hasTimestamp: false,
hasAnnotations: false,
hasAiBots: false,
},
}
@@ -11,6 +11,5 @@ export const imageTypeDefinition: FileTypeDefinition = {
commentsConfig: {
hasTimestamp: false,
hasAnnotations: true,
hasAiBots: true,
},
}
@@ -9,7 +9,6 @@ export const pdfTypeDefinition: FileTypeDefinition = {
commentsConfig: {
hasTimestamp: true,
hasAnnotations: true,
hasAiBots: true,
formatTimestamp: (second: number) => `P${Math.round(second)}`,
},
}
@@ -50,7 +50,6 @@ export interface FileTypeDefinition {
commentsConfig?: {
hasTimestamp?: boolean
hasAnnotations?: boolean
hasAiBots?: boolean
formatTimestamp?: (second: number) => string
}
}
@@ -11,6 +11,5 @@ export const videoTypeDefinition: FileTypeDefinition = {
commentsConfig: {
hasTimestamp: true,
hasAnnotations: true,
hasAiBots: true,
},
}