Skip to content

Fix internal documentation links opening in new tabs - #2643

Closed
Ajaykumar724 wants to merge 2 commits into
json-schema-org:mainfrom
Ajaykumar724:tab_issue
Closed

Ajaykumar724 wants to merge 2 commits into
json-schema-org:mainfrom
Ajaykumar724:tab_issue

Conversation

@Ajaykumar724

@Ajaykumar724 Ajaykumar724 commented Nov 10, 2026 •

Copy link
Copy Markdown

What kind of change does this PR introduce?

Bug fix: internal documentation links now open in the current tab, while external links continue to open in a new tab.

Issue Number:

Screenshots/videos:

Uploading Screen Recording 2026-11-11 001058.mp4…

If relevant, did you update the documentation?

Summary

Fixes internal links opening in a new browser tab. Documentation card links and in-page anchor links now stay in the current tab; external links retain their existing new-tab behavior. Adds card component test coverage for internal and external links.

Does this PR introduce a breaking change?

Not applicable.

Checklist

@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
website ✅ Ready (View Log) Visit Preview 4141300

@codecov

codecov Bot commented Nov 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (cefee55) to head (4141300).

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #2643   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           31        31           
  Lines          737       740    +3     
  Branches       229       232    +3     
=========================================
+ Hits           737       740    +3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This branch was successfully deployed

1 active deployment
Preview — 41413009 Deployed Nov 10, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

🐛Bug: Internal Documentation and Anchor Links Open in New Tabs

2 participants