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

issue-2808 Release notes pages not operational for april releases #2809

Conversation

xavierfacq
Copy link
Member

@xavierfacq xavierfacq commented Apr 25, 2024

Description of change

Add more controls on returned release notes or not (err 404). Adapt the message to do not have a spinner forever.

This permits to have 3 "states":

  • null it's loading => display a CircularProgress until the query to finish
  • isValid = true => we have release notes, let's display data
  • isValid = false => data have a problem (404, or deserialize pb, or no data) so display the error message

OK => https://deploy-preview-2809--eclipsefdn-adoptium.netlify.app/fr/temurin/release-notes/?version=jdk-21.0.3+9
KO => https://deploy-preview-2809--eclipsefdn-adoptium.netlify.app/fr/temurin/release-notes/?version=jdk-21.0.3+9321

Checklist

  • npm test passes

Copy link

netlify bot commented Apr 25, 2024

Deploy Preview for eclipsefdn-adoptium ready!

Name Link
🔨 Latest commit a24d33b
🔍 Latest deploy log https://app.netlify.com/sites/eclipsefdn-adoptium/deploys/662b9d37f820d300087f5774
😎 Deploy Preview https://deploy-preview-2809--eclipsefdn-adoptium.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.

@xavierfacq xavierfacq marked this pull request as draft April 25, 2024 14:43
@xavierfacq xavierfacq marked this pull request as ready for review April 25, 2024 15:11
@xavierfacq xavierfacq requested review from gdams and sxa April 25, 2024 15:14
@xavierfacq xavierfacq merged commit 3047a0d into adoptium:main Apr 26, 2024
10 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.

Release notes pages are regularly non operational on new releases
2 participants