edX Transifex Bot
de53ed9258
fix(i18n): update translations
2020-08-16 17:08:26 -04:00
daphneli-chen
81188ae30f
AA-274: Created credit requirements banner ( #168 )
...
Co-authored-by: Daphne Li-Chen <dli-chen@edx.org >
2020-08-14 16:50:10 -04:00
stvn
f5d361661f
Merge PR #183 add/kill-switch
...
* Commits:
Implement kill-switch for non-staff users
2020-08-13 14:28:30 -07:00
David Joy
c298bc1dbf
Implement kill-switch for non-staff users
...
to redirect to the current unit’s lmsWebUrl if the MFE is disabled
If we receive an error_code of 'microfrontend_disabled',
go to the equivalent unit in the LMS experience.
Fixes: TNL-7362
Co-authored-by: stvn <stvn@mit.edu >
2020-08-12 17:26:30 -07:00
Kyle McCormick
0ad80a63cf
Fix lint warnings; require 0 warnings for Travis build ( #181 )
2020-08-12 17:16:28 -04:00
Kyle McCormick
bc76adf8eb
Wrap all alert payloads in useMemo to avoid infinite re-rendering ( #182 )
...
* Wrap all alert payloads in useMemo to avoid infinite re-rendering
This manifested in production as a browser freeze for any
user who saw the 15%-off-to-upgrade message.
TNL-7400
* fixup! meant to say identity, not equality
2020-08-12 17:12:31 -04:00
David Joy
cc7142e5c1
Fix checkBlockCompletion parameters
...
We were assuming a prop named unitId existed in CoursewareContainer - it doesn’t. unitId is not in redux. What we do have, is the unitId in the route params - what we refer to as routeUnitId. If we use this instead of the non-existent unitId, then life is good.
I wrote a test (that breaks!) prior to implementing the fix. The fix satisfies the test. 🎉
2020-08-12 16:01:12 -04:00
Dillon Dumesnil
a975b8ae70
Format may not be defined. Provide a default and only add to URL if it exists ( #178 )
2020-08-12 09:49:21 -07:00
Renovate Bot
3b34a87391
Pin dependency @edx/paragon to 9.1.1
2020-08-12 12:38:20 -04:00
Nick
453f56c7c8
AA-287 cta events ( #177 )
2020-08-12 11:48:46 -04:00
Dillon Dumesnil
a131a9f9fb
Add format into iframe request to populate context ( #174 )
...
The format is used with the due date in the vertical to show
text like "Homework due ___"
2020-08-11 08:32:24 -07:00
Carla Duarte
d5f9af1954
AA-129: Resume Course button ( #133 )
2020-08-11 11:08:29 -04:00
Carla Duarte
a44d2633a1
AA-255: Dates Tab Tooltip for ORA ( #173 )
2020-08-10 09:37:01 -04:00
edX Transifex Bot
de2a46eb93
fix(i18n): update translations
2020-08-09 17:08:11 -04:00
Nick
9a315aa29d
AA-264 mfe courseware reset dates ( #165 )
...
- add toast display after successful reset of dates via banner.
2020-08-06 15:20:53 -04:00
stvn
ad74b2295b
Merge PR #106 add/masquerade-username
...
* Commits:
Add "masquerade as specific student" support
2020-08-06 12:06:47 -07:00
stvn
c8961d3777
Add "masquerade as specific student" support
2020-08-06 09:07:53 -07:00
Dillon Dumesnil
c7c401e385
AA-275: Persist if the original user was staff for Instructor Toolbar ( #167 )
...
We want to be able to know if both the original user is a Staff user
as well as if the user being masqueraded as is staff. This updates
to accept both of these fields
2020-08-06 08:58:47 -07:00
Michael Terry
9e0f192ae7
AA-278 & AA-279: Add offer and course expired alerts to outline ( #164 )
...
* AA-278: Add offer alert to outline
It was previously only used in the courseware. But to match the
LMS, we also want to show it on the outline tab.
* AA-279: Add course expired alert to outline
It was previously only used in the courseware. But to match the
LMS, we also want to show it on the outline tab.
2020-08-06 09:49:37 -04:00
daphneli-chen
4667535c0c
AA-211: Created certificate banner and studio link ( #134 )
...
Co-authored-by: Daphne Li-Chen <dli-chen@edx.org >
2020-08-05 10:26:34 -04:00
Renovate Bot
a1646c5793
Update dependency regenerator-runtime to v0.13.7
2020-08-04 06:58:42 +00:00
Renovate Bot
0e6f64081d
Update dependency react-share to v4.2.1
2020-08-04 04:38:41 +00:00
Renovate Bot
8e4f0535a7
Update dependency react-redux to v7.2.1
2020-08-04 03:20:10 +00:00
Renovate Bot
6f14f01dc2
Update dependency codecov to v3.7.2
2020-08-04 01:42:40 +00:00
Renovate Bot
6233f16812
Update dependency @testing-library/user-event to v12.0.17
2020-08-04 00:10:16 +00:00
Renovate Bot
a60480ec52
Update dependency @fortawesome/fontawesome-svg-core to v1.2.30
2020-08-03 22:15:38 +00:00
Renovate Bot
eba9d9a44d
Update dependency @edx/frontend-platform to v1.5.2
2020-08-03 20:30:07 +00:00
Renovate Bot
8cd3d6501f
Update dependency @edx/frontend-component-footer to v10.0.11
2020-08-03 19:52:06 +00:00
dependabot[bot]
76fc6d64f2
Bump codecov from 3.7.0 to 3.7.1
...
Bumps [codecov](https://github.com/codecov/codecov-node ) from 3.7.0 to 3.7.1.
- [Release notes](https://github.com/codecov/codecov-node/releases )
- [Commits](https://github.com/codecov/codecov-node/compare/v3.7.0...v3.7.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-08-03 14:40:37 -04:00
Michael Terry
314b82d0b2
AA-276: Add course start alert in outline ( #146 )
...
Also move a few of the outline alerts into the course home
source folder.
2020-08-03 13:39:25 -04:00
Michael Terry
e17b66851e
AA-277: Add certificate available alert on outline ( #144 )
2020-08-03 13:04:47 -04:00
Renovate Bot
9accacd019
chore(deps): update dependency @testing-library/dom to v7.16.3
2020-08-03 16:23:38 +00:00
Renovate Bot
a9cec0102b
chore(deps): pin dependencies
2020-08-03 10:16:24 -04:00
Michael Terry
e4d6d37c4e
AA-124: Show course end alert ( #135 )
...
This is a parity-with-LMS change, to bring their warning about
the course ending within a couple weeks to the MFE.
2020-08-03 09:53:40 -04:00
edX Transifex Bot
7ad501d73b
fix(i18n): update translations
2020-08-02 17:07:56 -04:00
David Joy
f1d43b18d6
Tweak CoursewareContainer tests to get them working again.
...
This is effectively fixing merge conflicts between:
https://github.com/edx/frontend-app-learning/pull/128
and:
https://github.com/edx/frontend-app-learning/pull/97
2020-07-31 16:02:38 -04:00
Agrendalath
d408986682
[TNL-7268] Fix tests after rebase
2020-07-31 16:02:38 -04:00
Agrendalath
8d7fbb5bd8
[TNL-7268] refactor tests to use factories
2020-07-31 16:02:38 -04:00
Agrendalath
7c046870e3
[TNL-7268] Remove icon mock
...
As we're not using snapshots, we will not need this anymore.
2020-07-31 16:02:38 -04:00
Agrendalath
0c5fd44d13
[TNL-7268] Fix tests after rebase
2020-07-31 16:02:38 -04:00
Agrendalath
f3d23abe84
[TNL-7268] Fix imports, ignore implicit exports for tests
2020-07-31 16:02:38 -04:00
Agrendalath
6a44d018d8
[TNL-7268] Remove unused dependency
2020-07-31 16:02:38 -04:00
Agrendalath
3362047bcc
[TNL-7268] Replace snapshots with specific assertions
2020-07-31 16:02:38 -04:00
Agrendalath
c1bf77efa4
[TNL-7268] Fix tests after rebase
2020-07-31 16:02:38 -04:00
Agrendalath
e6443ae3bd
[TNL-7268] Address the review comments
2020-07-31 16:02:38 -04:00
Agrendalath
6f7ec81197
[TNL-7268] Fix tests and dependencies after rebase
2020-07-31 16:02:38 -04:00
Agrendalath
8719fad091
[TNL-7268] Add high priority tests
2020-07-31 16:02:38 -04:00
Agrendalath
ec7f532bc9
[TNL-7268] WIP: Add high priority tests
2020-07-31 16:02:38 -04:00
Dillon Dumesnil
0c8389e244
AA-280: Add assignment type to dates tab display ( #137 )
2020-07-31 12:09:47 -07:00
Michael Terry
cd8f3072e2
AA-124: Refactor enrollment alerts ( #126 )
...
- Place them only on the Outline page
- Support a few cases where enrollment isn't actually allowed
2020-07-30 12:51:17 -04:00