playwright/packages/trace-viewer
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
..
public chore: use SVG icons for web apps (#26564) 2023-08-21 18:33:02 +02:00
src refactor(ui): some react refactorings (#31900) 2024-07-31 12:12:06 +02:00
.gitignore fix(debug): do not pause on internal calls, update ct docs (#14018) 2022-05-07 19:56:25 -07:00
bundle.ts chore: address deprecated Vite warnings (#31618) 2024-07-10 22:32:08 +02:00
embedded.html feature(trace-viewer): embedded mode support PoC (#30885) 2024-06-28 10:36:11 -07:00
index.html chore: use SVG icons for web apps (#26564) 2023-08-21 18:33:02 +02:00
package.json chore: address deprecated Vite warnings (#31618) 2024-07-10 22:32:08 +02:00
snapshot.html fix(trace-viewer): fix snapshot.html (#31033) 2024-05-28 13:14:22 -07:00
tsconfig.json chore: make @playwright/test depend on playwright (#26946) 2023-09-08 14:23:35 -07:00
tsconfig.node.json chore: address deprecated Vite warnings (#31618) 2024-07-10 22:32:08 +02:00
uiMode.html chore: use SVG icons for web apps (#26564) 2023-08-21 18:33:02 +02:00
vite.config.ts chore: address deprecated Vite warnings (#31618) 2024-07-10 22:32:08 +02:00
vite.sw.config.ts chore: address deprecated Vite warnings (#31618) 2024-07-10 22:32:08 +02:00