feat(editor): enable ticket mentions on new-ticket forms and fix @mention popup layering\n\n- New Ticket page/dialog/portal now support @ to link tickets\n- Mention popup uses fixed strategy + high z-index\n- Add minimal Tippy box styling to globals.css\n- Keeps existing server-side permissions for mentions
This commit is contained in:
parent
b0f57009ac
commit
904134604c
5 changed files with 25 additions and 2 deletions
|
|
@ -198,6 +198,7 @@ export function PortalTicketForm() {
|
|||
placeholder="Compartilhe passos para reproduzir, mensagens de erro ou informações adicionais."
|
||||
className="rounded-2xl border border-slate-200 shadow-sm focus-within:border-neutral-900 focus-within:ring-neutral-900/20"
|
||||
disabled={machineInactive || isSubmitting}
|
||||
ticketMention={{ enabled: allowTicketMentions }}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -252,3 +253,4 @@ export function PortalTicketForm() {
|
|||
</Card>
|
||||
)
|
||||
}
|
||||
const allowTicketMentions = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue