From f158852be57917a40111db1473881841b062d2fe Mon Sep 17 00:00:00 2001 From: Jason Mishi Carvalho Date: Sat, 27 Aug 2022 01:52:04 +0530 Subject: [PATCH 1/5] Grey out skill when insufficient mana fixes #13286 (#14100) * disable spell if user doesn't have enough mana * differenciate insufficient mana and disabled spell * linting * reduce opacity, no hover state when insufficient mana * display that lvl insufficient in spell tooltip * change spell text color when spell has no effect change spell-text color to blue-500 when spell has no effect --- .../client/src/components/tasks/spells.vue | 30 +++++++++---------- 1 file changed, 14 insertions(+), 16 deletions(-) mode change 100644 => 100755 website/client/src/components/tasks/spells.vue diff --git a/website/client/src/components/tasks/spells.vue b/website/client/src/components/tasks/spells.vue old mode 100644 new mode 100755 index 8e690aee94..bcdcfff581 --- a/website/client/src/components/tasks/spells.vue +++ b/website/client/src/components/tasks/spells.vue @@ -68,7 +68,8 @@
Level {{ skill.lvl }}
-
-
-
-
{{ skill.mana }}
-
-
Date: Sat, 27 Aug 2022 02:15:32 +0530 Subject: [PATCH 2/5] Fix prop change handler for guild challenges. (#14169) Fix props' change handler which is called when guild is changed from notification. Tests: + Guild challenges updated successfully when guild is changed from notification center. Co-authored-by: neel --- .../client/src/components/challenges/groupChallenges.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/website/client/src/components/challenges/groupChallenges.vue b/website/client/src/components/challenges/groupChallenges.vue index 6a19e34700..fc370700c8 100644 --- a/website/client/src/components/challenges/groupChallenges.vue +++ b/website/client/src/components/challenges/groupChallenges.vue @@ -112,10 +112,8 @@ export default { }, }, watch: { - 'group._id': { - async groupId () { - this.loadChallenges(); - }, + 'group._id': function groupId () { + this.loadChallenges(); }, }, mounted () { From 509cb0037486b9e541e83ba93021bd09a8ed6e32 Mon Sep 17 00:00:00 2001 From: Natalie L <78037386+CuriousMagpie@users.noreply.github.com> Date: Fri, 26 Aug 2022 16:46:43 -0400 Subject: [PATCH 3/5] fix(api): add API version (#14177) --- apidoc/apidoc.json | 1 + 1 file changed, 1 insertion(+) diff --git a/apidoc/apidoc.json b/apidoc/apidoc.json index 8b2893529d..2b7651614d 100644 --- a/apidoc/apidoc.json +++ b/apidoc/apidoc.json @@ -2,6 +2,7 @@ "name": "Habitica V3 API Documentation", "title": "Habitica", "url": "https://habitica.com", + "version": "3.0.0", "sampleUrl": null, "header": { "title": "Introduction", From 3664a1ebb1df98dbe63bb1d16ee29855c4eefad4 Mon Sep 17 00:00:00 2001 From: Natalie L <78037386+CuriousMagpie@users.noreply.github.com> Date: Fri, 26 Aug 2022 16:51:21 -0400 Subject: [PATCH 4/5] fix(tavern): update Pause Damage Description, and Staff list (#14174) --- .../client/src/components/groups/tavern.vue | 19 ++++++++++++++++--- website/client/src/libs/staffList.js | 5 +++++ website/common/locales/en/npc.json | 7 +++---- 3 files changed, 24 insertions(+), 7 deletions(-) diff --git a/website/client/src/components/groups/tavern.vue b/website/client/src/components/groups/tavern.vue index 649f9c6274..2eea992468 100644 --- a/website/client/src/components/groups/tavern.vue +++ b/website/client/src/components/groups/tavern.vue @@ -247,9 +247,6 @@
  • {{ $t('sleepBullet3') }}
  • -
  • - {{ $t('sleepBullet4') }} -