Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Display notification banners for versions that are nearing end-of-life #242

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

JakeSCahill
Copy link
Contributor

@JakeSCahill JakeSCahill commented Jan 13, 2025

This PR updates the UI templates to display dynamic banners based on the lifecycle stage of docs versions. The banners leverage page attributes injected by the compute-end-of-life extension to inform users when a docs version is nearing EoL, past EoL, or still active.

2025-01-13_17-00-49

These UI changes improve transparency and user experience by clearly communicating the status of each docs version and providing actionable links for upgrading or reviewing EoL policies.

The UI displays banners based on the following states:

  • Nearing EoL: Indicates the docs version will reach its EoL within the configured warning period.
  • Past EoL: Indicates the docs version has reached its EoL and is no longer supported.

Relies on: redpanda-data/docs-extensions-and-macros#92

Copy link

netlify bot commented Jan 13, 2025

Deploy Preview for docs-ui ready!

Name Link
🔨 Latest commit c1644ae
🔍 Latest deploy log https://app.netlify.com/sites/docs-ui/deploys/67855106ff1087000819f5c3
😎 Deploy Preview https://deploy-preview-242--docs-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@JakeSCahill JakeSCahill requested a review from Feediver1 January 14, 2025 16:27
@JakeSCahill JakeSCahill changed the title Display notification banners for versions that are nearing end-of-life feat: Display notification banners for versions that are nearing end-of-life Jan 14, 2025
@JakeSCahill JakeSCahill merged commit 19f1bfc into main Jan 16, 2025
6 checks passed
@JakeSCahill JakeSCahill deleted the DOC-798 branch January 16, 2025 09:25
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