Metadecidim
Sign in

Process

Report a Bug

finished not yet on protocol

Continuity badge counter does not reset

I connect 6 consecutive days (my continuity badge says "You have connected for 6 consecutive days at some point." and "Connect for 4 consecutive days to get to the next level!").
I go on weekend.
On Monday, Tuesday and Wednesday I connect again each day, and each of this days my continuity badge says the same messages: "You have connected for 6 consecutive days at some point." and "Connect for 4 consecutive days to get to the next level!"
On Monday I expect my continuity badge to reset to 1 consecutive day and also say connect for 9 consecutive days to upgrade the badge

15 comments

  1. Hi @coditramuntana, this is how it's been coded. I mean, the behavior you describe is intentional, but I agree that it might be confusing and we should add to the Badge information page the number of consecutive days you need to log in in order to level up, which are:

    * Level 1: 2 consecutive days
    * Level 2: 30 consecutive days
    * Level 3: 60 consecutive days
    * Level 4: 180 consecutive days
    * Level 5: 365 consecutive days

    0 votes up 0 votes down
  2. Hi @carol, It should be a bug. It is totally incorrect that the badge info tells me "Connect for 4 consecutive days to get to the next level!" when I really need to connect for 8 days.

    Technically there are 2 counters inside the badge system, one of the counters is not being reseted when the user stops connecting for some day.

    0 votes up 0 votes down
  3. Hi @, maybe this shouldn't be a badge 😅

    No, seriously, In fact, it was controversial from the beginning because it was not clear how best to implement it:

    https://github.com/decidim/decidim/issues/3209#issuecomment-427794002

    I think for starters, we should change the info message. Ho would you improve it besides that?

    0 votes up 0 votes down
  4. Thanks for your feedback @carol!

    I've read the thread in github and still think it is a bug because of what I've said, when I stop connecting both counters should be reseted but keep the level won by the user, because last definition talks only about consecutive days so one counter ought to be enough.

    I think that rendering the number of days in the strike (there's a counter named strike) instead of the counter in the badge in the "Connect for 4 consecutive days to get to the next level!" message should solve the problem, but it is a complicated system. Maybe it is better to ask its implementors?

    1 votes up 0 votes down
    1. @ what do you think? could we do what Oliver suggests?

      1 votes up 0 votes down
    2. This seems like a genuine bug to me. I have also noticed that my counter is not correctly updated (without checking the code).

      0 votes up 0 votes down
  5. I think continuity shouldn't be a badge itself, the dynamics are very special.
    For instance on Duolingo, it gets called "streak" and I can win it or lose it if I don't connect everyday. https://support.duolingo.com/hc/en-us/articles/204980880-What-is-a-streak-

    2 votes up 0 votes down
    1. +1

      0 votes up 0 votes down
  6. Hi, thanks for reporting this. Issue opened here: https://github.com/decidim/decidim/issues/5123

    0 votes up 0 votes down
  7. I've been assigned this issue, but I'm not sure on what to do here.

    The badges system has a single counter. This counter is used to calculate both the current badge level and how many actions you need to perform to get to the next level (participate in N more debates, get N more accepted proposals, etc). In the case of Continuity badge, there's an extra counter that keeps track of the current streak of days. If the streak is longer than the badge score, then it updates the badge score, otherwise it keeps the value. This is to keep the longest streak in the Continuity badge score.

    With the current badge system, there are some few options:

    1. Drop the whole Continuity badge. This has been discussed by some @product users in this very same discussion. I'm personally against this kind of badges/trophies, they don't ensure the user actually participates in the platform.

    2 votes up 0 votes down
    1. Change the texts to highlight the that the badge shows the longest streak recorded. Keep in mind, though, that there's currently no good way to show the current streak

      Change the behavior so that whenever the streak is lost, the Continuity badge is also reset.

      Add a metadata column to the badges, so that we can keep the current streak there and we don't have to hack ugly code

      Those are the ideas I can think of, @carol @andres what do you prefer?

      0 votes up 0 votes down
      1. Totally agree with what you say in option 1 @

        0 votes up 0 votes down
      2. I'd like to point out that option 4 would mean adding a whole column to the DB and making the badges system more complicated for a badge that, in my opinion, doesn't add a lot of value to the platform and does not ensure participation.

        In my opinion, this badge only causes people to visit the site for the sake of visiting it. The problems with this kind of badge is the same as Goodread's Reading Challenge: it causes people to read for the sake of reading and doesn't take *what* they read (since you're only counting books, not pages, and might cause stress because you're not "reaching the goals"). You can find a lot of criticism to Goodreads reading challenge with a quick search online.

        0 votes up 0 votes down
        1. Hi @ let's just drop the whole badge. Thanks

          0 votes up 0 votes down
        2. @carol perfect!

          0 votes up 0 votes down

Sign in with your Atmosphere account to comment.