playwright/packages/trace-viewer/src/ui
Simon Knott b599335404
chore(ui): enable react/recommended lint rules (#32214)
Closes https://github.com/microsoft/playwright/issues/32159. I
originally set out to enable Strict Mode for our React UI, but found a
way better thing: Enabling the lint rules we had already installed!

`eslint-plugin-react` is already in of our `package.json`, and this PR
enables it and fixes some of the reported issues. Most of them are
around the `key` prop which is mostly about performance, but there's
also fixes for misspelled `data-testid` props.
2024-08-20 14:16:28 +02:00
..
actionList.css feat(trace): allow navigating from error to source (#27464) 2023-10-05 14:59:59 -07:00
actionList.tsx chore: enforce single quotes in JSX (#31855) 2024-07-25 13:06:26 +02:00
annotationsTab.css feat(ui-mode): add annotations tab (#31945) 2024-08-01 03:43:29 -07:00
annotationsTab.tsx feat(ui-mode): add annotations tab (#31945) 2024-08-01 03:43:29 -07:00
attachmentsTab.css fix(trace viewer): attachment download (#31920) 2024-07-31 02:29:14 -07:00
attachmentsTab.tsx chore(ui): enable react/recommended lint rules (#32214) 2024-08-20 14:16:28 +02:00
browserFrame.css chore: pick locator tab (#26532) 2023-08-18 17:53:03 -07:00
browserFrame.tsx chore: pick locator tab (#26532) 2023-08-18 17:53:03 -07:00
callTab.css feat(ui mode): ui updates (#31894) 2024-07-29 07:32:13 -07:00
callTab.tsx refactor(ui): some react refactorings (#31900) 2024-07-31 12:12:06 +02:00
consoleTab.css chore: decorate console message sources (#26588) 2023-08-21 16:05:27 -07:00
consoleTab.tsx chore(ui): enable react/recommended lint rules (#32214) 2024-08-20 14:16:28 +02:00
contextSelector.css chore: migrate trace-viewer and recorder to vite (#13076) 2022-03-25 14:12:00 -07:00
contextSelector.tsx chore: migrate trace-viewer and recorder to vite (#13076) 2022-03-25 14:12:00 -07:00
copyToClipboard.tsx feat(ui mode): ui updates (#31894) 2024-07-29 07:32:13 -07:00
DEPS.list chore: make @playwright/test depend on playwright (#26946) 2023-09-08 14:23:35 -07:00
embeddedWorkbenchLoader.css feature(trace-viewer): embedded mode support PoC (#30885) 2024-06-28 10:36:11 -07:00
embeddedWorkbenchLoader.tsx chore(trace-viewer): support opening a source location in embedded trace viewer (#32175) 2024-08-15 14:13:11 -07:00
errorsTab.tsx fix(trace viewer): correctly trim locations on Windows (#29321) 2024-02-02 18:18:34 +01:00
filmStrip.css feat(ui): show test trace events live (#26619) 2023-08-22 15:46:41 -07:00
filmStrip.tsx fix(trace viewer): show correct number of pages without screencast (#30124) 2024-03-26 10:25:12 -07:00
inspectorTab.tsx chore: locator tab polish (#26568) 2023-08-21 10:59:49 -07:00
logTab.css chore: render time in the trace viewer log (#27825) 2023-10-26 14:45:15 -07:00
logTab.tsx chore: sources tab render polish (#32055) 2024-08-08 10:53:59 -07:00
metadataView.tsx chore(trace-viewer): do not shrink metadata view (#31938) 2024-07-31 16:37:16 -07:00
modelUtil.ts fix(trace-viewer): make 'hide route actions' work for .NET (#31961) 2024-08-01 21:02:47 +02:00
networkFilters.css feat(ui-mode): add filters to network tab (#31956) 2024-08-06 14:52:35 -07:00
networkFilters.tsx chore(ui): enable react/recommended lint rules (#32214) 2024-08-20 14:16:28 +02:00
networkResourceDetails.css feat(ui-mode): add font preview to network tab (#32209) 2024-08-20 08:28:02 +02:00
networkResourceDetails.tsx chore(ui): enable react/recommended lint rules (#32214) 2024-08-20 14:16:28 +02:00
networkTab.css chore: polish network panel highlight (#29299) 2024-02-01 13:44:26 -08:00
networkTab.tsx feat(ui-mode): add filters to network tab (#31956) 2024-08-06 14:52:35 -07:00
placeholderPanel.tsx chore: add log/error tabs and counters (#26843) 2023-09-01 20:12:05 -07:00
settingsView.css feat(ui mode): introduce Testing Options and Settings (#31841) 2024-07-25 11:23:43 -07:00
settingsView.tsx feat(ui mode): introduce Testing Options and Settings (#31841) 2024-07-25 11:23:43 -07:00
snapshotTab.css feat(ui mode): ui updates (#31894) 2024-07-29 07:32:13 -07:00
snapshotTab.tsx chore(ui): enable react/recommended lint rules (#32214) 2024-08-20 14:16:28 +02:00
sourceTab.css chore: sources tab render polish (#32055) 2024-08-08 10:53:59 -07:00
sourceTab.tsx chore: sources tab render polish (#32055) 2024-08-08 10:53:59 -07:00
stackTrace.css chore: use listview to render stack trace (#21197) 2023-02-24 15:31:10 -08:00
stackTrace.tsx fix(trace viewer): reveal error location when it comes from the test (#29268) 2024-02-01 08:23:07 -08:00
tag.css fix: UI Mode tags without theme applied (#30138) 2024-03-27 16:46:26 +01:00
tag.tsx chore(ui): enable react/recommended lint rules (#32214) 2024-08-20 14:16:28 +02:00
teleSuiteUpdater.ts chore: remove TeleTestCase._resultsMap (#30567) 2024-04-26 10:11:01 -07:00
testUtils.ts feat(ui): show test status in trace view (#27785) 2023-10-24 16:41:40 -07:00
timeline.css feat(ui-mode): highlight console message in timeline on hover (#31756) 2024-07-18 16:39:40 +02:00
timeline.tsx refactor(ui): some react refactorings (#31900) 2024-07-31 12:12:06 +02:00
uiModeFiltersView.css chore: split ui mode view into files (#30029) 2024-03-20 16:00:35 -07:00
uiModeFiltersView.tsx chore(ui): enable react/recommended lint rules (#32214) 2024-08-20 14:16:28 +02:00
uiModeModel.ts chore: remove ui mode update globals (#30031) 2024-03-20 21:09:49 -07:00
uiModeTestListView.css chore: split ui mode view into files (#30029) 2024-03-20 16:00:35 -07:00
uiModeTestListView.tsx chore(ui): update to react 18 (#32079) 2024-08-12 13:50:11 +02:00
uiModeTraceView.tsx feat(ui-mode): add annotations tab (#31945) 2024-08-01 03:43:29 -07:00
uiModeView.css fix(ui mode): api review feedback (#31952) 2024-08-01 05:36:19 -07:00
uiModeView.tsx chore(ui): update to react 18 (#32079) 2024-08-12 13:50:11 +02:00
workbench.css feat(ui): show test status in trace view (#27785) 2023-10-24 16:41:40 -07:00
workbench.tsx fix(ui): reset higlighted action on keyboard navigation (#32051) 2024-08-08 10:06:36 +02:00
workbenchLoader.css chore: limit trace-viewer minimum viewport (#29850) 2024-03-07 22:42:21 +01:00
workbenchLoader.tsx refactor(ui): synchronize settings via useSyncExternalStore instead of prop drilling (#31911) 2024-07-30 17:57:31 +02:00