This PR refactors some of the code around the context store to be more in line with the project organization ADR in this repo. Essentially, it splits the reducers and actions into slices used by the components that need them to prevent pollution of data in the store. This PR also handles most of the refactor around the BulkEmailTool making use of the BulkEmailToolProvider in order to share data between components. This allows for better copyToEditor functionality, amongst other changes, as the email form now handles its state within the context store. The Provider and its store is purposefully tied to the BulkEmailTool as to prevent any bleeding of state information between tools that may be added to the comms MFE in the future. This PR also adds the first iteration of the scheduled emails table. This table will allow for viewing, deleting, and editing emails in the future. For now, it only adds viewing. The viewing modal DOES support copy to editor functionality but it is NOT editing the original entry and WILL schedule a new email if submitted.
21 lines
909 B
Plaintext
21 lines
909 B
Plaintext
ACCESS_TOKEN_COOKIE_NAME='edx-jwt-cookie-header-payload'
|
|
BASE_URL='http://localhost:1995'
|
|
CREDENTIALS_BASE_URL='http://localhost:18150'
|
|
CSRF_TOKEN_API_PATH='/csrf/api/v1/token'
|
|
ECOMMERCE_BASE_URL='http://localhost:18130'
|
|
LANGUAGE_PREFERENCE_COOKIE_NAME='openedx-language-preference'
|
|
LMS_BASE_URL='http://localhost:18000'
|
|
LOGIN_URL='http://localhost:18000/login'
|
|
LOGOUT_URL='http://localhost:18000/logout'
|
|
LOGO_URL=https://edx-cdn.org/v3/default/logo.svg
|
|
LOGO_TRADEMARK_URL=https://edx-cdn.org/v3/default/logo-trademark.svg
|
|
LOGO_WHITE_URL=https://edx-cdn.org/v3/default/logo-white.svg
|
|
FAVICON_URL=https://edx-cdn.org/v3/default/favicon.ico
|
|
MARKETING_SITE_BASE_URL='http://localhost:18000'
|
|
ORDER_HISTORY_URL='http://localhost:1996/orders'
|
|
REFRESH_ACCESS_TOKEN_ENDPOINT='http://localhost:18000/login_refresh'
|
|
SEGMENT_KEY=''
|
|
SITE_NAME=localhost
|
|
USER_INFO_COOKIE_NAME='edx-user-info'
|
|
SCHEDULE_EMAIL_SECTION='true'
|