cal.pub0.org/apps/web/public
Arthur Cruz 2a53614723
Fix/avoid multiple schedule deletions (#2602)
* Prevents users from deleting the same schedule multiple times due to delay before the schedule disappears. It also applies the same fix to team disband.

Schedule deletion:
![schedule_deletion_new_behaving](https://user-images.githubusercontent.com/42497300/165126805-b3090268-c1a6-418a-b06e-06bd8446da03.gif)

Team disband:
![team_disband_new_behaving](https://user-images.githubusercontent.com/42497300/165127043-7e083e94-e4c9-4e88-90a2-47d31bdd92e6.gif)

Fixes issue [#2569](https://github.com/calcom/cal.com/issues/2569)

Bug fix (non-breaking change which fixes an issue)

**apps/web/components/LightLoader.tsx** → this file was created in order to make a light color loading spinner available. It's necessary when we need to display a loading spinner above dark backgrounds.

**apps/web/components/availability/ScheduleListItem.tsx** → this component was created in order to give a schedule list item its own state.

* Removing a "setTimeout" that was only used for testing purposes

* Adding a code review suggestion to my modifications

* Changing loading style

* Cleanup

* Avoids using unnecessary state

* Revert "Adding a code review suggestion to my modifications"

This reverts commit b5e40062d7.

* Reverts some changes

* Renames isLoading

Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: Omar López <zomars@me.com>
2022-05-14 12:47:23 -06:00
..
app-store small app store fixes (#2501) 2022-04-15 08:54:09 +00:00
apps Slack App Integration (#2041) 2022-04-06 12:37:06 +00:00
emails Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
fonts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
static/locales Fix/avoid multiple schedule deletions (#2602) 2022-05-14 12:47:23 -06:00
android-chrome-192x192.png Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
android-chrome-256x256.png Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
android-chrome-384x384.png Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
android-chrome-512x512.png Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
apple-touch-icon.png Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
browserconfig.xml Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
cal-com-icon-white.svg Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
cal-com-icon.svg Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
cal-logo-word-dark.svg Fixing ESLint warnings (#2723) 2022-05-14 13:49:39 +00:00
cal-logo-word.svg Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
cal.ttf Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
calendso-logo-white-word.svg Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
calendso-logo-word-dark.svg Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
calendso-logo-word.svg Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
calendso-white.svg Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
error.svg Add 500 error page (#1910) 2022-02-18 10:33:18 -07:00
favicon-16x16.png Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
favicon-32x32.png Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
favicon.ico Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
mstile-70x70.png Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
mstile-144x144.png Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
mstile-150x150.png Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
mstile-310x150.png Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
mstile-310x310.png Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
roboto.ttf Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
robots.txt Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
safari-pinned-tab.svg Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
site.webmanifest Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
video-og-image.png Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00