Skip to main content

Whatโ€™s New in v2.276.4

This release delivers significant performance improvements to the admin dashboard, enhanced error tracking and observability across all platforms, and improved game configuration accuracy with refined typography support.

๐Ÿš€ Performance Optimization: Faster Admin Experience

Whatโ€™s Better:
  • Dashboard loads faster โ€” Parallelized sequential fetches (org page, overview data, activity data) eliminate request queuing
  • Tables render smoothly โ€” Removed per-row provider instantiations; TooltipProvider hoisted from 11+ table rows to a single table-level instance
  • Search & filtering are snappier โ€” Memoized RegExp compilation and O(1) role filtering (was O(nยฒ)) eliminate unnecessary re-renders
  • Incognito mode works without crashes โ€” Added try-catch guards around localStorage and sessionStorage access throughout the platform
  • Less JavaScript to download โ€” Optimized imports for date-fns and @tabler/icons-react reduce cold start overhead
Who Benefits:
  • Community managers โ€” Faster navigation between dashboard, challenges, and user management pages
  • Platform admins โ€” Quicker game config editing and preview cycles
  • Everyone with large communities โ€” Tables with 100+ rows render without lag

๐Ÿ“Š Error Tracking & Observability Overhaul

Whatโ€™s Better:
  • Errors are tracked with full context โ€” Every error now includes user ID, organization ID, and community context automatically, making it easier to reproduce issues
  • Source maps work end-to-end โ€” Minified stack traces in production now resolve back to original source code for clearer debugging
  • Environment tagging โ€” Staging, production, and preview deployments are automatically separated in error dashboards, eliminating confusion
  • Real-time error alerts โ€” Set up in BetterStack; youโ€™ll now see errors as they happen with full context
Who Benefits:
  • Support teams โ€” When customers report issues, errors include the exact user/organization context to reproduce them immediately
  • Engineering teams โ€” Minified production errors now resolve to readable source code, slashing debugging time
  • SREs & platform operators โ€” Unified error tracking across all apps with environment-based filtering

๐ŸŽฎ Game Configuration: More Accurate, Better Error Messages

Whatโ€™s Better:
  • Game previews show real errors โ€” If a game config fails to load, you see the actual error message in the language you configured, not a generic English placeholder
  • Text search works as expected โ€” Searching game text (Catch, Flick, Memory, Scratch) now matches the values you saved, not just language defaults
  • Easier troubleshooting โ€” No more guessing why a game wonโ€™t preview; actual error messages guide you to the fix
Who Benefits:
  • Community managers โ€” Know immediately if a game is misconfigured before players see it
  • Localized game creators โ€” Game text search works correctly in any language youโ€™re using

โœ๏ธ Typography: Extended Font Support

Added Freight Sans Bold font to the user-facing platform, expanding customization options for communities that want bolder, more prominent typography. Who Benefits:
  • Brand-conscious communities โ€” More typography control to match community branding
  • Accessibility-focused admins โ€” Bold font option improves readability for users with low vision

Detailed Changes

Performance Improvements:
  • Faster page loads โ€” Dashboard now parallelize auth and data fetches instead of sequential waterfall calls (~50-100ms faster)
  • Smoother table interactions โ€” 11 major tables (achievements, challenges, leaderboards, posts, rewards) now have optimized provider structure, eliminating re-renders on each row
  • Better search performance โ€” Search highlighting in admin tools now uses memoized RegExp compilation; role filtering uses O(1) Set lookups instead of O(nยฒ) array searches
  • Incognito mode support โ€” Admin panel now works correctly in private/incognito browsing mode (fixed localStorage crashes)
  • Optimized bundle size โ€” Import optimization for date-fns and tabler icons reduces cold start times
Game Configuration & Observability:
  • Better game config errors โ€” Game previews now display actual error messages in the configured language, not generic English placeholders
  • Accurate text search โ€” Game text search (Catch, Flick, Memory, Scratch games) now matches saved values in all languages
  • Error tracking with context โ€” All errors now include organization, community, and user context; source maps resolve minified stack traces in production
Typography & Appearance:
  • Bold typography option โ€” Communities can now use Freight Sans Bold for headings and CTAs, enabling stronger visual hierarchy
  • Better game reliability โ€” Games wonโ€™t silently fail; communities can now see configuration errors and fix them before players encounter issues

Technical Details

Admin Performance Audit (26 Optimizations)

Commit: 12e342195 โ€” Vercel React best practices audit across 52 files
CategoryOptimizationsImpact
Eliminating WaterfallsParallelized auth + fetches in chat route, org-id route, dashboard queries~200-500ms faster Shopify chat init; faster admin page loads
Server PerformanceDeduplicated auth() with React.cache()Eliminates duplicate auth DB queries per request
Re-render OptimizationRemoved trivial useMemo, hoisted TooltipProvider from per-row to table levelFewer context provider instantiations; reduced hook overhead
Client DataAdded try-catch around localStorage/sessionStorage (7 locations)Prevents crashes in incognito mode
Bundle SizeOptimized imports for date-fns, @tabler/icons-react in next.config.tsFaster cold starts across 69+ files
JavaScript PerformanceMemoized RegExp compilation in search, cached Math.ceil in date computationsEliminates per-render object allocation

Observability Infrastructure (Sentry + BetterStack)

Commit: eca7823f9 โ€” Rebuilt error tracking across 4 apps, 46 files
  • Environment tagging โ€” Each deployment (staging, prod, preview) tagged automatically
  • Scope enrichment โ€” User ID, org ID, community ID included on every error for context
  • Source map upload โ€” Configured across all apps; minified errors now resolve to original source
  • Client-side instrumentation โ€” Added Sentry client-side tracking with user sync across admin, user, and games apps
  • Global error handlers โ€” Proper error boundaries in Games and MCP Server apps

Game Configuration Fixes

Commits: ec965ea21 (game text search), 185f2ba71 (preview error handling)
  • Game text search โ€” Now queries actual saved values instead of falling back to language defaults
  • Preview failures โ€” Error context preserved through API layer; displays actual error messages in configured language
  • API caller resilience โ€” Enhanced error propagation from games to admin preview page

Breaking Changes

None in this release.

Migration Guide

No migration required. Update and restart your services.
# Standard deployment
vercel deploy

# Or if using Docker
docker pull nudj:v2.276.4
docker run nudj:v2.276.4


Contributors

This release was built by:

Questions? Reach out to support@nudj.co or check the Nudj Docs.