خطأ "فشل" عند تحديد الشارات المفضلة

  1. Two badges already selected.


  1. Click once to try to deselect a badge.


  1. Didn’t work.


  1. Click again to try to deselect the same badge.


  1. Worked this time.


  1. Click once to try to select a new badge (New User of the Month).

Repeated clicks to try to select yield the same result. I also noticed that the Discourse banner disappears underneath when the FAILED modal pops up.

4 إعجابات

Sorry, @riking. Somehow I stepped on your topic title edit. No idea how I did that and I certainly didn’t intend to. Maybe another bug?

I manually corrected the topic title afterwards. I had somehow restored it to the original without even trying.

إعجاب واحد (1)

The bug persists. I cannot deselect or select favorite badges at all any more, so my displayed badges are now frozen in time.

إعجابَين (2)

:musical_note: :snowflake:

They won’t go, they won’t go
Can’t choose badges anymore
They won’t go, They won’t go
They’re both frozen to the floor
They’re forever here and going to stay
Let the clicks rage on
I hope there’s a fix coming any day

:pray: :wrench:

إعجابَين (2)

Thanks for the report. We’ll have it fixed.

إعجابَين (2)

1st click will make the badge selected but the star icon is not displayed as “filled”, if refresh the page will see it was selected and the badge is displayed on user card properly.

But with the display issue, when user click the second time, the star icon will show as filled which actually cancel the selection.

I see it also happens on meta.

إعجابَين (2)

Thanks for the feedback, we have assigned the work to one of our engineers and they’ll report back when completed.

3 إعجابات

Harsh crowd…

:sweat_smile:

Thanks in advance to all involved for the upcoming fix though.

:slightly_smiling_face:

إعجابَين (2)

This PR fixes problems with selecting favorite badges:

إعجاب واحد (1)

I can confirm that it works! :smiley:

I do have to remember to only single-click on the star, ignore the fact that the selected count doesn’t update, and refresh the page to see the proper results. If I click the star twice so that it appears to be unselected, the count at the top decrements, but when I refresh, the count reverts and the badge is still selected.

In essence, clicking the star once doesn’t seem to refresh the state of the page while clicking twice does. However, correct underlying functionality is only had from a single click and a manual refresh.

إعجاب واحد (1)

Oh, I’m able to reproduce the problem. Now it is some client side quirk. Jonathan, thanks for reporting! I’ll take care of this and post updates on this topic.

إعجاب واحد (1)

Hmm, wait, we haven’t merged it yet. I’m going to merge it tomorrow. @griffin my PR should fix the behaviour that you’re describing. I’ll double-check it anyway.

إعجاب واحد (1)

Interesting…

So it may be that the functionality was there, but that the appearance was deceptive. Either way, hopefully your PR will squash this bug once and for all! :slightly_smiling_face:

:bug: :hammer:

إعجاب واحد (1)

Ok, it’s merged now, after updating everything should work fine.

إعجاب واحد (1)

I can confirm that this bug is thoroughly smashed! :smiley:

This topic can be closed.

إعجابَين (2)

This topic was automatically closed after 10 days. New replies are no longer allowed.