Habitica: Challenges: "Select All" doesn't select all challenges

Created on 5 Jul 2016  路  6Comments  路  Source: HabitRPG/habitica

General Info

  • UUID: beb555b6-31ab-4da2-b168-0d02d4c6dda9
  • Browser: Chrome 51.0.2704.106
  • OS: OS X El Capitan 10.11.5 (15F34

Description

When clicking "Select All" in the Challenges view, not all challenges are actually selected.

After clicking "None":
screen shot 2016-07-05 at 2 44 46 pm

After clicking "All":
screen shot 2016-07-05 at 2 45 00 pm

Console Errors

Doesn't seem to be related, but this pops up when I click "All"."
Mixed Content: The page at 'https://habitica.com/#/options/groups/challenges' was loaded over HTTPS, but requested an insecure image 'http://s33.postimg.org/59bddirb3/You_Tube_logo_full_color.png'. This content should also be served over HTTPS.

help wanted medium section all section other

All 6 comments

Weird. Maybe an off-by-1 error or something?

Here is the "All" group filter button, which calls the challenge controller's selectAll() function (here).

It currently shows you all the guilds that host challenges you have joined, but the select all button highlights only guilds that you are a member of.

The desired behaviour is to highlight all guilds in that list.

I will take a look at it later today. See if I can do anything to help.

@IanThorp Did you get a chance to work on this? If not I will try to fix it.

I could reproduce this by joining a guild then joining a challenge in that guild, then leaving the guild. Doing that also kicked me out of the challenge but the guild name still appears in the filter list and the "all" button won't select it.
Question: Should I just fix the "all" button to select that guild along with the others, even though I'm not participating in the challenge anymore(got kicked out), or should that guild stop appearing in the filter list?

The "all" button should be fixed so that it selects all guilds in the list.

There are other ways to be in a challenge without being in the guild, and they also cause the guild to appear in the list without being selected by the button.

Being kicked out of challenges when you leave a guild is going to be fixed in another issue.

Was this page helpful?
0 / 5 - 0 ratings