patternfly / patternfly/patternfly-org
Bug - Links to old pages still show v5 components with no notice of it being the old version
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 74
- Forks
- 147
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 2
Description
Describe the problem
Going to an older component that no longer exists, such as TextContent shows that it still exists on the main URL with no indication this is for the older v5.
https://www.patternfly.org/components/text/#textcontent
Expected behavior
I'd expect that this either
- redirects to the successor (
Content), - redirects to the old archived version,
- remains but with a display of it being outdated
Any other information?
We found this through the Patternfly website search
- Go to search
- Put in TextContent
- See result for a component TextContent
- Click and get the link mentioned above
See image, filed search issue separately: #4472
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the PatternFly search flow for TextContent and open the /components/text/#textcontent URL. Inspect the website's handling of legacy component routes and the successor Content page; no file or test is named, so confirm which of the listed redirect, archive, or outdated-notice behaviors is wanted. Done means links to the old page no longer present it without clear version context.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100