playwright/packages/recorder/src
Simon Knott daca1681c0
refactor(ui): in splitview component, move sidebar and main from children into named properties (#31925)
Pulled out from https://github.com/microsoft/playwright/pull/31900

I stumbled over `React.Children`, because it's the first time I saw that
used. https://react.dev/reference/react/Children lists `React.Children`
it as "Legacy" and mentions it's uncommon. Also, the fact that SplitView
only displays its first two children, and all others are silently
discarded, can be a surprise to some.

By separating things out into `sidebar` and `main`, not only do we give
the two elements names (otherwise one needs to remember that sidebar is
always the first child), but we also prevent any "third children" from
being dropped.
2024-07-31 12:48:46 +02:00
..
callLog.css feat(ui): render all console / network messages in trace (#24115) 2023-07-10 12:56:56 -07:00
callLog.tsx refactor(ui): some react refactorings (#31900) 2024-07-31 12:12:06 +02:00
DEPS.list chore: render typed locators in the recorder (#18162) 2022-10-18 16:39:58 -07:00
index.tsx chore: migrate trace-viewer and recorder to vite (#13076) 2022-03-25 14:12:00 -07:00
main.tsx chore(recorder): glue the overlay to the top (#28021) 2023-11-07 12:58:41 -08:00
recorder.css feat(recorder): assert visibility tool (#28142) 2023-11-14 12:55:34 -08:00
recorder.tsx refactor(ui): in splitview component, move sidebar and main from children into named properties (#31925) 2024-07-31 12:48:46 +02:00
recorderTypes.ts fix(recorder): reference Language enum for recorderTypes (#29294) 2024-02-01 13:48:30 -08:00
vite-env.d.ts chore: migrate trace-viewer and recorder to vite (#13076) 2022-03-25 14:12:00 -07:00