History

Keep git action success toast visible until dismissed

- set success toast timeout in `GitActionsControl` from `5_000` to `0` - keeps post-action feedback and push CTA available until user closes it

Julius Marminge committed 9 months ago

Commit ea661fb1 parent 8bbba3d1 file · +1 −1Browse files

Unified · Split

apps/web/src/components/GitActionsControl.tsx+1−1
@@ -276,7 +276,7 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp · 275 unmodified lines
276276 type: "success",
277277 title: resultToast.title,
278278 description: resultToast.description,
279− timeout: 5_000,
279+ timeout: 0,
280280 ...(shouldOfferPushCta
281281 ? {
282282 actionProps: {