Skip to content

Commit

Permalink
Show all analyses to user concurrently
Browse files Browse the repository at this point in the history
Landscape mode adjusted to show analyses to right of cards, resolving

CSS modules introduced to keep the complexity of application CSS
manageable. Local CSS variables not used due to bug in latest version
of Parcel (parcel-bundler/parcel#9058).
Candidate fix PR has been merged and is awaiting release in a future
version of Parcel.
  • Loading branch information
markafitzgerald1 committed Oct 9, 2023
1 parent 0c8ac09 commit 6a2fa4a
Show file tree
Hide file tree
Showing 68 changed files with 1,295 additions and 1,081 deletions.
2 changes: 2 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"version": "0.2",
"language": "en",
"words": [
"fieldset",
"figcaption",
"Idents",
"JJKQ",
"KJQT",
"KJTQ",
Expand Down
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
dist/
coverage/
*\.css\.d\.ts
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
"checkboxes",
"cpus",
"entrypoint",
"fieldset",
"figcaption",
"firefox",
"formatter",
Expand Down
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,17 @@ build && npm start`
- Generate the now expected browser screenshots for your development platform: `npm
run test-e2e`.
- If not developing on Linux, also generate now expected Linux browser
screenshots by running the Playwright Docker image: `docker run -it --rm
--ipc=host -v "$PWD":/usr/src/app -w /usr/src/app
mcr.microsoft.com/playwright:v1.37.0-jammy /bin/bash`, then in that container:
- install `make` and `g++` to ensure that Parcel can run: `apt update && apt
install --yes make gcc g++`,
screenshots by starting a Playwright Docker container (latest at [playwright.dev](https://playwright.dev/docs/docker#pull-the-image)):

```sh
docker run -it --rm --ipc=host -v "$PWD":/usr/src/app -w /usr/src/app \
mcr.microsoft.com/playwright:v1.38.0-jammy /bin/bash
```

then in that container:

- install `make` and `g++` to ensure that Parcel can run:
`apt update && apt install --yes make gcc g++`,
- remove any potentially non-Linux build or install artifacts then install:
`rm -rf node_modules && npm run clean && npm install`,
- generate now expected browser screenshots on Linux (required for GitHub
Expand Down
5 changes: 4 additions & 1 deletion jest.config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"collectCoverage": true,
"collectCoverageFrom": ["src/**/*.{ts,tsx}"],
"collectCoverageFrom": ["src/**/*.{ts,tsx}", "!src/**/*.d.ts"],
"coverageThreshold": {
"global": {
"branches": 100,
Expand All @@ -9,6 +9,9 @@
"statements": 100
}
},
"moduleNameMapper": {
"\\.css$": "identity-obj-proxy"
},
"testEnvironment": "jsdom",
"testPathIgnorePatterns": ["/tests-e2e/", "/tests-examples"]
}

0 comments on commit 6a2fa4a

Please sign in to comment.