mirror of
https://github.com/enso-org/enso.git
synced 2024-11-30 17:44:58 +03:00
2ec7817068
- Implement https://github.com/enso-org/cloud-v2/issues/924 - Refactor all numbers out to CSS variables - Implement some issues raised in the design meeting - The columns selector now only contains *hidden* columns, rather than all of them. - Unified opacity for active (100%), selectable and hovered (75%), selectable (50%) and disabled (30%) - Easily configurable if we want to change it in the future, so the specific values don't matter too much for now. - Always show asset right panel if it is enabled - display placeholder text if <1 or >1 asset is selected - Hide docs icon that was in the top right assets menubar (next to the gear icon for asset settings) (as backend functionality has yet to be implemented) - Clicking a user in the "Shared with" column now adds them to the search as `owner:<username>` - Add a gap between adjacent rows. This makes each row more visually distinct when many rows are selected - Center the left column (the first column) of the context menu below the mouse, rather than centering the entire context menu. - Fix regressions caused by CSS refactor - Make keyboard selection indicator for asset rows rounded again - Other misc. fixes and improvements - Slightly modified styling of chat reaction bar - Hide the row containing the "New Project" button in the cloud drive, when not in the "Home" drive tab - Animate rotation of column sort arrow when clicking on a column to change the sort order - Consistent duration of arrow rotation animation for folder arrows, column sort arrows, chat thread list arrows - Consistent icon for sort arrow for folders and the chat thread list - Minor adjustment of styles for optional properties in the Data Link input Not included in this PR: - Custom (HTML) scrollbars for consistency across all browsers and all OSes (except perhaps touchscreens) - Potentially time-consuming to look for a library (and not quite trivial to implement ourselves) - Columns sliding left as they expand and right as they collapse - Also non-trivial, especially when taking into account horizontal scrolling. - Fixing styles to closer resemble Figma design - As (kinda) mentioned in the meeting - ideally it should be pixel perfect, *but* value consistency with other spacings, opacities etc. over being 100% pixel-perfect - However, it has *partly* been done - mostly for the home page. It's entirely possible that changes made afterwards broke the spacing again though. # Important Notes None
93 lines
2.9 KiB
JSON
93 lines
2.9 KiB
JSON
{
|
|
"name": "enso-dashboard",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"main": "./src/index.tsx",
|
|
"private": true,
|
|
"imports": {
|
|
"#/*": "./src/*"
|
|
},
|
|
"exports": {
|
|
".": "./src/index.tsx",
|
|
"./tailwind.config": "./tailwind.config.js",
|
|
"./src/platform": "./src/platform.ts",
|
|
"./src/tailwind.css": "./src/tailwind.css"
|
|
},
|
|
"scripts": {
|
|
"compile": "tsc",
|
|
"typecheck": "tsc --noEmit",
|
|
"build": "vite build",
|
|
"dev": "vite",
|
|
"dev:e2e": "vite -c vite.test.config.ts",
|
|
"test": "npm run test:unit && npm run test:e2e",
|
|
"test:unit": "vitest run",
|
|
"test:unit:debug": "vitest",
|
|
"test:e2e": "cross-env NODE_ENV=production playwright test",
|
|
"test:e2e:debug": "cross-env NODE_ENV=production playwright test --ui"
|
|
},
|
|
"//": [
|
|
"@fortawesome/fontawesome-svg-core is required as a peer dependency for @fortawesome/react-fontawesome"
|
|
],
|
|
"dependencies": {
|
|
"@aws-amplify/auth": "5.6.5",
|
|
"@aws-amplify/core": "5.8.5",
|
|
"@fortawesome/fontawesome-svg-core": "^6.4.2",
|
|
"@fortawesome/free-brands-svg-icons": "^6.4.2",
|
|
"@fortawesome/react-fontawesome": "^0.2.0",
|
|
"@sentry/react": "^7.74.0",
|
|
"ajv": "^8.12.0",
|
|
"enso-common": "^1.0.0",
|
|
"is-network-error": "^1.0.1",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-router-dom": "^6.8.1",
|
|
"react-toastify": "^9.1.3",
|
|
"ts-results": "^3.3.0",
|
|
"validator": "^13.11.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/plugin-syntax-import-assertions": "^7.23.3",
|
|
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
|
|
"@fast-check/vitest": "^0.0.8",
|
|
"@ianvs/prettier-plugin-sort-imports": "^4.1.1",
|
|
"@modyfi/vite-plugin-yaml": "^1.0.4",
|
|
"@playwright/experimental-ct-react": "^1.40.0",
|
|
"@playwright/test": "^1.40.0",
|
|
"@types/node": "^20.11.21",
|
|
"@types/react": "^18.0.27",
|
|
"@types/react-dom": "^18.0.10",
|
|
"@types/validator": "^13.11.7",
|
|
"@typescript-eslint/eslint-plugin": "^6.7.2",
|
|
"@typescript-eslint/parser": "^6.7.2",
|
|
"@vitejs/plugin-react": "^4.2.1",
|
|
"chalk": "^5.3.0",
|
|
"cross-env": "^7.0.3",
|
|
"enso-chat": "git://github.com/enso-org/enso-bot",
|
|
"esbuild": "^0.19.3",
|
|
"esbuild-plugin-inline-image": "^0.0.9",
|
|
"esbuild-plugin-time": "^1.0.0",
|
|
"eslint": "^8.49.0",
|
|
"eslint-plugin-jsdoc": "^46.8.1",
|
|
"eslint-plugin-react": "^7.32.1",
|
|
"fast-check": "^3.15.0",
|
|
"playwright": "^1.38.0",
|
|
"postcss": "^8.4.29",
|
|
"prettier-plugin-tailwindcss": "^0.5.11",
|
|
"react-toastify": "^9.1.3",
|
|
"tailwindcss": "^3.4.1",
|
|
"ts-plugin-namespace-auto-import": "^1.0.0",
|
|
"typescript": "~5.2.2",
|
|
"vite": "^4.4.9",
|
|
"vitest": "^1.3.1"
|
|
},
|
|
"optionalDependencies": {
|
|
"@esbuild/darwin-x64": "^0.17.15",
|
|
"@esbuild/linux-x64": "^0.17.15",
|
|
"@esbuild/windows-x64": "^0.17.15"
|
|
},
|
|
"overrides": {
|
|
"@aws-amplify/auth": "../_IGNORED_",
|
|
"react-native-url-polyfill": "../_IGNORED_"
|
|
}
|
|
}
|