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

Add tag-related pages #3329

Merged
merged 1 commit into from
Aug 19, 2023
Merged

Add tag-related pages #3329

merged 1 commit into from
Aug 19, 2023

Conversation

marcwrobel
Copy link
Member

@marcwrobel marcwrobel commented Jul 28, 2023

This adds:

  • a tag cloud page that lists all the tags,
  • a link at the left of the search bar to access the tag page,
  • a page for each tag, listing the products having the tag,
  • a link on each tag of product pages to access corresponding tag page.

This also fixes a bug: auto icon was always displayed even if the product was not auto-updated. Don't know when fi it ever worked, but it has been fixed by also checking the auto array size.

@marcwrobel marcwrobel added the enhancement New feature or request label Jul 28, 2023
@marcwrobel marcwrobel force-pushed the add-tag-pages branch 3 times, most recently from ec8635d to 868d377 Compare July 29, 2023 13:04
@marcwrobel marcwrobel marked this pull request as ready for review July 29, 2023 13:25
@marcwrobel
Copy link
Member Author

The new tag page is visible on https://deploy-preview-3329--endoflife-date.netlify.app/tags/.

@marcwrobel marcwrobel changed the title Add tag pages Add tag-related pages Jul 29, 2023
@marcwrobel
Copy link
Member Author

This will close #2225.

marcwrobel added a commit that referenced this pull request Jul 30, 2023
The current https://endoflife.date/java page is documenting both products, despite them being different.

Old URLs (/java, /openjdk, /jdk) are now redirected to the new Oracle JDK page, as this page is similar to the old one.
But once #3329 is merged, we could redirect to /tags/java-distribution instead.
marcwrobel added a commit that referenced this pull request Jul 30, 2023
The current https://endoflife.date/java page is documenting both products, despite them being different.

Old URLs (/java, /openjdk, /jdk) are now redirected to the new Oracle JDK page, as this page is similar to the old one.
But once #3329 is merged, we could redirect to /tags/java-distribution instead.
marcwrobel added a commit that referenced this pull request Jul 30, 2023
The current https://endoflife.date/java page is documenting both products, despite them being different.

Old URLs (/java, /openjdk, /jdk) are now redirected to the new Oracle JDK page, as this page is similar to the old one.
But once #3329 is merged, we could redirect to /tags/java-distribution instead.
marcwrobel added a commit that referenced this pull request Jul 30, 2023
The current https://endoflife.date/java page is documenting both products, despite them being different.

Old URLs (/java, /openjdk, /jdk) are now redirected to the new Oracle JDK page, as this page is similar to the old one.
But once #3329 is merged, we could redirect to /tags/java-distribution instead.
marcwrobel added a commit that referenced this pull request Jul 30, 2023
The current https://endoflife.date/java page is documenting both products, despite them being different.

Old URLs (/java, /openjdk, /jdk) are now redirected to the new Oracle JDK page, as this page is similar to the old one.
But once #3329 is merged, we could redirect to /tags/java-distribution instead.

Closes #2350.
@adriens
Copy link
Contributor

adriens commented Aug 15, 2023

Looks good 🤩
image

@marcwrobel marcwrobel added the bug Something isn't working label Aug 19, 2023
Copy link
Member Author

@marcwrobel marcwrobel left a comment

Choose a reason for hiding this comment

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

Just re-checked and fixed a bugs.

Merging as:

  • build pass,
  • this is a nice addition to endoflife.date,
  • this fixes a bug,
  • this is mainly new pages, so it will not break other pages,
  • this PR is quite old and did not received any review (seems like endoflife.date team members do not have much time these days),
  • this may be needed for [new-product] Oracle JDK and OpenJDK builds from Oracle #3332.

@captn3m0 FYI.

This adds:

- a tag cloud page that lists all the tags,
- a link at the left of the search bar to access the tag page,
- a page for each tag, listing the products having the tag,
- a link on each tag of product pages to access corresponding tag page.

This also fixes a bug: auto icon was always displayed even if the product was not auto-updated. Don't know when fi it ever worked, but it has been fixed by also checking the auto array size.

Closes #2225.
@marcwrobel marcwrobel linked an issue Aug 19, 2023 that may be closed by this pull request
4 tasks
@marcwrobel marcwrobel merged commit 1752d12 into master Aug 19, 2023
@marcwrobel marcwrobel deleted the add-tag-pages branch August 19, 2023 11:23
marcwrobel added a commit that referenced this pull request Aug 27, 2023
The current https://endoflife.date/java page is documenting both products, despite them being different.

Old URLs (/java, /openjdk, /jdk) are now redirected to the new Oracle JDK page, as this page is similar to the old one.
But once #3329 is merged, we could redirect to /tags/java-distribution instead.

Closes #2350.
marcwrobel added a commit that referenced this pull request Sep 24, 2023
The current https://endoflife.date/java page is documenting both products, despite them being different.

Old URLs (/java, /openjdk, /jdk) are now redirected to the new Oracle JDK page, as this page is similar to the old one.
But once #3329 is merged, we could redirect to /tags/java-distribution instead.

Closes #2350.
marcwrobel added a commit that referenced this pull request Sep 24, 2023
The current https://endoflife.date/java page is documenting both products, despite them being different.

Old URLs (/java, /openjdk, /jdk) are now redirected to the new Oracle JDK page, as this page is similar to the old one.
But once #3329 is merged, we could redirect to /tags/java-distribution instead.

Closes #2350.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support tags in endoflife.date
2 participants