The What's New system allows components to define their latest features and have them displayed automatically on component landing pages and aggregated on the Data Platform umbrella page.
Define What's New items in your component's home/landing page (e.g., modules/ROOT/pages/index.adoc or antora.yml):
= Component Home Page
// What's New Item 1
:component-whats-new-1-title: Redpanda SQL
:component-whats-new-1-desc: Query your streaming data in real-time with SQL. Run analytical queries directly on topics without ETL.
:component-whats-new-1-link: sql:index.adoc
:component-whats-new-1-tag: Cloud BYOC
// What's New Item 2
:component-whats-new-2-title: Enhanced Monitoring
:component-whats-new-2-desc: New Grafana dashboards with real-time metrics
:component-whats-new-2-link: manage:monitoring.adoc
:component-whats-new-2-tag: All Tiers
// Up to 10 items supported (component-whats-new-3-*, component-whats-new-4-*, etc.)Each What's New item requires 4 attributes (where N = 1, 2, 3... up to 10):
| Attribute | Required | Description | Example |
|---|---|---|---|
component-whats-new-N-title |
Yes | Feature title (short, punchy) | Redpanda SQL |
component-whats-new-N-desc |
Yes | Feature description (1-2 sentences) | Query streaming data in real-time with SQL |
component-whats-new-N-link |
Yes | Link to feature docs (Antora xref format) | sql:index.adoc |
component-whats-new-N-tag |
No | Badge text (platform/tier info) | Cloud BYOC, Enterprise, All Tiers |
The What's New section automatically appears on component landing pages that use the component-home-v2 or component-home-v3 layout.
No template changes needed - just define the attributes and they'll show up!
Example components:
cloud-data-platform/modules/ROOT/pages/index.adocstreaming/modules/home/pages/index.adocconnect/modules/ROOT/pages/index.adoc
The Data Platform home aggregates What's New from multiple components:
In data-platform/modules/ROOT/partials/data-platform.hbs:
This pulls items from each specified component and displays them together.
get-whats-new-items.js
- Reads
component-whats-new-*attributes from current page - Used automatically by component landing pages
- Returns:
{ items: [], componentName: string, hasItems: boolean }
aggregate-whats-new.js
- Collects What's New from multiple components
- Searches each component's home page for attributes
- Used by Data Platform umbrella page
- Returns:
{ items: [], hasItems: boolean }
Each item includes:
{
title: string,
desc: string,
link: string, // Antora resource reference
tag: string, // Optional badge text
componentName: string,
componentColor: string, // Hex color for styling
index: number
}whats-new-section.hbs
- Reusable section template
- Supports both modes:
- Automatic (reads from current page)
- Aggregated (passed items array)
Styles defined in src/css/whats-new.css (create this):
.whats-new-compact- Main container.whats-new-badge- NEW badge.whats-new-item- Individual item card.whats-new-tag- Platform/tier badge
= Redpanda Cloud
:page-layout: component-home-v2
// What's New - displays automatically
:component-whats-new-1-title: Redpanda SQL
:component-whats-new-1-desc: Query streaming topics with real-time SQL analytics (BYOC only)
:component-whats-new-1-link: sql:index.adoc
:component-whats-new-1-tag: Cloud BYOC
:component-whats-new-2-title: Serverless Autoscaling
:component-whats-new-2-desc: Automatic capacity adjustments based on workload
:component-whats-new-2-link: manage:autoscaling.adoc
:component-whats-new-2-tag: Serverless= Redpanda Streaming
:page-layout: component-home-v3
:component-whats-new-1-title: Kubernetes Operator 2.0
:component-whats-new-1-desc: Enhanced scaling, monitoring, and Day 2 operations
:component-whats-new-1-link: deploy:kubernetes/operator.adoc
:component-whats-new-2-title: ARM64 Support
:component-whats-new-2-desc: Run Redpanda natively on ARM64 processors
:component-whats-new-2-link: deploy:arm64.adocThe Data Platform page automatically shows items from all specified components:
This will display SQL (from cloud), Kubernetes Operator (from streaming), and any Connect features together.
- Keep titles short - 2-4 words max
- Descriptions concise - 1-2 sentences, focus on benefit
- Update regularly - Remove old items when adding new ones
- Use clear tags - Platform/tier information (Cloud BYOC, Enterprise, etc.)
- Link to docs - Always provide a link to full documentation
- Limit items - Show 1-3 most important features, not everything
To remove an item, delete its attributes. The numbering doesn't need to be contiguous:
// This works fine - skipping 2
:component-whats-new-1-title: Feature A
:component-whats-new-3-title: Feature CBut for clarity, keep them sequential when possible.
Q: My What's New section isn't showing
- Check that attributes start with
component-whats-new-(notpage-whats-new-) - Verify you have at least
-title,-desc, and-linkfor item 1 - Ensure the page uses a component home layout
Q: Attributes not found on Data Platform
- Component home page must be at root (
index.adoc) or inhome/module - Attributes must be defined in the page, not in navigation config
Q: Links broken
- Use Antora resource syntax:
module:page.adoc - Links are relative to the component defining them