Skip to content

[DevTools] Linkify Source View #33954

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 21, 2025

Conversation

sebmarkbage
Copy link
Collaborator

@sebmarkbage sebmarkbage commented Jul 21, 2025

This makes it so you can click the source location itself to view the source. This is similar styling as the link to jump to function props like events and actions. We're going to need a lot more linkifying to jump to various source locations. Also, I always was trying to click this file anyway.

Hover state:

Screenshot 2025-07-21 at 4 36 10 PM

@sebmarkbage sebmarkbage requested review from eps1lon and hoxyq July 21, 2025 20:38
@meta-cla meta-cla bot added the CLA Signed label Jul 21, 2025
@github-actions github-actions bot added the React Core Team Opened by a member of the React Core Team label Jul 21, 2025
@@ -18,3 +18,18 @@
max-width: 100%;
margin-left: 1rem;
}

.Link {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copied from KeyValue.css

@sebmarkbage sebmarkbage merged commit bb4418d into facebook:main Jul 21, 2025
248 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants