I'm sorry this turned out bigger than I wanted because the sidebar was one of the first front-end things I wrote for this project and it was kinda rough. I have a much better idea what I'm doing now.
Made a new UI type for trace summary in order to discriminate between summaries where the root span is present, and incomplete traces where it is missing.
Switched from fixed to variable sized list in react-window to account for the difference in height between a complete and partial trace summary.
Reimplemented basically the whole trace-list, or at least enough that git decided not to track individual changes. It looks better now.
Made a sidebar-view folder so sidebar components are no longer rattling around loose. That's what the import updates are about. Also, I renamed stuff. It makes more sense to me now.
Fixed the bug where the sidebar would squish with flexShrink="0", which is minor but important.
I'm sorry this turned out bigger than I wanted because the sidebar was one of the first front-end things I wrote for this project and it was kinda rough. I have a much better idea what I'm doing now.
react-window
to account for the difference in height between a complete and partial trace summary.trace-list
, or at least enough that git decided not to track individual changes. It looks better now.flexShrink="0"
, which is minor but important.