chore: misc moderation changes (#6296)

* feat: report filter by target, issue type, project type

* fix: reply modal showing up for staff

* chore: change minimum class source from 10 to 2
This commit is contained in:
ThatGravyBoat
2026-06-03 10:44:17 -02:30
committed by GitHub
parent 5e7d4cc838
commit 64b61d8fd0
5 changed files with 155 additions and 43 deletions
+1 -1
View File
@@ -70,7 +70,7 @@
class="h-5 w-5 shrink-0"
/>
<span class="min-w-0 truncate text-primary font-semibold leading-tight">
<slot name="selected">{{ triggerText }}</slot>
<slot name="selected" :label="triggerText">{{ triggerText }}</slot>
</span>
</div>
<div class="flex items-center gap-1">
@@ -13,11 +13,13 @@ const props = withDefaults(
disabled?: boolean
buttonClass?: string
panelClass?: string
autoFocus?: boolean
}>(),
{
placement: 'bottom-end',
distance: 8,
disabled: false,
autoFocus: true,
},
)
@@ -157,9 +159,11 @@ async function open() {
await updatePanelPosition()
startPositionTracking()
setTimeout(() => {
focusPanelContent()
}, 50)
if (props.autoFocus) {
setTimeout(() => {
focusPanelContent()
}, 50)
}
}
function close() {