Tracked Object Details pane tweaks (#20849)

* use grid view on desktop

* refactor description box to remove buttons and add row of action icon buttons

* add tooltips

* fix trigger creation

when using the search effect to create a trigger, the prefilled object will not exist in the config yet

* i18n

* set max width on thumbnail
This commit is contained in:
Josh Hawkins
2025-11-08 12:26:30 -07:00
committed by GitHub
parent 01452e4c51
commit c99ada8f6a
3 changed files with 204 additions and 133 deletions
@@ -159,7 +159,7 @@ export default function CreateTriggerDialog({
});
const onSubmit = async (values: z.infer<typeof formSchema>) => {
if (trigger) {
if (trigger && existingTriggerNames.includes(trigger.name)) {
onEdit({ ...values });
} else {
onCreate(