feat: moderation settings (#6895)

* feat: moderation settings

* chore: move moderation specific feature flag to settings

* feat: force open collapsed regions if opened in new tab

* chore: remove unused field

* chore: run prepr
This commit is contained in:
ThatGravyBoat
2026-07-28 19:38:56 +00:00
committed by GitHub
parent 82348fe40a
commit fe69e04785
25 changed files with 698 additions and 416 deletions
@@ -94,6 +94,7 @@ const props = defineProps<{
focusedDetailId?: string | null
loadingIssues: Set<string>
decompiledSources: Map<string, string>
collapsed: boolean
}>()
const { addNotification } = injectNotificationManager()
@@ -173,7 +174,7 @@ type Tab = 'Thread' | 'Files' | 'File'
const tabs: readonly ('Thread' | 'Files')[] = ['Thread', 'Files']
const currentTab = ref<Tab>('Thread')
const isThreadCollapsed = ref(true)
const isThreadCollapsed = ref(props.collapsed)
const remainingMessageCount = computed(() => {
if (!props.item.thread?.messages) return 0