playwright/packages
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
..
html-reporter refactor(ui): some react refactorings (#31900) 2024-07-31 12:12:06 +02:00
playwright fix(ui): added test in watched file should be run (#31842) 2024-07-30 14:17:41 +02:00
playwright-browser-chromium chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-browser-firefox chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-browser-webkit chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-chromium chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-core chore: various roll fixes for .NET (#31914) 2024-07-30 19:09:20 +02:00
playwright-ct-core fix(ui): added test in watched file should be run (#31842) 2024-07-30 14:17:41 +02:00
playwright-ct-react chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-ct-react17 chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-ct-solid chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-ct-svelte chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-ct-vue chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-ct-vue2 chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-firefox chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-test chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-webkit chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
protocol/src chore: client certificates api review (#31826) 2024-07-23 22:56:36 +02:00
recorder refactor(ui): in splitview component, move sidebar and main from children into named properties (#31925) 2024-07-31 12:48:46 +02:00
trace/src feat(trace viewer): show baseURL in Metadata pane (#31852) 2024-07-25 17:14:46 +02:00
trace-viewer refactor(ui): in splitview component, move sidebar and main from children into named properties (#31925) 2024-07-31 12:48:46 +02:00
web refactor(ui): in splitview component, move sidebar and main from children into named properties (#31925) 2024-07-31 12:48:46 +02:00
.eslintrc.js chore: replace process.exit with graceful closure (#24242) 2023-07-24 08:29:29 -07:00