MLH-Fellowship / scheduling-profiler-prototype

Custom profiler prototype for React's concurrent mode
https://react-scheduling-profiler.vercel.app/
6 stars 0 forks source link

Show React version #73

Open taneliang opened 4 years ago

taneliang commented 4 years ago

From Brian's 17 July email and doc:

Show lane labels and React version in the UI somewhere

kartikcho commented 4 years ago

Hey @bvaughn, what do you think about keeping lane labels in the tooltip (as it is right now) instead of drawing labels at the start of a lane?

It will take up some valuable space on the left when we port it to Devtools. Adding labels might also make the Devtools UI look too 'packed' in my opinion.

I think the current tooltip does a good job of showing lane information. If we still want to put emphasis on the lane info, we can try moving it to the top of the tooltip or make the font bold.

Screenshot of the current tooltip: image

bvaughn commented 4 years ago

Good call. It's probably fine to keep the labels in the tooltip for now– particularly since we don't have anything meaningful to show for them (other than the number). :smile: