Skip to content

refactor(gamification): consolidate badge, character, season, and ranking modules#176

Merged
danielhe4rt merged 3 commits into4.xfrom
feat/gamification-modules
Mar 17, 2026
Merged

refactor(gamification): consolidate badge, character, season, and ranking modules#176
danielhe4rt merged 3 commits into4.xfrom
feat/gamification-modules

Conversation

@danielhe4rt
Copy link
Contributor

Summary

  • Consolidates the separate badge, character, season, and ranking modules into a single unified gamification module
  • Reduces module fragmentation and improves code organization
  • Moves all related models, actions, controllers, and tests under app-modules/gamification

Changes

Consolidated Modules

  • Badgegamification/src/Badge/
  • Charactergamification/src/Character/
  • Seasongamification/src/Season/
  • Ranking → integrated into gamification routes

Key Modifications

  • Updated all namespace references from individual modules to Modules\Gamification\*
  • Consolidated service providers into GamificationServiceProvider
  • Merged route files under gamification/routes/
  • Moved Filament resources and admin panels
  • Updated factory and seeder references
  • Fixed cross-module dependencies in identity and message modules

Removed

  • app-modules/badge/ (merged)
  • app-modules/character/ (merged)
  • app-modules/season/ (merged)
  • app-modules/ranking/ (merged)

Testing

All existing tests have been migrated and updated to work with the new module structure.

…king modules

    consolidate four separate gamification modules (badge, character, season, ranking) into a unified gamification module with proper namespacing and folder structure. remove entity-based architecture in favor of direct model usage to simplify codebase and reduce abstraction overhead. update all namespace references across identity and message modules to use new gamification structure. all 152 tests pass successfully.
…king modules

    consolidate four separate gamification modules (badge, character, season, ranking) into a unified gamification module with proper namespacing and folder structure. remove entity-based architecture in favor of direct model usage to simplify codebase and reduce abstraction overhead. update all namespace references across identity and message modules to use new gamification structure. all 152 tests pass successfully.
Copy link

@thalesmengue thalesmengue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@danielhe4rt danielhe4rt merged commit c7f4490 into 4.x Mar 17, 2026
6 checks passed
@danielhe4rt danielhe4rt deleted the feat/gamification-modules branch March 17, 2026 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants