796b8010b16a19fb850a12a58b54e700c8aada85
[MICROBA-1621] * Add a table to the BulkEmailTaskHistory component of the task manager. * Add a table to the BulkEmailPendingTasks component of the task manager. * Extract messages to messages.js. * Add custom hook used to make REST API calls to edx-platform on a regular cadence (every 30 seconds). * Use the new hook in BulkEmailPendingTasks to retrieve pending instructor tasks for display in a table. * Create a new BulkEmailHistoryTable component to cutdown on code duplication between task manager componenets that display tables. * Refactor existing components to use the new BulkEmailHistoryTable component (and reduce amount of duplicate code in the task manager) * Use a StatefulButton (over a regular button) to show a spinner/loading icon when fetching data for our tables.
|Build Status| |Codecov| |license| |semantic-release| ## As many of these as you'd like to include, or others if you wish!
frontend-app-communications
==============================
Please tag **edx-aperture** on any PRs or issues. Thanks!
Introduction
------------
A tool used by course teams to communicate with thier learners. The interface for anything related to instructor to learner communications. Instructor bulk email, for example.
Getting started
------------
For now, this repo is not intergrated with devstack. You'll be running the app locally and not through docker. This does make setup a little easier.
1. Clone the repo into your usual workspace
.. code-block::
mkdir -p ~/workspace/
cd ~/workspace/
git clone https://github.com/edx/devstack.git
2. Install frontend dependencies
.. code-block::
npm i
3. start the devserver. The app will be running at `localhost:8585`, or whatever port you change it too.
.. code-block::
npm i
Environment Variables/Setup Notes
---------------------------------
TBD
Running Tests
---------------------------
tests use jest as usual. To run all the tests for this repo:
.. code-block::
npm test
Languages
JavaScript
98.1%
Makefile
1.1%
SCSS
0.5%
HTML
0.3%