diff --git a/dashboard-frontend b/dashboard-frontend index a695df15a..ccdd5b6e1 160000 --- a/dashboard-frontend +++ b/dashboard-frontend @@ -1 +1 @@ -Subproject commit a695df15ae328e8a55bfd10ab64dc55baf7d8c78 +Subproject commit ccdd5b6e1cf875cfcaa1078bef961bd9f41fe78b diff --git a/web/.eslintrc.cjs b/web/.eslintrc.cjs deleted file mode 100644 index c120d9dd6..000000000 --- a/web/.eslintrc.cjs +++ /dev/null @@ -1,19 +0,0 @@ -module.exports = { - root: true, - env: { browser: true, es2020: true }, - extends: [ - 'eslint:recommended', - 'plugin:@typescript-eslint/recommended', - 'plugin:react-hooks/recommended', - ], - ignorePatterns: ['dist', '.eslintrc.cjs'], - parser: '@typescript-eslint/parser', - plugins: ['react-refresh'], - rules: { - 'react-refresh/only-export-components': [ - 'warn', - { allowConstantExport: true }, - ], - "@typescript-eslint/no-explicit-any": "off", - }, -} diff --git a/web/.gitignore b/web/.gitignore deleted file mode 100644 index a547bf36d..000000000 --- a/web/.gitignore +++ /dev/null @@ -1,24 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* -pnpm-debug.log* -lerna-debug.log* - -node_modules -dist -dist-ssr -*.local - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -.DS_Store -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/web/README.md b/web/README.md deleted file mode 100644 index 0d6babedd..000000000 --- a/web/README.md +++ /dev/null @@ -1,30 +0,0 @@ -# React + TypeScript + Vite - -This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. - -Currently, two official plugins are available: - -- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh -- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh - -## Expanding the ESLint configuration - -If you are developing a production application, we recommend updating the configuration to enable type aware lint rules: - -- Configure the top-level `parserOptions` property like this: - -```js -export default { - // other rules... - parserOptions: { - ecmaVersion: 'latest', - sourceType: 'module', - project: ['./tsconfig.json', './tsconfig.node.json'], - tsconfigRootDir: __dirname, - }, -} -``` - -- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked` -- Optionally add `plugin:@typescript-eslint/stylistic-type-checked` -- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list diff --git a/web/build/asset-manifest.json b/web/build/asset-manifest.json deleted file mode 100644 index 405052e90..000000000 --- a/web/build/asset-manifest.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "files": { - "main.css": "/device-farm/static/css/main.acabd312.css", - "main.js": "/device-farm/static/js/main.a7e47f43.js", - "static/js/988.fb5edbac.chunk.js": "/device-farm/static/js/988.fb5edbac.chunk.js", - "static/media/device-farm-logo.png": "/device-farm/static/media/device-farm-logo.90f2df7d84e57174f9c8.png", - "static/media/android-nav-icon.svg": "/device-farm/static/media/android-nav-icon.4670118e9f775081ed597e634764f605.svg", - "static/media/apple-nav-icon.svg": "/device-farm/static/media/apple-nav-icon.429cf1f0405cd5c622edbfb5835e22f8.svg", - "static/media/apple-icon.svg": "/device-farm/static/media/apple-icon.5112967f592a1aeff8323b26823c2bd8.svg", - "static/media/android-icon.svg": "/device-farm/static/media/android-icon.ec560eea7ab9466df54aa91bbf1c8983.svg", - "index.html": "/device-farm/index.html", - "static/media/cancel-green-icon.svg": "/device-farm/static/media/cancel-green-icon.71453b46237edaab5014a92125a3ed69.svg", - "static/media/cancel-red-icon.svg": "/device-farm/static/media/cancel-red-icon.52d51b858c8e96a30d4f9d79b52b92ea.svg", - "static/media/link-icon.svg": "/device-farm/static/media/link-icon.7336176ff32688423a9800543c6ee9f8.svg", - "main.acabd312.css.map": "/device-farm/static/css/main.acabd312.css.map", - "main.a7e47f43.js.map": "/device-farm/static/js/main.a7e47f43.js.map", - "988.fb5edbac.chunk.js.map": "/device-farm/static/js/988.fb5edbac.chunk.js.map" - }, - "entrypoints": [ - "static/css/main.acabd312.css", - "static/js/main.a7e47f43.js" - ] -} \ No newline at end of file diff --git a/web/build/favicon.ico b/web/build/favicon.ico deleted file mode 100644 index 9e5dfa3e9..000000000 Binary files a/web/build/favicon.ico and /dev/null differ diff --git a/web/build/index.html b/web/build/index.html deleted file mode 100644 index 3debbb82a..000000000 --- a/web/build/index.html +++ /dev/null @@ -1 +0,0 @@ -
{build.name}
-{session.deviceName}
-- {session.devicePlatform} {session.deviceVersion} -
-- Last updated {timeAgo(session.updatedAt)} -
-{session.status}
-{runningTime(session.startTime, session.endTime)}
-{key}:
-{JSON.stringify(value)}
-Session Id:
-{session.id}
-Start Time:
-{session.startTime}
-Device Name:
-{session.deviceName}
-OS:
-{session.devicePlatform}
-End Time:
-{session.endTime || session.status}
-UDID:
-{session.deviceUDID}
-OS Version:
-{session.deviceVersion}
-Duration:
-- {runningTime(session.startTime, session.endTime)} -
-App:
-{getAppName(session.sessionCapabilities)}
-RESPONSE
- {formattedResponse.startsWith('{') || formattedResponse.startsWith('[') ? ( -PARAMS
- {formattedBody.startsWith('{') || formattedBody.startsWith('[') ? ( -Drag 'n' drop the app here, or click to select a file
-