Skip to content

feat: remove homepage GitHub API request#469

Merged
hsluoyz merged 1 commit intoapache:masterfrom
cooronx:feat_remove_homepage_github_api
Apr 18, 2026
Merged

feat: remove homepage GitHub API request#469
hsluoyz merged 1 commit intoapache:masterfrom
cooronx:feat_remove_homepage_github_api

Conversation

@cooronx
Copy link
Copy Markdown
Contributor

@cooronx cooronx commented Apr 17, 2026

part of #460

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Removes the homepage’s runtime GitHub Releases API call and shifts the “NEWS” pill content/link to be driven purely by Docusaurus customFields.

Changes:

  • Removed state/effect logic that fetched the latest GitHub release tag for the homepage.
  • Pulled the NEWS pill text/link from siteConfig.customFields instead of computing defaults.
  • Rendered the NEWS pill only when both customMessage and customLink are present.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/pages/index.js Outdated
Comment thread src/pages/index.js Outdated
@cooronx cooronx force-pushed the feat_remove_homepage_github_api branch from 3130df9 to 3f174b5 Compare April 18, 2026 02:19
@hsluoyz hsluoyz merged commit 2383ad8 into apache:master Apr 18, 2026
2 checks passed
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.

3 participants