sadmann7 / skateshop

An open source e-commerce skateshop build with everything new in Next.js.
https://skateshop.sadmn.com
MIT License
5.1k stars 731 forks source link

An idea to put view button inside toast as an immediately action #39

Open Duckinm opened 1 year ago

Duckinm commented 1 year ago

I've created a sample file which wasn't written properly, because 'ToastWithButton' is now limited to 'success toast'. I cloned the SVG directly from the inspector tool and only replaced the 'update product form'. This form can also be used in another place, such as the 'add product form'.

Screenshot 2566-07-11 at 03 23 42

vercel[bot] commented 1 year ago

Someone is attempting to deploy a commit to a Personal Account owned by @sadmann7 on Vercel.

@sadmann7 first needs to authorize it.

sadmann7 commented 1 year ago

Ok I will look into it

sadmann7 commented 1 year ago

Wouldn't it be better if a modal is shown with intercepting routes instead of the page.

Duckinm commented 1 year ago

Wouldn't it be better if a modal is shown with intercepting routes instead of the page.

I think the intercepting routes would make UX better.