mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-31 22:24:16 +01:00
PAP-2659: Warn before sending issue reply with no assignee
If the issue reply composer would post without any assignee, the first Send press now surfaces a warning toast instead of submitting. A second press confirms the user wants to proceed unassigned, and changing the assignee resets the confirmation. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
68ae4cdb36
commit
c19dc328a9
3 files changed
+155
No files matched your search
@@ -186,6 +186,10 @@ export function useToastActions() {
|
||||
return context;
|
||||
}
|
||||
|
||||
export function useOptionalToastActions() {
|
||||
return useContext(ToastActionsContext);
|
||||
}
|
||||
|
||||
export function useToast() {
|
||||
const toasts = useToastState();
|
||||
const actions = useToastActions();
|
||||
|
||||
Reference in new issue
Block a user