Repository navigation
feat: add super-saiyan achievement - #1127
Merged
paulinevos merged 1 commit intoOct 24, 2026
Merged
Conversation
paulinevos
commented
Oct 24, 2026
Contributor
Amp-Thread-ID: https://ampcode.com/threads/T-01a16f2c-3ec7-775f-bf44-f8cc87440c9a Co-authored-by: Pauline Vos <pvos88@gmail.com>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The focused changes are consistent across calculation, rendering, documentation, and boundary tests, with no unresolved blocking findings.
No open issues 🎉
What changed in this PR
Adds the super-saiyan badge to the profile achievement system for users with at least 9,000 current followers, without awarding XP.
Changes:
- Defines the badge and calculates capped progress from the current follower count.
- Adds a Dragon Ball icon to the achievement shelf and dialog.
- Updates documentation and tests for unlocking, relocking, progress limits, and unchanged XP.
| File | Description |
|---|---|
| tests/Unit/Queries/UserAchievementsQueryTest.php | Updates badge count and tests follower thresholds and XP behavior. |
| resources/js/components/dragon-ball-icon.tsx | Adds the badge’s SVG icon. |
| resources/js/components/achievements-shelf.tsx | Registers the icon in the achievement shelf. |
| resources/js/components/achievements-dialog.tsx | Registers the icon in the achievement dialog. |
| KNOWLEDGE_BASE.md | Documents the fifteenth badge and its unlock requirement. |
| app/Queries/UserAchievementsQuery.php | Calculates follower-based badge progress. |
| app/Enums/Achievement.php | Defines the badge metadata and 9,000-follower target. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.