Skip to content

feat(ui): highlight editor source locations - #11004

Merged
sheremet-va merged 13 commits into
mainfrom
feat/editor-location-highlight
Aug 19, 2026
Merged

feat(ui): highlight editor source locations#11004
sheremet-va merged 13 commits into
mainfrom
feat/editor-location-highlight

Conversation

@hi-ogawa

@hi-ogawa hi-ogawa commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

Recreated in the upstream repository by OpenCode (gpt-5.6-sol) on behalf of @hi-ogawa to test stacked PR behavior. This automated recreation has not been human-reviewed.\n> Original PR: #10989

Description

Currently UI has action to open code view with a line information (e.g. artifact link, error link, trace step), but the opened code editor only shows a fainted cursor and it has a very limited UX value.

This PR adds an editor line highlight style to make the active line obvious.

📸 Demo

Tested on merge report run https://github.com/vitest-dev/vitest/actions/runs/32203733745/job/95924081848

Screen.Recording.2026-08-19.at.11.33.17.mov

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

  • It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
  • Ideally, include a test that fails without this PR but passes with it.
  • Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.
  • Please check Allow edits by maintainers to make review process faster. Note that this option is not available for repositories that are owned by Github organizations.

Tests

  • Run the tests with pnpm test:ci.

Documentation

  • If you introduce new functionality, document it. You can run documentation with pnpm run docs command.

Changesets

  • Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.

hi-ogawa and others added 13 commits August 18, 2026 18:55
Co-authored-by: OpenCode <noreply@opencode.ai>
Co-authored-by: OpenCode <noreply@opencode.ai>
Co-authored-by: OpenCode <noreply@opencode.ai>
Co-authored-by: OpenCode <noreply@opencode.ai>
Co-authored-by: OpenCode <noreply@opencode.ai>
Co-authored-by: OpenCode <noreply@opencode.ai>
Co-authored-by: OpenCode <noreply@opencode.ai>
Co-authored-by: OpenCode <noreply@opencode.ai>
Co-authored-by: OpenCode <noreply@opencode.ai>
Co-authored-by: OpenCode <noreply@opencode.ai>
@github-actions github-actions Bot added the maybe automated User is likely an AI agent, or the content was generated by an AI assistant without user control label Aug 19, 2026
@github-actions

Copy link
Copy Markdown

Hello @hi-ogawa. Your PR has been labeled maybe automated because it appears to have been fully generated by AI with no human involvement.

To keep your PR open, please follow these steps:

  • Confirm that you are a real human. If you are an automated agent, disclose that
  • Make sure you've read, reviewed and stand behind its content
  • Make sure you've read the full issue along with all of its comments, as well as any linked issues and their comments
  • Make sure it follows our contribution guidelines and uses the correct GitHub template
  • Disclose any AI tools you used (e.g. Claude, Copilot, Codex)

Please, do not generate or format the response with AI. If you do not speak English, reply in your native language or use translation software like Google Translate or Deepl. If the response is generated, the PR will be closed automatically.

These measures help us reduce maintenance burden and keep the team's work efficient. See our AI contributions policy for more context.

@sheremet-va sheremet-va removed the maybe automated User is likely an AI agent, or the content was generated by an AI assistant without user control label Aug 19, 2026
@sheremet-va
sheremet-va merged commit bce2d3c into main Aug 19, 2026
51 of 54 checks passed
@sheremet-va
sheremet-va deleted the feat/editor-location-highlight branch August 19, 2026 06:51
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants