Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Profile XP display #9338

Closed
dillchen opened this issue Sep 26, 2024 · 6 comments · Fixed by #10570
Closed

Profile XP display #9338

dillchen opened this issue Sep 26, 2024 · 6 comments · Fixed by #10570
Assignees
Labels
2 Half day task enhancement New feature or request refinement
Milestone

Comments

@dillchen
Copy link
Contributor

dillchen commented Sep 26, 2024

Description

Display an XP progress bar on the user profile that shows their daily or weekly XP goal. The progress bar should visually represent a user’s progress towards completing quests and leveling up. As quests are completed, the bar fills up, showing their advancement toward the next level.

Project Owner

@dillchen

Bucket ID

No response

User Stories / Acceptance Criteria

  • As a logged-in user, I should see my current XP progress bar on my profile at all times.
  • The progress bar should display my daily/weekly XP goal.
  • As I complete quests, the progress bar should update in real-time to reflect my progress.

Design Devlink

Design Screenshot

image

Additional Context

  • Ensure the XP progress is visible at all times while logged in.
  • The progress bar should reset with each new day/week, reflecting new goals and keeping the user engaged with their progression.
@dillchen dillchen added this to the XP and Quests milestone Sep 26, 2024
@dillchen dillchen assigned masvelio and unassigned mzparacha Nov 20, 2024
@masvelio
Copy link
Contributor

  1. How to distinct daily/weekly goal?
  2. As quests are completed, the bar fills up, showing their advancement toward the next level.

Do we have defined ranges of XP points necessary for each level?

  1. If I have 300 out of 400 points and then I got another 200, what the indicator should show? Full progress (400) or 100 points on next level?

@sssssabinaaa
Copy link
Contributor

  1. How to distinct daily/weekly goal?
  2. As quests are completed, the bar fills up, showing their advancement toward the next level.

Do we have defined ranges of XP points necessary for each level?

  1. If I have 300 out of 400 points and then I got another 200, what the indicator should show? Full progress (400) or 100 points on next level?
  1. Lets stick with weekly goal for now
  2. @dillchen lets do 400 for level 1, 800 for level 2, 1200 for level 3 so far?
  3. 100 points on next level (i.e. your bar would show 500/800 points and say level 2)

@dillchen
Copy link
Contributor Author

I am okay with Sabina's answers here. We may need to confirm with the platform team tmr how we can confirm calculation of this data set. All events for all users will be tracked. I will flag this for parking lot tmr

@dillchen
Copy link
Contributor Author

dillchen commented Dec 2, 2024

actually tagging @Rotorsoft here for the XP calculation. Please see Marcin's questions.

I think during event storm we discussed needing to calculate, on a per user basis a weekly total. Will we have some helpers for this that Marcin can leverage or how should we handle this. mb another column on the User XP table

@Rotorsoft
Copy link
Contributor

We can project weekly totals on Users, but this can be also calculated by loading/aggregating the XpLogs filtered by current week. I would probably try the second option first while we fine tune this.

@dillchen
Copy link
Contributor Author

dillchen commented Dec 3, 2024

That seems good to me

@dillchen dillchen assigned mzparacha and unassigned masvelio Dec 5, 2024
@mzparacha mzparacha added 3 Full day task 2 Half day task and removed needs estimate 3 Full day task labels Jan 9, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
2 Half day task enhancement New feature or request refinement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants