Skip to content

Implement dynamic banner API for internal dashboard#473

Merged
mpociot merged 1 commit intomasterfrom
mpociot/dynamic-banner-api
Jan 13, 2026
Merged

Implement dynamic banner API for internal dashboard#473
mpociot merged 1 commit intomasterfrom
mpociot/dynamic-banner-api

Conversation

@mpociot
Copy link
Copy Markdown
Collaborator

@mpociot mpociot commented Jan 13, 2026

Summary

  • Add API endpoint to fetch promotional banners with user token
  • Dashboard fetches banner from backend on load with offline fallback for free users
  • Supports both Tailwind classes and inline CSS styles for maximum compatibility

Implementation

The banner system allows backend to dynamically control UI messaging for promotions like Black Friday. API endpoint receives user token and returns banner data or null for Pro users. Frontend gracefully handles network failures by showing a fallback banner for free users.

🤖 Generated with Claude Code

Add API endpoint to fetch promotional banners with user token. Dashboard now fetches banner from backend on load with offline fallback for free users. Supports both Tailwind classes and inline CSS styles for maximum compatibility.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@mpociot mpociot merged commit 931981f into master Jan 13, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant