Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.nudj.cx/llms.txt

Use this file to discover all available pages before exploring further.

🔵 Release v2.365.4

⭐⭐ Moderate • 3 commits • 11 files
Bug Fix Release: Resolves multi-language prediction display, admin form UI feedback, and consent button positioning. This patch improves reliability for international challenges, admin workflows, and widget usability without introducing breaking changes.

What’s New

  • Multi-Language Predictions: Predictions in non-default languages now correctly display resolution status (winner, resolution date) instead of showing incomplete data
  • Admin Form Accuracy: Removed misleading success notifications from forms that weren’t connected to the API, eliminating user confusion about unsaved changes
  • Improved Widget Accessibility: Repositioned the privacy consent floating button to avoid overlapping the user app’s bottom navigation

Apps Updated

User App

✓ Updated - 1 change

API

✓ Updated - 1 change

Admin

✓ Updated - 1 change

MCP Server

— No changes

Games

— No changes

Detailed Changes

Multi-Language Prediction Resolution (apps/api/lib/action/language-alignment/)
  • Fixed stale language snapshot issue where prediction resolution fields (winner, resolved date, user input) were not being synchronized to non-default language versions
  • When a prediction resolves, the root language now correctly projects resolution status to all additional language variants
  • Added test coverage for prediction resolution in Spanish, French, and other non-English languages
  • Users viewing challenges in their preferred language now see complete prediction outcome data
OneTrust Consent Button Positioning (apps/user/providers/onetrust-provider.tsx)
  • Repositioned floating privacy consent button from bottom-left to bottom-right corner
  • Added CSS styling to handle the button’s hover tooltip, ensuring it expands correctly in the new position
  • Re-centered button icons for proper alignment on the right side
  • Fixes overlap with the app’s bottom navigation (avatar, navigation menu, etc.)
  • Ensures compliance banner remains accessible without blocking critical UI elements
Remove Unwired Form Feedback (apps/admin/app/(admin)/admin/)
  • Removed the “Challenge Create/Edit” form component that was never connected to the API
  • Updated XP Settings form to show “not yet available” instead of fake success toast when users attempt to save
  • Replaced “Add User” form functionality with an “unavailable” state instead of showing false confirmation
  • Eliminates misleading success notifications that suggested data was saved when it wasn’t
  • Improves clarity on which admin features are fully implemented vs. in development

Technical Details

Multi-Language Predictions

Prediction questions can have translations in multiple languages with their own text and options. However, the resolution status (which option won, when it was resolved) is stored at the root level. The fix ensures that when you fetch a prediction in Spanish (or any non-default language), you get both the translated question/options AND the current resolution status, rather than showing stale or missing resolution data. Impact: Users in non-English communities can now track their prediction outcomes accurately. The OneTrust consent manager injected a floating button that positioned itself at the bottom-left by default. In Nudj’s mobile-first design, this overlapped with the user app’s persistent bottom navigation (avatar, navigation tabs). The fix:
  1. Repositions the button to bottom-right via !important CSS to override OneTrust’s defaults
  2. Adjusts the hover tooltip to expand leftward instead of rightward
  3. Re-centers the button’s SVG icons for visual balance on the right side
Impact: Better widget usability on mobile and full-screen Shopify embedded contexts.

Admin Forms Cleanup

Three admin forms were partially built but never connected to backend APIs:
  • Challenge create/edit dialog
  • XP settings configuration
  • Add user form
Rather than leaving them in a broken state that shows false success, they now clearly indicate “not yet available” when interacted with. Future work can rebuild these as fully-functional features without the misleading UI.

Admin Highlights

  • Better Feature Clarity: Admin forms that aren’t fully implemented no longer show confusing “success” messages — they clearly indicate when a feature isn’t yet available
  • Streamlined Interface: Removed placeholder forms to reduce interface clutter and focus on working features

User Highlights

  • Accurate Prediction Results: See correct winners and resolution times for prediction questions, even when viewing in your preferred language
  • Improved Widget Layout: Privacy consent button now stays out of the way of app navigation

Contributors

erek_d@erek_d1 commit • +74/-6 lines

jamescockayne@jamescockayne1 commit • +9/-268 lines

ZuhayrK00@ZuhayrK001 commit • +246/-6 lines

Release Stats

MetricValue
Total Commits3
Lines Added+329
Lines Removed-280
Files Changed11
Release SizeSmall
ComplexityModerate

v2.365.4 deployed on June 3, 2026