This PR adds delete and edit functionality to emails that are scheduled to be sent at a future date. The workflow for editing is as such:
A user clicks edit on the table
The contents of the email are copied to the editor, and the user makes edits
The user is warned that this is editing an email, and that it will not create a new task, instead updating the selected one
If they accept, the email is updated.
For delete, the user just hits the delete button, and its gone. There is now warning popup as of yet.
This PR also adds the toast component for success and errors when sending emails.
80 lines
2.4 KiB
JSON
80 lines
2.4 KiB
JSON
{
|
|
"name": "@edx/frontend-app-communications",
|
|
"version": "0.1.0",
|
|
"description": "Frontend application template",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/edx/frontend-app-communications.git"
|
|
},
|
|
"browserslist": [
|
|
"last 2 versions",
|
|
"ie 11"
|
|
],
|
|
"scripts": {
|
|
"build": "fedx-scripts webpack",
|
|
"i18n_extract": "BABEL_ENV=i18n fedx-scripts babel src --quiet > /dev/null",
|
|
"is-es5": "es-check es5 ./dist/*.js",
|
|
"lint": "fedx-scripts eslint --ext .js --ext .jsx .",
|
|
"lint:fix": "fedx-scripts eslint --fix --ext .js --ext .jsx .",
|
|
"snapshot": "fedx-scripts jest --updateSnapshot",
|
|
"start": "fedx-scripts webpack-dev-server --progress",
|
|
"test": "TZ=UTC fedx-scripts jest --coverage --passWithNoTests"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm run lint"
|
|
}
|
|
},
|
|
"author": "edX",
|
|
"license": "AGPL-3.0",
|
|
"homepage": "https://github.com/edx/frontend-app-communications#readme",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/edx/frontend-app-communications/issues"
|
|
},
|
|
"dependencies": {
|
|
"@edx/brand": "npm:@edx/brand-openedx@1.1.0",
|
|
"@edx/frontend-component-footer": "10.1.6",
|
|
"@edx/frontend-component-header": "^2.4.2",
|
|
"@edx/frontend-platform": "1.15.6",
|
|
"@edx/paragon": "19.18.3",
|
|
"@edx/tinymce-language-selector": "^1.1.0",
|
|
"@fortawesome/fontawesome-svg-core": "1.2.36",
|
|
"@fortawesome/free-brands-svg-icons": "5.15.4",
|
|
"@fortawesome/free-regular-svg-icons": "5.15.4",
|
|
"@fortawesome/free-solid-svg-icons": "5.15.4",
|
|
"@fortawesome/react-fontawesome": "0.1.16",
|
|
"@tinymce/tinymce-react": "^3.13.0",
|
|
"classnames": "^2.3.1",
|
|
"core-js": "3.15.2",
|
|
"prop-types": "15.7.2",
|
|
"react": "16.14.0",
|
|
"react-dom": "16.14.0",
|
|
"react-redux": "7.2.6",
|
|
"react-router": "5.2.1",
|
|
"react-router-dom": "5.3.0",
|
|
"redux": "4.1.2",
|
|
"regenerator-runtime": "0.13.9",
|
|
"tinymce": "^5.10.2",
|
|
"axios": "^0.21.4",
|
|
"jquery": "^3.6.0",
|
|
"popper.js": "^1.16.1"
|
|
},
|
|
"devDependencies": {
|
|
"@edx/frontend-build": "9.1.4",
|
|
"@testing-library/jest-dom": "^5.16.1",
|
|
"@testing-library/react": "^12.1.2",
|
|
"axios-mock-adapter": "^1.20.0",
|
|
"codecov": "3.8.3",
|
|
"es-check": "6.1.1",
|
|
"glob": "7.2.0",
|
|
"husky": "7.0.4",
|
|
"jest": "27.3.1",
|
|
"prettier": "^2.5.1",
|
|
"reactifex": "1.1.1",
|
|
"rosie": "^2.1.0"
|
|
}
|
|
}
|