lf-lang / lf-lang/lf-lang.github.io

Search links are agnostic of target

Open
#136 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
MDX
Stars
7
Forks
21
Avg merge
9h 46m
Merged PRs (30d)
2

Description

When search finds certain keywords, they might originate from a target-specific page. When you click on it, the target selector does not switch to the appropriate target, meaning the user is shown a page that does not have the content that was searched for.

To reproduce, select the C target and then search for private preamble (a feature that the C target not yet has). After clicking on the first hit, you navigate to the page about preambles, but the the target is still C, not C++.

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.

Research direction

Start by tracing the search result links and the target selector using the private preamble reproduction with C and C++. Check how the clicked result identifies its target and verify that navigation switches from C to C++ when the result is target-specific. Done means the page shows the searched content under the appropriate target.

Written by the indexing model from the issue text.

Assessment

Domain
frontend, search, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.