-
Notifications
You must be signed in to change notification settings - Fork 456
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
[DOC-10431] Further LTS improvements #18661
Conversation
Files changed:
|
✅ Deploy Preview for cockroachdb-interactivetutorials-docs canceled.
|
✅ Deploy Preview for cockroachdb-api-docs canceled.
|
✅ Netlify Preview
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Nothing seems breaking, have we tested it?
Yes, I have tested it during implementation, but I'm hoping others will too. Some suggestions:
|
3cea7ae
to
b217269
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- On the Releases page, all releases in the 23.2 table have "(LTS)" back through the first alpha.
- The dropdown shows (LTS) next to 24.1 and 24.2 when each is the selected version. I believe that is incorrect.
- I am seeing a red warning when viewing 24.1 and 23.2 pages (where the text correctly shows that maintenance support has ended but assistance is still active, per the 'today' date in the PR—LTS assistance in the case of 23.2). I believe these should now be purple?
- What case should be green, if any? How can I test that?
Should be fixed.
Should be fixed.
Nope, the terminal phase is still red, as per Shannon.
None should be green -- I mention this right below the screenshot showing green. |
The "Everything showing as LTS" bug should actually be fixed now, in this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Bug in the Source tab view. Not sure if I missed this on the previous review. https://deploy-preview-18661--cockroachdb-docs.netlify.app/docs/releases/?filters=source
- Docker tab issues https://deploy-preview-18661--cockroachdb-docs.netlify.app/docs/releases/?filters=docker ; generally the Notes column needs to be rechecked throughout.
- For major versions with an LTS, note that LTS is displayed through the first non-experimental version.
- For v23.1 Production:
- Row with "Available only for select CockroachDB Cloud clusters" is missing a fourth cell.
- LTS is listed back through 23.1.13 instead of 23.1.12
- For Testing releases, can we leave out the GA/Experimental mentions? Perhaps leave it blank? Better to leave "Testing" be the only characterization than to use "GA" there, which is defined as production ready.
There was some debug output present, now fixed.
It's sad, but we need to redo the looping logic from the Linux tab in the Mac tab. Fixed. Also moved the "LTS" over to the first column to align with the Linux tab. The reason the Notes column is there is because in v22.2 and v23.1, the contents of all rows are not the same. I will need to conditionalize the # of columns based on the version number to remove them. It's do-able, just adds a bit more complexity to the upkeep of the page. Let me summarize what I did to fix the Docker tab:
Fixed. I needed to re-initialize some variables in the Docker loop.
It's actually not, it's a colspan. I tested locally after designating 23.1.24 as Cloud-only:
I can't reproduce this. Verified in versions.csv that 23.1.11 is listed as the last GA patch and 23.1.12 as the first LTS patch, and here is how it looks with a local build:
I've minimized it, but I am pretty sure I should not remove Experimental from the versions for which ARM actually was Experimental. It's only still listed in v22.2 and v23.1, which had a mix. We need to leave that in there so that customers don't think ARM was supported prior to v22.2.17, v23.1.12, or v23.2.0, including the testing releases leading up to v23.2.0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
e87dc47
to
d53ba41
Compare
[DOC-10431] Further LTS improvements
site.data.versions
instead ofsite.data.releases
Also added some debug messages and the ability to enable or disable debug in the Releases index and the version switcher. The debug info shows in the page source as HTML comments.
Previews
To test the purple admonition for the terminal maintenance phase, you can set the date to 2024-11-13 and check a 23.1 version of a page.