From 61afd3d36ff649e1f9fc708e34d1d79104720b15 Mon Sep 17 00:00:00 2001 From: Luis Felipe Date: Sat, 30 Sep 2023 17:28:41 -0300 Subject: [PATCH 1/6] refactor: remove fractional progress from profile --- apps/app/components/atoms/StatsCard.vue | 2 +- apps/app/pages/profile.vue | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/apps/app/components/atoms/StatsCard.vue b/apps/app/components/atoms/StatsCard.vue index 7848383..8edb7eb 100644 --- a/apps/app/components/atoms/StatsCard.vue +++ b/apps/app/components/atoms/StatsCard.vue @@ -8,6 +8,6 @@ const { label = "", value = "" } = defineProps<{ diff --git a/apps/app/pages/profile.vue b/apps/app/pages/profile.vue index a900f9c..4738863 100644 --- a/apps/app/pages/profile.vue +++ b/apps/app/pages/profile.vue @@ -33,9 +33,10 @@ function openProfileModal() { {{ userStore.user?.fullName || "Sem nome" }}
- - /??? - + From 135fe1f940e11544d60f0c1b18864afd8845b1f1 Mon Sep 17 00:00:00 2001 From: Luis Felipe Date: Sat, 30 Sep 2023 17:28:55 -0300 Subject: [PATCH 2/6] refactor: add edit icon to name on profile --- apps/app/pages/profile.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/app/pages/profile.vue b/apps/app/pages/profile.vue index 4738863..ee04f07 100644 --- a/apps/app/pages/profile.vue +++ b/apps/app/pages/profile.vue @@ -31,6 +31,10 @@ function openProfileModal() { @click="openProfileModal" > {{ userStore.user?.fullName || "Sem nome" }} +
Date: Sat, 30 Sep 2023 17:48:07 -0300 Subject: [PATCH 3/6] refactor: auto closes update modal after succesfull update --- apps/app/components/molecules/ProfileModal.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/app/components/molecules/ProfileModal.vue b/apps/app/components/molecules/ProfileModal.vue index a75d4ee..95ca622 100644 --- a/apps/app/components/molecules/ProfileModal.vue +++ b/apps/app/components/molecules/ProfileModal.vue @@ -10,6 +10,7 @@ async function updateUser() { try { loading.value = true; await userStore.updateUser(); + userStore.modalOpened = false; } catch (e) { toast?.error(e); } finally { From eadadc9a368b1fcb9607f6be7fed7ebde53ca29f Mon Sep 17 00:00:00 2001 From: Luis Felipe Date: Fri, 6 Oct 2023 20:19:55 -0300 Subject: [PATCH 4/6] feat: shows not available overlay on disabled badges --- apps/app/components/atoms/AchievementCard.vue | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/apps/app/components/atoms/AchievementCard.vue b/apps/app/components/atoms/AchievementCard.vue index 923b68a..2d3ea66 100644 --- a/apps/app/components/atoms/AchievementCard.vue +++ b/apps/app/components/atoms/AchievementCard.vue @@ -47,7 +47,17 @@ const badges: Record = {