playwright/packages/html-reporter
Simon Knott 99724d0322
refactor(ui): some react refactorings (#31900)
Addresses https://github.com/microsoft/playwright/issues/31863. This PR
is chonky, but the individual commits should be easy to review. If
they're not, i'm happy to break them out into individual PRs.

There's two main things this does:

1. Remove some unused imports
2. Add a `clsx`-inspired helper function for classname templating

I wasn't able to replace `ReactDOM.render` with `ReactDOM.createRoot`.
This is the new recommended way starting with React 18, and the existing
one is going to be deprecated at some point. But it somehow breaks our
tests, i'll have to investigate that separately.
2024-07-31 12:12:06 +02:00
..
playwright chore: move vite root dir into template folder (#29081) 2024-01-23 09:40:05 -08:00
src refactor(ui): some react refactorings (#31900) 2024-07-31 12:12:06 +02:00
.gitignore clean: speed up ct (#13915) 2022-05-03 21:25:50 -07:00
bundle.ts chore: address deprecated Vite warnings (#31618) 2024-07-10 22:32:08 +02:00
index.html chore: migrate html reporter to vite (#13116) 2022-03-28 18:21:19 -07:00
package.json chore: address deprecated Vite warnings (#31618) 2024-07-10 22:32:08 +02:00
playwright.config.ts chore: address deprecated Vite warnings (#31618) 2024-07-10 22:32:08 +02:00
tsconfig.json fix: tolerate wrongly-typed annotations (#29162) 2024-01-25 11:35:17 -08:00
tsconfig.node.json chore: address deprecated Vite warnings (#31618) 2024-07-10 22:32:08 +02:00
vite.config.ts chore: fix build/watch script for bundles and vite-powered packages (#20055) 2023-01-11 18:36:04 -08:00