From c98c55b9935f399943360a7c38d0c73a7b620fab Mon Sep 17 00:00:00 2001 From: "Amy J. Ko" Date: Sat, 14 Oct 2023 11:42:19 -0700 Subject: [PATCH] Better loading feedback on button with promise actions. --- src/components/app/Spinning.svelte | 4 ++- src/components/project/Collaborators.svelte | 3 -- src/components/widgets/Button.svelte | 38 +++++++++++++-------- src/components/widgets/ConfirmButton.svelte | 2 +- 4 files changed, 27 insertions(+), 20 deletions(-) diff --git a/src/components/app/Spinning.svelte b/src/components/app/Spinning.svelte index 59821c515..db9382d17 100644 --- a/src/components/app/Spinning.svelte +++ b/src/components/app/Spinning.svelte @@ -1,5 +1,7 @@ diff --git a/src/components/project/Collaborators.svelte b/src/components/project/Collaborators.svelte index 870cab6ed..9b591225a 100644 --- a/src/components/project/Collaborators.svelte +++ b/src/components/project/Collaborators.svelte @@ -66,6 +66,3 @@ flags={project.flags} /> - - diff --git a/src/components/widgets/Button.svelte b/src/components/widgets/Button.svelte index 426494f08..45c77b9ec 100644 --- a/src/components/widgets/Button.svelte +++ b/src/components/widgets/Button.svelte @@ -1,8 +1,10 @@