Skip to content

Conversation

@mohini-crl
Copy link
Contributor

@mohini-crl mohini-crl commented Jan 28, 2025

  • Updated version notation to ensure consistency by capitalizing version strings where necessary.
  • Added dynamic logic to fetch and display supported and unsupported versions on release pages based on maint_supp_exp_date and asst_supp_exp_date.
  • Added logic for showing only supported versions on release page

…etching of supported and unsupported versions
@github-actions
Copy link

github-actions bot commented Jan 28, 2025

Files changed:

@netlify
Copy link

netlify bot commented Jan 28, 2025

Deploy Preview for cockroachdb-api-docs canceled.

Name Link
🔨 Latest commit e1e2075
🔍 Latest deploy log https://app.netlify.com/sites/cockroachdb-api-docs/deploys/67cb139e2160050008f635d2

@netlify
Copy link

netlify bot commented Jan 28, 2025

Deploy Preview for cockroachdb-interactivetutorials-docs canceled.

Name Link
🔨 Latest commit e1e2075
🔍 Latest deploy log https://app.netlify.com/sites/cockroachdb-interactivetutorials-docs/deploys/67cb139ef1cbd60008a4821b

@netlify
Copy link

netlify bot commented Jan 28, 2025

Netlify Preview

Name Link
🔨 Latest commit e1e2075
🔍 Latest deploy log https://app.netlify.com/sites/cockroachdb-docs/deploys/67cb139eaa7b69000860916f
😎 Deploy Preview https://deploy-preview-19327--cockroachdb-docs.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.

@mohini-crl mohini-crl requested a review from taroface January 28, 2025 20:47
Copy link
Contributor

@taroface taroface left a comment

Choose a reason for hiding this comment

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

A few small requests -- let me know if anything doesn't make sense to you.

@mohini-crl mohini-crl requested a review from florence-crl March 5, 2025 13:23
Copy link
Contributor

@florence-crl florence-crl left a comment

Choose a reason for hiding this comment

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

LGTM non-blocking nit

{% if is_unsupported %}
CockroachDB {{ v.major_version }} is completely unsupported. {% if is_innovation %}This was an Innovation release{% else %}This was a Regular release{% endif %} that reached end-of-support on {% if is_innovation %}{{ v.maint_supp_exp_date }}{% else %}{{ v.asst_supp_exp_date }}{% endif %}.
{% else %}
CockroachDB {{ v.major_version }} is partially supported. Pre-LTS patches (before {{ v.initial_lts_patch }}) are no longer supported, but LTS patches ({{ v.initial_lts_patch }} and later) are still covered under the LTS support policy until {{ v.lts_asst_supp_exp_date }}.
Copy link
Contributor

Choose a reason for hiding this comment

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

nit

Suggested change
CockroachDB {{ v.major_version }} is partially supported. Pre-LTS patches (before {{ v.initial_lts_patch }}) are no longer supported, but LTS patches ({{ v.initial_lts_patch }} and later) are still covered under the LTS support policy until {{ v.lts_asst_supp_exp_date }}.
CockroachDB {{ v.major_version }} is partially supported. Pre-LTS patches (before v{{ v.initial_lts_patch }}) are no longer supported, but LTS patches (v{{ v.initial_lts_patch }} and later) are still covered under the LTS support policy until {{ v.lts_asst_supp_exp_date }}.

Copy link
Contributor

@florence-crl florence-crl left a comment

Choose a reason for hiding this comment

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

LGTM
Please create a fast follow-up issue for the following:
I noticed that for the Source filter on Unsupported Versions page it says "No longer available for download." I think for Source it should still have the "View on Github" link.

@florence-crl florence-crl requested review from taroface and removed request for taroface March 7, 2025 17:23
@mohini-crl mohini-crl requested review from taroface and removed request for taroface March 7, 2025 17:28
@mohini-crl mohini-crl dismissed taroface’s stale review March 7, 2025 17:30

As Ryan is not present! Asked Florence to review it

@mohini-crl mohini-crl merged commit fb4e1ab into main Mar 7, 2025
6 checks passed
@mohini-crl mohini-crl deleted the sidenav_fixes branch March 7, 2025 17:31
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