Skip to content

Conversation

sebmarkbage
Copy link
Collaborator

Screenshot 2025-10-16 at 2 20 46 PM

The selection is now clearer with a wider outline which spans the bounding box if there are multi rects.

The color now gets darked changes on hover with a slight animation.

The colors are now mixed from constants defined which are consistently used in the rects, the time span in the "suspended by" side bar and the scrubber. I also have constants defined for "server" and "other" debug environments which will be used in a follow up.

@sebmarkbage sebmarkbage requested a review from eps1lon October 16, 2025 18:23
@meta-cla meta-cla bot added the CLA Signed label Oct 16, 2025
@github-actions github-actions bot added the React Core Team Opened by a member of the React Core Team label Oct 16, 2025
This matches more the text that we use elsewhere.

This might be too close to the green used by "server" now.
cursor: pointer;
border-radius: 0.125rem;
background-color: color-mix(in srgb, var(--color-background) 50%, var(--color-suspense) 25%);
backdrop-filter: grayscale(100%);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This ensures that we blend onto gray instead of mixing colors.

@sebmarkbage sebmarkbage merged commit ef88c58 into facebook:main Oct 17, 2025
240 checks passed
sebmarkbage added a commit that referenced this pull request Oct 17, 2025
… hovered (#34881)

Stacked on #34880.

In #34861 I removed the highlight of the real view when hovering the
timeline since it was disruptive to stepping through the visuals.

This makes it so that when we hover the timeline we highlight the rect
with the subtle hover effect added in #34880.

We can now just use the one shared state for this and don't need the CSS
psuedo-selectors.

<img width="603" height="813" alt="Screenshot 2025-10-16 at 3 11 17 PM"
src="https://github.com/user-attachments/assets/a018b5ce-dd4d-4e77-ad47-b4ea068f1976"
/>
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