Closed Alys closed 3 years ago
@thewilloftheshadow / beinginhisshadow (2eb203f5-1b1e-4e5d-84a4-22f130a1090e) has posted technical details:
"... the Group Plans does show up for me. I went looking in the code, and saw that the section is in fact set to the wrong variable for line 504 in this file:
this.$store.dispatch('common:setTitle', {section: this.$t('groupPlans'), subSection: this.group.name });
"This was changed in PR https://github.com/HabitRPG/habitica/pull/12627 which was pulled to the server today"
I can take this on (:
@thewilloftheshadow Fantastic, thanks. :) It's yours.
Sorry about the delay, I'm having trouble setting up my local copy so I can test and make sure the change didn't affect anything else
Looks like normal guilds / parties and group plans use the same component (group.vue) so we'll have to add a check on whether you're viewing the group as a group plan or not (probably by looking at whether group-plans
is in the url). Note that with https://github.com/HabitRPG/habitica/pull/12743 merged there are a couple more places to update in the component file, make sure to work on an up to date version of the develop
branch.
@thewilloftheshadow let me know if you need any help
I think I got it all, but there is one space to check that I noted in the PR
When you are viewing a Guild that does not have a Group Plan, the title says "Group Plans". It should say "Guilds".
The two examples below are public guilds that definitely don't have Group Plans in them.
Thanks to @citrusella for reporting this.