π΄ v2.168.0 Release
βββ Complexity β’ 24 commits β’ 652 filesThis release introduces a complete visual game builder interface for creating and configuring all game types, advanced RBAC features with per-user access tokens, delayed points distribution for Shopify integration, and significant performance improvements to the admin analytics dashboard. Admins now have a modern, drag-and-drop UI for game configuration alongside improved team management capabilities.
Whatβs New
- Visual Game Builder UI β Create and configure games without touching JSON. Drag-and-drop interface with real-time preview for all game types (Catch, Flick, Memory, Scratch)
- Community-Level Game Configs β Manage game configurations at the community level for better flexibility and isolated game management
- Advanced Team & Access Management β RBAC with per-user API tokens, granular role assignment, and user removal workflows with audit trails
- Delayed Points Distribution β Schedule points release for Shopify βspendβ actions with configurable delay hours for controlled reward timing
- Transaction History API β Users can now retrieve their points transaction history with pagination and filtering
- Analytics Dashboard Performance β 50%+ faster dashboard loads with React Query caching, real-time data streams, and optimized database indexes
- Shopify Sessions Service β New service layer for managing Shopify store sessions with proper credential handling
- Improved Navigation & UX β Consistent dashboard navigation, better spacing, settings sidebar refinements, and improved form validation
Apps Updated
User App
β Updated - 17 changes
API
β Updated - 207 changes
Admin
β Updated - 261 changes
MCP Server
β No changes
Games
β No changes
Docs
β Updated - Changelog
Detailed Changes
Admin App
Admin App
Visual Game Builder
- New modular game builder UI with 80+ components for comprehensive game configuration
- Real-time game preview in device frames (mobile & tablet)
- Game type selector with visual cards for Catch, Flick, Memory, and Scratch games
- Comprehensive configuration sections:
- Basic info, branding colors, and visual theme settings
- Game text (titles, descriptions, instructions)
- Game images and sounds with upload galleries and image size guides
- Levels and repeatability controls
- Scoring, rewards, and redemption settings
- Context-aware forms with validation, tooltips, and collapsible sections
- Image size guides and asset management for each game type
- Sidebar navigation for multi-step configuration
- Game configs now scoped to individual communities instead of organization-wide
- Improved game listing and filtering per community
- Better navigation flow between game creation and existing games
- Improved org/community dashboard layouts with better visual hierarchy
- Consistent navigation structure across all sections
- Enhanced quick-access links for faster navigation to key areas
- Refined date picker header and spacing
- Better community card designs in grid layouts
- Improved admin greeting and team switcher UI
- Role-based access control (RBAC) implementation with 5-tier hierarchy
- Per-user API token generation and management
- Role assignment UI with badge indicators
- User addition/removal workflows with confirmation modals
- Team settings tab with user role management table
- Enhanced team invitation flows
- Fixed game config form validation errors
- Restored missing fields in game config visual form
- Improved form error handling and navigation after save
- Better required field indicators and validation messages
- Analytics dashboard loads 50%+ faster with React Query caching
- Real-time activity feed with optimized data streaming
- Community visits analytics with cached queries
- Org stats overview with pre-calculated aggregations
User App
User App
Threshold Rewards Display
- New comprehensive threshold rewards section in game details view
- Visual display of all reward thresholds and unlock conditions
- Separate handling for scratch game rewards vs. threshold-based rewards
- Enhanced game rewards section with organized reward information
- Better visual distinction between different reward types
- CSS defaults now sync with Nudj brand theme
- Consistent color palette across components
- Improved visual consistency with design system
API
API
Points & Transactions
- New βGet My Transactionsβ endpoint for user transaction history
- Paginated points transaction retrieval with filtering
- Transaction status tracking (pending, released, redeemed)
- Accounting direction metadata for credit/debit distinction
- Delayed points distribution system for Shopify βspendβ actions
- Configurable delay hours for controlled points release
- Pending points tracking with automatic release scheduling
- New Shopify Sessions Service for managing store sessions
- Migration of Shopify credentials from PlatformConfig to ShopifySessions
- Proper session lifecycle management
- ObjectId migration for shopify_sessions collection
- Enhanced Shopify store linking and credential handling
- Improved get-shopify-stores endpoint with session-based lookup
- New analytics indexes for faster dashboard queries
- Points transaction store service with advanced querying
- Queue handler for scheduled points release
- Improved test data utilities and fixtures
- API client regeneration with updated schemas
- Fixed availablePoints schema validation causing 500 errors on /integration/me endpoint
- Proper schema adherence for all response DTOs
Design System & Packages
Design System & Packages
Design System Updates
- SSR compatibility improvements for browser-specific APIs
- Rich text renderer with improved server-side rendering
- Achievement utils with deferred canvas creation for SSR
- i18n updates for threshold rewards (EN, DE, ES, FR, PT, ZH)
- New GameConfigDTO with community-level scoping
- ShopifySessionDTO for session management
- PointsTransactionDTO with transaction status and accounting fields
- Updated enums for queue names and transaction types
- New migration: add_pending_points_fields.ts
- New migration: add-shopify-delay-hours-field.ts
- New migration: shopify_sessions_objectid_migration.ts
- Analytics indexes for improved query performance
Breaking Changes
Game Configuration Scoping
Game Configuration Scoping
Area: Admin - Game ConfigsDescription: Game configurations are now scoped to the community level instead of organization-wide. This means game configs created in one community will not be available in other communities within the same organization.Migration: If you have existing organization-level game configs, youβll need to either:
- Create new game configs at the community level in the admin UI using the new visual builder, or
- Contact support if you need help migrating existing configurations to specific communities
Shopify Credentials Storage
Shopify Credentials Storage
Area: API - Shopify IntegrationDescription: Shopify store credentials have been migrated from PlatformConfig to a dedicated ShopifySessions collection. This improves security and session lifecycle management.Migration: This migration happens automatically during deployment. No action needed from platform admins, but ensure all Shopify stores are reconnected through the updated linking flow to establish proper sessions.
Technical Notes
Analytics Performance This release includes significant optimizations to the admin analytics dashboard:- React Query caching layer reduces redundant API calls by 70%
- New MongoDB indexes on frequently-queried fields (location, organisationId)
- Decomposed analytics queries into specialized services (community stats, org stats, activity feeds)
- Real-time activity streaming with optimized batch processing
- Pre-calculated org community previews with aggregated data
- Type registry pattern for game type configuration
- Context-based form state management
- Collapsible sections for progressive disclosure
- Real-time preview rendering in device frames
- Validation at form field level with tooltips
- Proper session lifecycle management (creation, validation, refresh)
- Separation of concerns from legacy PlatformConfig
- Future-proof architecture for multi-tenant Shopify scenarios
- Configurable delay hours per Shopify config
- Queue-based processing for reliable delivery
- Pending points tracking in user data
- Automatic release triggers at configured intervals
Usage Examples
Creating a Game with the Visual Builder
Creating a Game with the Visual Builder
Before: Editing JSON configuration filesNow:
- Navigate to Admin β Gamification β Games
- Click βCreate New Gameβ
- Select game type (Catch, Flick, Memory, Scratch) from visual card selector
- Configure using the sidebar:
- Basic Info: Title, description, instructions
- Branding: Colors, fonts, theme
- Assets: Images and sounds with drag-and-drop upload
- Levels: Configure difficulty progression
- Scoring: Set point values
- Rewards: Add threshold-based rewards
- Preview in real-time in device frame
- Publish to community
- No JSON editing required
- Instant preview feedback
- Guided configuration with help tooltips
- Community-specific settings
Managing User Roles & Access
Managing User Roles & Access
Setup:
- Go to Admin β Settings β Team Settings
- Click βAdd Team Memberβ
- Enter user email
- Select role: Viewer, Moderator, Manager, Admin, or SuperAdmin
- Generate API token for programmatic access
- Copy token and share securely with user
- Click user in team table
- Select new role or remove user entirely
- Changes take effect immediately
- All API tokens are invalidated on removal
- Fine-grained access control
- Per-user API tokens for integrations
- Audit trail of role changes
- Quick user provisioning/deprovisioning
Scheduled Points Release for Shopify
Scheduled Points Release for Shopify
Configuration:
- Go to Admin β Gamification β Settings
- Find Shopify βPoints for Spendβ config
- Set βPoints Release Delayβ: 48 hours
- When customer makes purchase: points marked as βpendingβ
- After 48 hours: points automatically βreleasedβ to user
- Prevent fraud on refunded purchases
- Build anticipation for reward
- Better cash flow management
- Audit trail of delayed releases
Viewing Your Transaction History
Viewing Your Transaction History
As End User:
- Make a challenge or purchase
- Go to Account β Points History
- See all transactions with:
- Date and amount
- Transaction type (earned, redeemed, pending)
- Challenge or reward reference
- Filter by status (pending, released, redeemed)
Related Features
- Challenges β Create challenges that award points to users
- Rewards β Set up redemption rewards for earned points
- Leaderboards β Rank users by points earned
- XP System β Alternative progression system alongside points
- Achievements β Badge-based accomplishment system
- Shopify Integration β Earn points for store purchases
- Streaks β Consecutive day tracking with point bonuses
Contributors
@jamescockayne5 commits β’ +161,683/-73,449 lines
@ZuhayrK005 commits β’ +1,258/-2,001 lines
@SaadK942 commits β’ +14,081/-10,309 linesRelease Stats
| Metric | Value |
|---|---|
| Total Commits | 24 |
| Lines Added | +189,873 |
| Lines Removed | -84,469 |
| Files Changed | 652 |
| Release Size | π΄ Massive |
| Complexity | βββ Complex |
v2.168.0 deployed on February 17, 2026



