π΄ Release v2.272.1
βββ Complex β’ 11 commits β’ 243 filesMassive release shipping Shopify storefront widgets for loyalty engagement, tier-based reward configuration, and significant admin UI enhancements. This release transforms how brands showcase loyalty programs on their storefronts and gives admins granular control over tier entry rewards.
Whatβs New
- Loyalty Account Widget β New Shopify storefront widget displaying customer tier status, progress, and transaction history
- Ways to Earn Widget β Showcase all ways customers can earn points and rewards directly on storefront
- Tier Entry Rewards β Configure exclusive rewards that customers receive when joining specific loyalty tiers
- Loyalty Tier Event Hooks β Backend event system for tier-driven points transactions and custom actions
- Unified Referral System β Simplified referral URL handling with standalone widget for better code maintainability
- Enhanced Admin Analytics β New analytics components for achievements, challenges, rewards, and leaderboards
- Visual Design Consistency β Fixed contrast issues on user app badges and improved color theme adherence
- Improved Admin Navigation β Level settings now in sidebar with removed dead code paths
Apps Updated
User App
β Updated - 3 changes (visual refinements)
API
β Updated - 4 major changes (tier configuration, event hooks)
Admin
β Updated - 6 major changes (tier rewards, analytics, navigation)
Shopify App
β Updated - 2 major widgets + handlers
Games
β Updated - 1 fix (tutorial scrolling)
MCP Server
β No changes
Detailed Changes
Shopify App - Loyalty Widgets
Shopify App - Loyalty Widgets
- Loyalty Account Widget β Full-featured customer dashboard showing tier details, progress bars, available rewards, and transaction history
- Ways to Earn Widget β Display challenge opportunities, actions, referral bonuses, and seasonal promotions
- Loyalty Hub Handlers β API routes for aggregating loyalty account data (tier, points, transactions, rewards)
- Ways to Earn Service β Service layer for preparing earning card metadata with transaction descriptions
- Coupon Mapper β Utility for translating between Nudj rewards and Shopify discount codes
- Tier Progress Helper β Calculate and display tier progression with visual progress indicators
- Transaction Descriptions β Human-readable descriptions for points changes (challenges, rewards, bonuses)
- Widget Assets β Liquid templates, CSS styling, and JavaScript interactivity for both widgets
- Comprehensive Test Suite β 200+ tests for handlers, services, and helpers
Admin - Loyalty Tier Configuration
Admin - Loyalty Tier Configuration
- Tier Entry Reward Configuration β New form section to assign rewards when users join loyalty tiers
- Tier-Scoped Rewards β Select multiple rewards per tier with entry reward rules
- Tier Card UI β Enhanced tier management cards showing entry reward assignments
- Form Coordinator β Service to manage tier reward save operations and conflict resolution
- Loyalty Tier Config Schema β Zod validation for tier configuration including entry reward rules
- Mapper Functions β DTO conversion for loyalty tier config and state models
- Database Migration β Migrate loyalty tier IDs from string to MongoDB ObjectId (20260401131023)
- Admin Analytics Components β New analytics sections for achievements, challenges, rewards, posts, games, leaderboards, streaks, and quick actions
- Sidebar Navigation β Added level settings to main settings sidebar; removed dead XP settings page
- Achievement Form Improvements β Refined form styling and preview messaging
API - Loyalty Tier Enhancements
API - Loyalty Tier Enhancements
- Points Transaction Hook β Event-driven service for tier-aware points transactions
- Loyalty Tier Service Enhancements β Support for tier entry rewards in service layer
- Update Loyalty Tier Config Mutation β tRPC endpoint for saving tier configuration changes
- Loyalty Tier State DTO β Extended DTO with tier-scoped reward information
- Community DTO Adjustments β Updated community model for loyalty tier ObjectId references
- Entry Reward Mapper β Convert between form inputs and store models
- Comprehensive Test Coverage β 76+ new tests for tier-scoped operations
User App - Visual Refinements
User App - Visual Refinements
- XP Badge Contrast Fix β Improved contrast on XP badge display in leaderboard context
- Leaderboard Title Styling β Enhanced readability of leaderboard titles
- OTP Input Styling β Updated OTP border color to match primary theme color
- Avatar Fallback Color β Avatar placeholders now use primary brand color for consistency
Games App
Games App
- Tutorial Screen Scrollability β Fixed tutorial screen overflow on desktop browsers
- Client Layout Adjustments β Improved responsive behavior for taller content
Shared & Infrastructure
Shared & Infrastructure
Detailed Feature Breakdown
Loyalty Account Widget
The Loyalty Account Widget brings customer loyalty status directly to your Shopify storefront, enabling customers to see their progress and available rewards without leaving your store. Customer Experience:- View current tier and progress toward next tier with visual progress bar
- See earned and available points balance at a glance
- Browse available rewards redeemable in current tier
- Review recent transaction history (points earned, rewards redeemed)
- Access referral information and rewards
- Enable/disable widget on any storefront page
- Configure which tier progress data to display
- Select reward display options (all rewards, tier-scoped, featured)
- Customize colors to match brand theme
- Dedicated API handlers for loyalty data aggregation
- Service layer for tier progress calculation and formatting
- Dynamic coupon mapping for Shopify discount integration
- Efficient data fetching with caching strategies
- 200+ test cases ensuring data accuracy
Ways to Earn Widget
The Ways to Earn Widget showcases all the engagement opportunities available to your customers, driving discovery and participation. Features:- Display challenges and their point rewards
- Show actions (surveys, referrals, social shares) with earning potential
- Highlight seasonal promotions and bonus earning periods
- Surface tier-specific earning opportunities
- Include transaction descriptions explaining point changes
- Challenge Cards β Challenge name, points, tier availability
- Action Cards β Action name, action type, points per completion
- Referral Cards β Referral earning structure and terms
- Promotion Cards β Time-limited bonus earning opportunities
- Control which earning types are visible
- Reorder cards to highlight preferred earning methods
- Configure card descriptions and styling
- Enable/disable seasonal promotions
Tier Entry Rewards
Tier Entry Rewards give you granular control over the customer experience at each loyalty tier level, enabling tier-specific onboarding incentives and progression rewards. Admin Features:- Assign multiple rewards to tier entry events
- Set tier-specific reward rules and conditions
- Configure entry bonuses and welcome incentives
- Preview how rewards will appear to customers
- Automatically receive tier entry rewards when upgrading
- See welcome gifts and bonuses in reward details
- Understand tier-specific benefits and incentives
- Drive engagement and reduce churn at tier transitions
- Welcome bonus when entering Bronze tier (100 points)
- Tier upgrade gift (exclusive digital reward)
- Anniversary bonus for long-term tier members
- Referral boost for newly recruited customers
Loyalty Tier Points Transaction Hook
Backend event system enabling sophisticated points logic tied to tier transitions and actions. Technical Capabilities:- Event hook fires on tier entry/exit
- Access to previous and current tier context
- Conditional points allocation based on tier
- Integration with custom business logic
- Observable and auditable transaction history
- Award bonus points on tier upgrade
- Apply different point multipliers per tier
- Trigger tier-specific achievement unlocks
- Sync tier changes to external loyalty systems
Admin Highlights
- Tier Entry Reward Configuration β Assign multiple rewards to each loyalty tier for welcome bonuses and progression incentives
- Enhanced Tier Management UI β Visual tier cards showing configured entry rewards and easy editing
- Admin Analytics Dashboard β New analytics components for achievements, challenges, rewards, posts, games, leaderboards, and streaks
- Simplified Admin Navigation β Level settings added to settings sidebar; removed legacy XP settings page
- Loyalty Account Data Aggregation β Behind-the-scenes data handlers for efficient widget performance
- Event-Driven Points System β Configure tier transitions to trigger custom points logic
User Highlights
- Loyalty Account View β See your tier status, points balance, and available rewards on Shopify storefronts
- Ways to Earn Discovery β Browse all earning opportunities in an easy-to-browse widget
- Improved Visual Design β Better contrast on XP badges and leaderboard titles for accessibility
- Consistent Brand Colors β OTP borders and avatar fallbacks now match your themeβs primary color
- Tier Welcome Bonuses β Automatically receive special rewards when joining new loyalty tiers (if configured by admin)
Breaking Changes
None in this release.Technical Notes
Loyalty Tier ObjectId Migration: Loyalty tier IDs migrated from string to MongoDB ObjectId (migration: 20260401131023). All tier-related queries must use ObjectId comparisons. API client types automatically updated. Shopify Widget Architecture: Widgets communicate via dedicated API handlers (/api.proxy.*) that aggregate data from multiple services. Each widget has its own service layer (LoyaltyAccountDataService, WaysToEarnDataService) for independent scaling and testing.
Referral URL Consolidation:
Removed per-community referral URL override configuration. Referral system now uses unified URL structure with community context provided via URL parameters. Existing custom URLs remain functional via reverse migration.
Tier Entry Reward Event Timing:
Tier entry rewards are provisioned during tier assignment, before tier-scoped achievement evaluation. This ensures entry rewards are available for achievement unlocks in the new tier.
Related Features
- Loyalty Tier System
- Rewards Management
- Achievement System
- Shopify Integration
- Referral Program
- Points & XP System
- Admin Analytics
Contributors
@SaadK943 commits β’ +8,401/-557 lines
@dchnudj3 commits β’ +42/-335 lines
@jamescockayne2 commits β’ +2,433/-34 lines
@ZuhayrK002 commits β’ +290/-191 lines
@erek_d1 commit β’ +12,875/-855 linesRelease Stats
| Metric | Value |
|---|---|
| Total Commits | 11 |
| Lines Added | +24,251 |
| Lines Removed | -1,954 |
| Files Changed | 243 |
| Release Size | π΄ Massive |
| Complexity | βββ Complex |
v2.272.1 deployed on April 1, 2026

