From 39864eeb5a0ba24d2d26e73c4b4980910f0d2c69 Mon Sep 17 00:00:00 2001 From: Caleb Owens Date: Thu, 21 Mar 2024 23:30:24 +0100 Subject: [PATCH] refactor: replace custom sync button with Tag component The custom sync button is replaced with the Tag component. The Tag component is updated to support a loading state and help text. The busy label is moved inside the Tag component. The custom sync button styles are removed. --- .../src/lib/components/SyncButton.svelte | 84 ++++--------------- gitbutler-ui/src/lib/components/Tag.svelte | 5 +- 2 files changed, 18 insertions(+), 71 deletions(-) diff --git a/gitbutler-ui/src/lib/components/SyncButton.svelte b/gitbutler-ui/src/lib/components/SyncButton.svelte index cbab9ffbd..b3be22b19 100644 --- a/gitbutler-ui/src/lib/components/SyncButton.svelte +++ b/gitbutler-ui/src/lib/components/SyncButton.svelte @@ -1,11 +1,10 @@ - +