arkinmodi / project-sayyara

Progressive Web Application for the Independent Automotive Repair Shop Industry
https://sayyara.vercel.app
MIT License
3 stars 2 forks source link

[Rev 1 Demo] Add toast for services that shouldn't be deleted #700

Closed joyxiao99 closed 1 year ago

joyxiao99 commented 1 year ago

Show a toast message when user tries to delete a service that has a connecting appointment (user cannot delete the service in this case)

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment | Name | Status | Preview | Comments | Updated | | :--- | :----- | :------ | :------- | :------ | | **project-sayyara** | ⬜️ Ignored ([Inspect](https://vercel.com/arkinmodi/project-sayyara/Hw9GeB9jukDPJVG6u4zRx94MyeVt)) | [Visit Preview](https://project-sayyara-git-joyxiao-delete-service-toast-arkinmodi.vercel.app) | | Mar 27, 2023 at 1:06AM (UTC) |
github-actions[bot] commented 1 year ago

Code Coverage Report

Package Line Rate Branch Rate Complexity Health
pages.api.appointment 79% 70% 0
pages.api.customer.[id] 19% 18% 0
pages.api.employee 53% 18% 0
pages.api.quotes 77% 33% 0
pages.api.quotes.[id] 73% 54% 0
pages.api.service 74% 61% 0
pages.api.shop 73% 67% 0
pages.api.shop.[id] 61% 43% 0
pages.api.shop.[id].services 65% 71% 0
pages.api.user.register 76% 42% 0
pages.api.vehicle 0% 0% 0
pages.api.work-order 65% 47% 0
server.services 92% 70% 0
Summary 68% (625 / 925) 50% (171 / 340) 0