feat(ui): add anchor linking support to CodeTabs component

Open
#9,140 10 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
react, typescript
Domain
frontend

Research direction

Start by locating the CodeTabs component and tracing how search-result links are handled. Use the URL as the source of truth for the selected tab, and verify that a link targeting a specific code tab opens that tab instead of jumping to the top.

Written by the indexing model from the issue text.

Description

The CodeTabs component lacks deep linking support. When users click on a search result that targets a specific code tab, the page jumps to the top instead of the exact tab.

Adding deep linking to the tabs will allow direct navigation to specific tab using the URL as source of truth.

Dominant language
TypeScript
Stars
6.9k
Forks
6.5k
Avg merge
2d 9h
Merged PRs (30d)
29

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nodejs/nodejs.org

All issues in nodejs/nodejs.org

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.