🟡 Release v2.280.2
⭐⭐ Moderate Complexity • 5 commits • 24 filesLive branding preview and critical scheduling fixes. Admins can now see community theme and color changes in real-time as they configure them. Scheduled challenges and rewards now reliably publish at the exact time configured, preventing early or late activations.
What’s New
- Live Community Branding Preview — See color, font, and styling changes instantly reflected on a live community page as you configure them
- Smarter Color Editor — Clearly distinguish between inherited organization colors and community-specific overrides
- Reliable Scheduled Publishing — Fixed date comparison logic ensuring challenges, rewards, and posts publish at the exact scheduled time
- Stable Post Creation — Fixed React hook ordering issue that could cause the new post page to crash
- Improved Admin Tooling — New BetterStack error diagnostics for faster incident resolution
Apps Updated
User App
✓ Updated - 7 changes
API
✓ Updated - 4 changes
Admin
✓ Updated - 13 changes
MCP Server
— No changes
Website
— No changes
Games
— No changes
Detailed Changes
Admin Panel
Admin Panel
Live Community Branding Preview
- Real-time iframe preview of community page showing current branding configuration
- Supports light/dark mode switching in the preview to match your admin theme preference
- Secure postMessage protocol between admin and preview iframe
- Handles PR preview deployments correctly — no more stale or mismatched preview URLs
Color Editor Improvements
- Removed placeholder colors — only shows colors actually customized at community level
- Shows organization colors as fallback hints for inherited values
- Clear visual distinction between inherited and overridden colors
- Fallback to Nudj brand defaults when no organization colors are set
Bug Fixes
- Fixed React hook ordering in NewPostPage — prevents crashes when creating posts
- Removed conditional hook calls that violated React’s rules of hooks
User App
User App
Live Preview Support
- New
BrandingPreviewListenercomponent that powers the admin preview system - Custom CSS injection system for real-time theme updates
admin-previewutilities for safely handling preview mode communications- Theme provider updates to support live preview messaging
API
API
Scheduled Publishing Fix
- Replaced brittle date comparison logic with robust timestamp handling
- Ensures challenges, rewards, and posts publish at the exact scheduled time (not early or late)
- Fixed edge cases around timezone and UTC conversion
- Comprehensive test suite added for scheduling edge cases (412 new test lines)
For Administrators
Live Branding Preview — Open the community branding settings and see your color changes, font selections, border radius, and custom background images applied in real-time to a live preview of the community. Switch between light and dark modes to see how your theme looks in both color schemes. Color Inheritance Clarity — The color editor now clearly shows which colors are coming from your organization and which are customized at the community level. When you inherit a color, you’ll see the organization’s color as a fallback hint, making it obvious what will be applied. Reset to Organization Colors — Use the “Apply Organization Colors” button to clear all community-level color overrides and return to inheriting colors from your organization settings.For End Users
- Challenges, rewards, and posts now publish at the exact time community managers schedule them
- Branding and theme updates from administrators are reflected instantly without page reloads
- Light and dark mode presentation of community branding is now consistently previewed before publishing
Breaking Changes
None. This is a fully backward-compatible release.Technical Notes
Branding Preview Architecture: The system uses a postMessage-based messaging protocol between the admin panel and a user-app iframe. The protocol validates all origins strictly — a malformed configuration never opens the system to arbitrary senders. PR preview deployments automatically detect their own PR number and load the matching user-app preview environment, ensuring the preview always has the latest code. Scheduling Fix: The issue was comparing ISO 8601 timestamps as strings, which can fail due to timezone conversion and rounding. The fix compares actual timestamp values using proper Date/millisecond comparisons, with comprehensive test coverage for edge cases around daylight saving time, leap seconds, and timezone boundaries. Color Editor State: The color editor uses React Hook Form’s field watcher pattern. When you reset to organization colors, the community theme.colors field is set to null, which gates all the swatch displays and makes it clear no community-level overrides are active. This prevents accidentally showing stale fallback colors as if they were customized.Contributors
@ZuhayrK001 commit • +942/-122 lines
@SaadK941 commit • +446/-11 linesRelease Stats
| Metric | Value |
|---|---|
| Total Commits | 5 |
| Lines Added | +2,196 |
| Lines Removed | -207 |
| Files Changed | 24 |
| Release Size | 🟡 Medium |
| Complexity | ⭐⭐ Moderate |
v2.280.2 deployed on April 10, 2026



