browsertrix/frontend
Tessa Walsh d31bdd2a21
Change resource table to be based on mime type (#1698)
Follow-up to #1689 

Instead of just using resource types, using a combination of mime type, resource type and extension analysis.
Current logic is:
    - if resourceType is script, stylesheet, image, font, use that definitely
    - if resourceType is fetch/xhr, also check for extension, specifically for images
    - categorize favicon.ico separately as 'favicon'
    - also check for extension for json
    - also check for pdf by type + extension
    - categorize 'ping' as 'other'
    - by default, use the first part of mime as the type
2024-04-20 19:02:15 -07:00
..
.husky Run frontend formatter on pre-commit hook (#461) 2023-01-12 14:04:15 -08:00
config Initial QA Review UI! (#1624) 2024-04-04 15:09:52 -07:00
patches Fix attribute casing & lit-analyzer issues (#1429) 2023-12-11 12:34:03 -05:00
scripts Add ESLint rules for import ordering (#1608) 2024-03-18 21:50:02 -04:00
src Change resource table to be based on mime type (#1698) 2024-04-20 19:02:15 -07:00
tests Add ESLint rules for import ordering (#1608) 2024-03-18 21:50:02 -04:00
xliff terminology tweaks in frontend: (part of #922) (#1062) 2023-08-09 15:38:58 -07:00
.dockerignore Optimizing Frontend Dockerfile (#60) 2021-12-05 18:39:45 -08:00
.editorconfig chore: add editorconfig in frontend 2023-02-24 13:04:11 -08:00
.eslintrc.js Fix missing page component imports (#1610) 2024-03-18 20:55:35 -07:00
.gitignore CI: Add Playwright UI e2e tests + CI (#614) 2023-03-22 16:23:22 -07:00
.prettierignore Ensure linting & formatting runs in CI (#1512) 2024-01-31 18:25:44 -05:00
.vscode add vscode config symlink in frontend dir 2023-11-20 16:56:48 -05:00
00-browsertrix-nginx-init.sh fix(build): use /usr/bin/env bash instead of /bin/bash (#1020) 2023-07-28 21:50:04 -07:00
Dockerfile Fix failing Webpack build 2024-04-10 14:40:44 -04:00
frontend.conf.template Initial QA Review UI! (#1624) 2024-04-04 15:09:52 -07:00
index.d.ts enable a few more useful eslint suggestions & correct some more types (#1517) 2024-02-09 16:14:08 -08:00
lit-localize.json Frontend prod build optimizations (#54) 2021-12-03 18:00:14 -08:00
minio.conf Local Deployment Work: Support running locally + test cluster on CI (#396) 2022-12-02 19:58:34 -08:00
package.json Emit eslint errors during webpack builds & during dev (#1667) 2024-04-09 17:42:31 -04:00
playwright.config.ts CI: Add Playwright UI e2e tests + CI (#614) 2023-03-22 16:23:22 -07:00
postcss.config.js Org settings layout fix + misc styling & consistency improvements (#1427) 2023-12-13 17:29:35 -05:00
prettier.config.js Fix mismatch in prettier import order config (#1609) 2024-03-18 22:14:13 -04:00
README.md Update frontend local dev guide (#1073) 2023-08-15 12:03:39 -07:00
sample.env.local Frontend build fixes (#191) 2022-03-10 23:26:21 -08:00
tailwind.config.js Frontend: App Branding! (#1592) 2024-04-17 23:40:02 -04:00
tsconfig.eslint.json Upgrade Prettier to 3 (#1513) 2024-01-31 20:56:17 -05:00
tsconfig.json Initial QA Review UI! (#1624) 2024-04-04 15:09:52 -07:00
web-test-runner.config.mjs Fix asset imports in tests (#1611) 2024-03-19 13:06:07 -07:00
webpack.config.js Emit eslint errors during webpack builds & during dev (#1667) 2024-04-09 17:42:31 -04:00
webpack.dev.js Emit eslint errors during webpack builds & during dev (#1667) 2024-04-09 17:42:31 -04:00
webpack.prod.js Emit eslint errors during webpack builds & during dev (#1667) 2024-04-09 17:42:31 -04:00
yarn.lock Emit eslint errors during webpack builds & during dev (#1667) 2024-04-09 17:42:31 -04:00