Habitica: Incorrect Experience Notification on Level-Up

Created on 31 Oct 2017  路  14Comments  路  Source: HabitRPG/habitica

We're getting reports that when people level up, they're getting notifications saying that they lost experience. While technically correct (since their experience reset), it's misleading. They shouldn't get the experience lost notification when they level up.

medium AchievementPopupNotifications status in progress

All 14 comments

Is this still an issue?

Yes, it's still an issue
immagine

Hey @Alys @lemoness, could I tackle this issue?

Just to make I'll do the right fix: the 'You lost some Experience' notification should be removed completely, correct? Or should it be changed to a 'You gained some Experience' notification? I'm assuming that we should just remove the 'You lost some Experience' notification because the 'Level Up!' notification already makes it very clear that the user gained experience, so there is no need for a 'You gained some Experience' notification.

@Alys @lemoness just a friendly reminder to see if I can work on this issue and also for my question above :)

My two cents on this (I have received the mail and was thinking on this): right now you can't see how much experience you gained from the task you just clicked that caused level up, maybe it could be shown that so to have the same thing happen as every other time you complete a task? (Showing experience, gold and mana gained from the completed task and the Level up! notification)
I don't even know if it's possible...

That make sense, and I think either solution would be good. Like you said, however, I am not sure how easy this would be to implement (I already played around with it a little bit). Maybe I can first just fix the bug that this issue references by removing the 'You lost some Experience' notification (which I have already fixed on my local install), and then we could open another issue (or trello ticket, not sure what the correct procedure is) for adding the experience notification? Let me know your thoughts.

@leahleen Any update on this?

@asherdale : I am not someone that can answer you, mine was just an idea that I brought up

Ok thanks @Ieahleen! @Alys can I work on this?

@asherdale I'm sorry, we should have replied days ago. :( Yes, please work on this issue, thank you for persisting with it! We do want the "You lost some Experience" notification to be removed completely.

@Ieahleen is right that the best solution would be to show you how much XP you earned from the task but that is likely to be complicated. The way those notifications are created is by comparing your old stats with your new ones, not by analysing the individual events that caused the stats to change. @asherdale I think your suggestion to remove the notification now and then create an issue for a better fix is the best approach.

@asherdale Thanks for the fix!

I've logged a new issue as we discussed above: https://github.com/HabitRPG/habitica/issues/10297 "show accurate Experience (XP) gain in notification on level-up"

We do want the "You lost some Experience" notification to be removed completely.

Thus curious will this fix also fix the "bug" when you see this notification intermittantly when clicking a task as complete (but not leveling) or if those are distinct pieces of code.

@joedragons Do you mean that as you're completing tasks, you're sometimes seeing that you're losing Experience, Gold, and Mana? That means that you've had a sync error, where your actions aren't permanently saved and are later reverted (e.g., a task becomes unticked so you lose the Experience from it). Sync errors can happen if you take several actions on the site or app very quickly, but sometimes can also happen at other times because of server problems. If you wait a second or two between clicks, sync errors are generally much less common. On the website, you can watch the purple line travel across the top of the website - when it disappears, the sync has finished and it's safe to mark another task complete.

@Alys Yeah thanks, I didn't know it was a thing big enough to have a wiki=) I assume the xp reversion will still be a thing since it's a distinct error. But thanks for the info, doesn't really matter I suppose, I was just curious=)

Was this page helpful?
0 / 5 - 0 ratings