From 060fb915469653f5695c78dcfe88c9333fa624e5 Mon Sep 17 00:00:00 2001 From: Pujit Mehrotra Date: Fri, 6 Dec 2024 08:39:42 -0500 Subject: [PATCH] feat(web): add loading and error states to notification sidebar --- web/components/Loading/Bar.vue | 12 ++++++++++ web/components/Loading/Spinner.vue | 19 ++++++++++++++++ web/components/Notifications/List.vue | 32 ++++++++++++++++++++++----- 3 files changed, 57 insertions(+), 6 deletions(-) create mode 100644 web/components/Loading/Bar.vue create mode 100644 web/components/Loading/Spinner.vue diff --git a/web/components/Loading/Bar.vue b/web/components/Loading/Bar.vue new file mode 100644 index 000000000..c5a025fe4 --- /dev/null +++ b/web/components/Loading/Bar.vue @@ -0,0 +1,12 @@ + + diff --git a/web/components/Loading/Spinner.vue b/web/components/Loading/Spinner.vue new file mode 100644 index 000000000..144324d7c --- /dev/null +++ b/web/components/Loading/Spinner.vue @@ -0,0 +1,19 @@ + + diff --git a/web/components/Notifications/List.vue b/web/components/Notifications/List.vue index 255069f2c..857db57f2 100644 --- a/web/components/Notifications/List.vue +++ b/web/components/Notifications/List.vue @@ -1,5 +1,5 @@