Skip to content

refactor(frontend): allow banner tool to use profile format#561

Open
DarianM wants to merge 3 commits intomainfrom
use_banner_format
Open

refactor(frontend): allow banner tool to use profile format#561
DarianM wants to merge 3 commits intomainfrom
use_banner_format

Conversation

@DarianM
Copy link
Member

@DarianM DarianM commented Feb 12, 2026

Part of #511

Context

Part of the ongoing effort to deprecate ElementConfigType in favor of typed tool profiles

  • Have BannerProfile in the new format
  • Use the new format throughout
  • Save banner in the old format

@github-actions
Copy link

github-actions bot commented Feb 12, 2026

Deployment results

Worker Alias URL Outcome
API - 5a7b2345 success
CDN - 2ad1ff86 success
App - 4ca8ebaf success

Logs #21946642677

@DarianM DarianM requested a review from sidvishnoi February 12, 2026 12:11
useEffect(() => {
if (bannerContainerRef.current && isLoaded) {
if (bannerElementRef.current) {
bannerElementRef.current.config = bannerConfig
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will revert the name back to config as we also pass the cdnUrl alongside profile, so this is not really profile only...

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.

2 participants