-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: improve status column display (#611)
fix: check if status column is empty and don't show it fix: add new collapsible and showchatbox
- Loading branch information
Showing
18 changed files
with
1,231 additions
and
1,591 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,14 +12,14 @@ | |
"dependencies": { | ||
"@emotion/react": "11.10.5", | ||
"@emotion/styled": "11.10.5", | ||
"@graasp/chatbox": "1.1.0", | ||
"@graasp/query-client": "0.4.0", | ||
"@graasp/sdk": "0.10.0", | ||
"@graasp/translations": "1.10.0", | ||
"@graasp/ui": "2.3.0", | ||
"@mui/icons-material": "5.11.0", | ||
"@graasp/chatbox": "1.2.1", | ||
"@graasp/query-client": "0.4.1", | ||
"@graasp/sdk": "0.10.1", | ||
"@graasp/translations": "1.11.0", | ||
"@graasp/ui": "2.3.1", | ||
"@mui/icons-material": "5.11.16", | ||
"@mui/lab": "5.0.0-alpha.117", | ||
"@mui/material": "5.11.6", | ||
"@mui/material": "5.12.0", | ||
"@sentry/react": "7.44.2", | ||
"@sentry/tracing": "7.44.2", | ||
"@uppy/core": "3.0.4", | ||
|
@@ -37,7 +37,7 @@ | |
"filesize": "9.0.11", | ||
"http-status-codes": "2.2.0", | ||
"i18next": "21.8.1", | ||
"immutable": "4.2.4", | ||
"immutable": "4.3.0", | ||
"katex": "0.16.0", | ||
"lodash.partition": "4.6.0", | ||
"lodash.truncate": "4.4.2", | ||
|
@@ -63,14 +63,14 @@ | |
"scripts": { | ||
"hooks:uninstall": "husky uninstall", | ||
"hooks:install": "husky install", | ||
"start": "env-cmd -f ./.env.local react-app-rewired start", | ||
"start:test": "env-cmd -f ./.env.test react-app-rewired start", | ||
"start:prod": "env-cmd -f ./.env.production react-app-rewired start", | ||
"start:ci": "react-app-rewired -r @cypress/instrument-cra start", | ||
"build": "react-app-rewired build", | ||
"build:local": "env-cmd -f ./.env.local react-app-rewired build", | ||
"dist": "env-cmd -f ./.env.production react-app-rewired build", | ||
"dist:dev": "env-cmd -f ./.env.development react-app-rewired build", | ||
"start": "env-cmd -f ./.env.local react-scripts start", | ||
"start:test": "env-cmd -f ./.env.test react-scripts start", | ||
"start:prod": "env-cmd -f ./.env.production react-scripts start", | ||
"start:ci": "react-scripts -r @cypress/instrument-cra start", | ||
"build": "react-scripts build", | ||
"build:local": "env-cmd -f ./.env.local react-scripts build", | ||
"dist": "env-cmd -f ./.env.production react-scripts build", | ||
"dist:dev": "env-cmd -f ./.env.development react-scripts build", | ||
"eject": "react-scripts eject", | ||
"lint": "eslint --resolve-plugins-relative-to .", | ||
"type-check": "tsc --noEmit", | ||
|
@@ -80,12 +80,7 @@ | |
"cypress:open": "env-cmd -f ./.env.local cypress open", | ||
"cypress": "concurrently \"yarn start:test\" \"wait-on http://localhost:3111 && yarn cypress:run\"", | ||
"cypress:run": "env-cmd -f ./.env.test cypress run --headless --browser chrome --spec \"cypress/**/*.cy.js\"", | ||
"postinstall": "husky install", | ||
"release": "standard-version -a", | ||
"release:first": "standard-version -a --first-release", | ||
"release:minor": "standard-version -a --release-as minor", | ||
"release:major": "standard-version -a --release-as major", | ||
"release:patch": "standard-version -a --release-as patch" | ||
"postinstall": "husky install" | ||
}, | ||
"browserslist": { | ||
"production": [ | ||
|
@@ -107,12 +102,13 @@ | |
"@commitlint/config-conventional": "17.4.2", | ||
"@cypress/code-coverage": "3.10.0", | ||
"@cypress/instrument-cra": "1.4.0", | ||
"@graasp/websockets": "github:graasp/graasp-websockets.git", | ||
"@graasp/plugin-websockets": "1.0.0", | ||
"@testing-library/jest-dom": "^5.16.3", | ||
"@testing-library/react": "^12.1.4", | ||
"@testing-library/user-event": "^13.5.0", | ||
"@trivago/prettier-plugin-sort-imports": "4.0.0", | ||
"@types/jest": "29.0.3", | ||
"@types/lodash.partition": "4.6.7", | ||
"@types/lodash.truncate": "4.4.7", | ||
"@types/node": "18.7.21", | ||
"@types/papaparse": "5.3.7", | ||
|
@@ -135,21 +131,20 @@ | |
"eslint-plugin-react": "7.32.2", | ||
"husky": "8.0.3", | ||
"istanbul-lib-coverage": "3.2.0", | ||
"npm-run-all": "4.1.5", | ||
"nyc": "15.1.0", | ||
"prettier": "2.8.3", | ||
"react-app-rewired": "2.2.1", | ||
"standard-version": "9.5.0", | ||
"progress-bar-webpack-plugin": "2.1.0", | ||
"typescript": "4.9.4", | ||
"wait-on": "7.0.1" | ||
"wait-on": "7.0.1", | ||
"webpack-bundle-analyzer": "4.8.0" | ||
}, | ||
"resolutions": { | ||
"@mui/icons-material": "5.11.0", | ||
"@mui/material": "5.11.6", | ||
"@graasp/sdk": "0.10.0", | ||
"@graasp/ui": "2.3.0", | ||
"@mui/icons-material": "5.11.16", | ||
"@mui/material": "5.12.0", | ||
"immer": "9.0.6", | ||
"immutable": "4.2.4", | ||
"@graasp/sdk": "0.10.1", | ||
"immutable": "4.3.0", | ||
"@types/react": "17.0.2", | ||
"@svgr/webpack": "6.5.1" | ||
}, | ||
"packageManager": "[email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
process.env.NODE_ENV = 'production'; | ||
|
||
const webpack = require('webpack'); | ||
const BundleAnalyzerPlugin = | ||
require('webpack-bundle-analyzer').BundleAnalyzerPlugin; | ||
const webpackConfigProd = require('react-scripts/config/webpack.config')( | ||
'production', | ||
); | ||
|
||
// this one is optional, just for better feedback on build | ||
const chalk = require('chalk'); | ||
const ProgressBarPlugin = require('progress-bar-webpack-plugin'); | ||
const green = (text) => { | ||
return chalk.green.bold(text); | ||
}; | ||
|
||
// pushing BundleAnalyzerPlugin to plugins array | ||
webpackConfigProd.plugins.push(new BundleAnalyzerPlugin()); | ||
|
||
// optional - pushing progress-bar plugin for better feedback; | ||
// it can and will work without progress-bar, | ||
// but during build time you will not see any messages for 10-60 seconds (depends on the size of the project) | ||
// and decide that compilation is kind of hang up on you; progress bar shows nice progression of webpack compilation | ||
webpackConfigProd.plugins.push( | ||
new ProgressBarPlugin({ | ||
format: `${green('analyzing...')} ${green('[:bar]')}${green( | ||
'[:percent]', | ||
)}${green('[:elapsed seconds]')} - :msg`, | ||
}), | ||
); | ||
|
||
// actually running compilation and waiting for plugin to start explorer | ||
webpack(webpackConfigProd, (err, stats) => { | ||
if (err || stats.hasErrors()) { | ||
console.error(err); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.