Skip to content

Conversation

@BohuTANG
Copy link
Member

Summary

  • Add collapsible functionality to release notes with Show/Hide Details buttons positioned on the left
  • Display version titles in table of contents (TOC) for better navigation
  • Default expand first 2 releases, collapse others to improve page load performance
  • Fetch releases from GitHub API with fallback to repo.databend.com and local files
  • Support both stable and pre-release versions (including nightly builds)

Changes

  • Enhanced generate-release-index.js to fetch releases from multiple sources with retry logic
  • Modified StepContent component to support collapsible changelog sections
  • Fixed markdown link escaping to prevent broken links
  • Added HTML entity escaping for < and > characters to avoid MDX compilation errors

Test plan

  • Build passes successfully
  • Release notes page displays correctly with collapsible sections
  • Version titles appear in TOC
  • First 2 releases expanded by default, others collapsed
  • Toggle buttons work correctly
  • No broken links

- Add collapsible functionality to release notes with Show/Hide Details buttons
- Display version titles in table of contents for better navigation
- Default expand first 2 releases, collapse others to improve page load performance
- Fetch releases from GitHub API with fallback to repo.databend.com
- Support both stable and pre-release versions (including nightly builds)
- Fix markdown link escaping to prevent broken links
- Escape < and > characters to avoid MDX compilation errors
@vercel
Copy link

vercel bot commented Oct 24, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
docs Ready Ready Preview Comment Oct 24, 2025 10:50am

@BohuTANG BohuTANG merged commit 0dd6b0d into main Oct 24, 2025
4 checks passed
@BohuTANG BohuTANG deleted the feat/release-notes-collapsible branch October 24, 2025 10:52
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