Skip to content
Snippets Groups Projects

Search: remove references to line preview from client code

Created by: camdencheek

Currently, for each line match, we send the content of the line the match belongs to. I'm planning to get rid of that since we'd like matches to be able to span multiple lines, so having a preview of the line that is matched no longer makes sense.

In the web client, getting rid of it is easy because it is never used, so this just deletes any references to it without removing it from the API.

Part of https://github.com/sourcegraph/sourcegraph/issues/31028

Test plan

This seems to be dead code, but am relying on yarn build-ts and existing tests. I did run it locally just to smoke test it.

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Approval is optional

Merged by avatar (Sep 19, 2025 1:42am UTC)

Merge details

  • Changes merged into main with 30c4b7af.
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading