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
276 type: "success",276 type: "success",
277 title: resultToast.title,277 title: resultToast.title,
278 description: resultToast.description,278 description: resultToast.description,
279 timeout: 5_000,279 timeout: 0,
280 ...(shouldOfferPushCta280 ...(shouldOfferPushCta
281 ? {281 ? {
282 actionProps: {282 actionProps: {