Helps add announcement cards to the sidebar banner system. Use when adding changelog entries, feature announcements, updates, or promotional banners to the Agenta sidebar. Handles both simple changelog entries and complex custom banners.
This skill helps you add announcement cards to the Agenta sidebar banner system. Announcement cards appear at the bottom of the sidebar and can be dismissed by users.
The sidebar banner system is located at web/oss/src/components/SidebarBanners/ and uses:
For standard product updates, features, and changes, simply add to changelog.json:
:
web/oss/src/components/SidebarBanners/data/changelog.jsonFormat:
{
"id": "changelog-YYYY-MM-DD-feature-name",
"title": "Feature Title (Short)",
"description": "Brief description of the feature or change.",
"link": "https://agenta.ai/docs/changelog/feature-name"
}
ID Convention: changelog- + date (YYYY-MM-DD) + feature slug
changelog-2026-01-09-chat-sessionsTitle Guidelines:
Description Guidelines:
Link Convention:
https://agenta.ai/docs/changelog/[feature-slug]For complex banners with custom UI, interactions, or logic (trial warnings, upgrade prompts, etc.), you need to:
types.tsstate/atoms.tsactiveBannersAtom (OSS) or eeBannersAtom (EE)When to use custom banners:
# View current entries to understand the structure
cat web/oss/src/components/SidebarBanners/data/changelog.json
Edit web/oss/src/components/SidebarBanners/data/changelog.json and add your new entry to the array:
[
{
"id": "changelog-2024-12-16-pdf-support",
"title": "PDF Support in Playground",
"description": "You can now upload and test PDFs directly in the playground.",
"link": "https://agenta.ai/docs/changelog/pdf-support-in-playground"
},
{
"id": "changelog-2026-01-09-your-feature",
"title": "Your Feature Title",
"description": "Brief description of what users can do.",
"link": "https://agenta.ai/docs/changelog/your-feature-slug"
}
]
The banner will automatically appear in the sidebar on the next page load. To see it:
localStorage.removeItem('agenta:dismissed-banners')Banners are shown in priority order (lower number = shown first):
Priority 0: star-repo (GitHub star prompt for new users)
Priority 1: changelog (product updates) ← Most changelog entries
Priority 2: upgrade (upgrade prompts)
Priority 3: trial (trial/billing warnings)
Changelog entries automatically get priority 1.
{
"id": "changelog-2026-01-15-batch-evaluation",
"title": "Batch Evaluation Available",
"description": "Evaluate multiple test sets simultaneously with batch processing.",
"link": "https://agenta.ai/docs/changelog/batch-evaluation"
}
{
"id": "changelog-2026-01-20-langchain-support",
"title": "LangChain v0.3 Support",
"description": "Full support for LangChain v0.3 with auto-instrumentation.",
"link": "https://agenta.ai/docs/changelog/langchain-v03"
}
{
"id": "changelog-2026-01-25-faster-traces",
"title": "10x Faster Trace Loading",
"description": "Observability page now loads traces up to 10x faster.",
"link": "https://agenta.ai/docs/changelog/faster-trace-loading"
}
web/oss/src/components/SidebarBanners/index.tsx - Main containerweb/oss/src/components/SidebarBanners/SidebarBanner.tsx - Display componentweb/oss/src/components/SidebarBanners/types.ts - Type definitionsweb/oss/src/components/SidebarBanners/state/atoms.ts - State managementweb/oss/src/components/SidebarBanners/data/changelog.json - Changelog dataweb/oss/src/components/Sidebar/Sidebar.tsx - Where banners are renderedweb/ee/src/components/SidebarBanners/index.tsx - EE wrapperweb/ee/src/components/SidebarBanners/state/atoms.ts - EE banners (trial, upgrade)Banner not appearing?
localStorage.removeItem('agenta:dismissed-banners')Banner appearing multiple times?
Banner styling looks wrong?
After adding the announcement to changelog.json, you should:
docs/docs/changelog/[feature-slug].mdx# 1. Edit changelog.json
code web/oss/src/components/SidebarBanners/data/changelog.json
# 2. Create documentation page
code docs/docs/changelog/your-feature.mdx
# 3. Test locally (if running dev server)
# Clear localStorage in browser console:
# localStorage.removeItem('agenta:dismissed-banners')
# 4. Commit
git add web/oss/src/components/SidebarBanners/data/changelog.json
git add docs/docs/changelog/your-feature.mdx
git commit -m "docs: add changelog announcement for [feature name]"
Note: This skill focuses on simple changelog announcements. For custom banners with complex logic, consult the SidebarBanners README or ask for guidance on creating custom banner components.