richie-education 3.3.1-dev9 → 3.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/i18n/locales/ar-SA.json +29 -13
  2. package/i18n/locales/es-ES.json +29 -13
  3. package/i18n/locales/fa-IR.json +29 -13
  4. package/i18n/locales/fr-CA.json +29 -13
  5. package/i18n/locales/fr-FR.json +29 -13
  6. package/i18n/locales/ko-KR.json +29 -13
  7. package/i18n/locales/pt-PT.json +29 -13
  8. package/i18n/locales/ru-RU.json +29 -13
  9. package/i18n/locales/vi-VN.json +29 -13
  10. package/js/api/auth/keycloak.spec.ts +1 -0
  11. package/js/api/auth/keycloak.ts +5 -1
  12. package/js/api/lms/openedx-fonzie-keycloak.spec.ts +35 -2
  13. package/js/api/lms/openedx-fonzie-keycloak.ts +26 -0
  14. package/js/components/SaleTunnel/SaleTunnelInformation/SaleTunnelInformationSingular.tsx +5 -2
  15. package/js/components/SaleTunnel/index.spec.tsx +49 -0
  16. package/js/pages/DashboardBatchOrders/index.spec.tsx +103 -0
  17. package/js/pages/DashboardKeycloakProfile/index.spec.tsx +77 -0
  18. package/js/pages/DashboardKeycloakProfile/index.tsx +93 -0
  19. package/js/pages/DashboardPreferences/index.spec.tsx +141 -0
  20. package/js/pages/DashboardPreferences/index.tsx +7 -1
  21. package/js/translations/ar-SA.json +1 -1
  22. package/js/translations/es-ES.json +1 -1
  23. package/js/translations/fa-IR.json +1 -1
  24. package/js/translations/fr-CA.json +1 -1
  25. package/js/translations/fr-FR.json +1 -1
  26. package/js/translations/ko-KR.json +1 -1
  27. package/js/translations/pt-PT.json +1 -1
  28. package/js/translations/ru-RU.json +1 -1
  29. package/js/translations/vi-VN.json +1 -1
  30. package/js/widgets/Dashboard/components/DashboardItem/BatchOrder/BatchOrderPaymentModal/BatchOrderPaymentManager.tsx +15 -27
  31. package/js/widgets/Dashboard/components/LearnerDashboardSidebar/index.tsx +7 -12
  32. package/js/widgets/Dashboard/index.spec.tsx +4 -3
  33. package/js/widgets/SyllabusCourseRunsList/components/SyllabusAsideList/index.tsx +8 -27
  34. package/js/widgets/SyllabusCourseRunsList/components/SyllabusCourseRunCompacted/index.tsx +41 -17
  35. package/js/widgets/SyllabusCourseRunsList/index.spec.tsx +37 -4
  36. package/js/widgets/cunningham-fr-FR-locale.json +80 -0
  37. package/js/widgets/index.tsx +6 -1
  38. package/package.json +1 -1
@@ -1247,6 +1247,34 @@
1247
1247
  "description": "Syllabus link label on order details",
1248
1248
  "message": "Go to syllabus"
1249
1249
  },
1250
+ "components.DashboardKeycloakProfile.accountInformationHeader": {
1251
+ "description": "Title of the keycloak profile form \"account information\" block",
1252
+ "message": "Account information"
1253
+ },
1254
+ "components.DashboardKeycloakProfile.editButtonLabel": {
1255
+ "description": "Label of the edit button link of the keycloak profile",
1256
+ "message": "Edit your profile"
1257
+ },
1258
+ "components.DashboardKeycloakProfile.emailInputDescription": {
1259
+ "description": "Description of the keycloak profile \"email\" input",
1260
+ "message": "This email will be used to send you confirmation mails."
1261
+ },
1262
+ "components.DashboardKeycloakProfile.emailInputLabel": {
1263
+ "description": "Label of the keycloak profile \"email\" input",
1264
+ "message": "Account email"
1265
+ },
1266
+ "components.DashboardKeycloakProfile.header": {
1267
+ "description": "Title of the dashboard keycloak profile block",
1268
+ "message": "Profile"
1269
+ },
1270
+ "components.DashboardKeycloakProfile.usernameInputDescription": {
1271
+ "description": "Description of the keycloak profile \"username\" input",
1272
+ "message": "This name will be used in legal documents."
1273
+ },
1274
+ "components.DashboardKeycloakProfile.usernameInputLabel": {
1275
+ "description": "Label of the keycloak profile \"username\" input",
1276
+ "message": "Account name"
1277
+ },
1250
1278
  "components.DashboardOpenEdxProfile.EditButtonLabel": {
1251
1279
  "description": "Label of the edit button link of the open edx profile form",
1252
1280
  "message": "Edit your profile"
@@ -1751,10 +1779,6 @@
1751
1779
  "description": "Button label for the payment needed message",
1752
1780
  "message": "Pay {amount}"
1753
1781
  },
1754
- "components.ProductCertificateFooter.paymentProcessing": {
1755
- "description": "Button label for the payment is processing message",
1756
- "message": "Payment processing..."
1757
- },
1758
1782
  "components.ProductCertificateFooter.pendingProductCertificateLabel": {
1759
1783
  "description": "Label on the enrollment when a product of type certificate have been bought",
1760
1784
  "message": "Finish this course to obtain your certificate."
@@ -2243,14 +2267,6 @@
2243
2267
  "description": "Message displayed on the top of course runs list on syllabus when there is 0 or multiple course runs opened",
2244
2268
  "message": "Course runs"
2245
2269
  },
2246
- "components.SyllabusAsideList.noCourseRuns": {
2247
- "description": "Message displayed on syllabus when there are no course runs to show",
2248
- "message": "No course runs"
2249
- },
2250
- "components.SyllabusAsideList.noOtherCourseRuns": {
2251
- "description": "Message displayed on syllabus when there are no other course runs to show than the only one opened",
2252
- "message": "No other course runs"
2253
- },
2254
2270
  "components.SyllabusAsideList.ongoing": {
2255
2271
  "description": "Message displayed on syllabus when there are ongoing course runs",
2256
2272
  "message": "Ongoing"
@@ -2381,7 +2397,7 @@
2381
2397
  },
2382
2398
  "components.SyllabusCourseRunCompacted.selfPaceCoursePeriod": {
2383
2399
  "description": "Course date of an opened and self paced course run block",
2384
- "message": "Available until {endDate}"
2400
+ "message": "Until {endDate, select, undefined {} other {{endDate}}}"
2385
2401
  },
2386
2402
  "components.SyllabusCourseRunCompacted.selfPaceNoEndDate": {
2387
2403
  "description": "Self paced course run block with no end date",
@@ -1247,6 +1247,34 @@
1247
1247
  "description": "Syllabus link label on order details",
1248
1248
  "message": "Go to syllabus"
1249
1249
  },
1250
+ "components.DashboardKeycloakProfile.accountInformationHeader": {
1251
+ "description": "Title of the keycloak profile form \"account information\" block",
1252
+ "message": "Account information"
1253
+ },
1254
+ "components.DashboardKeycloakProfile.editButtonLabel": {
1255
+ "description": "Label of the edit button link of the keycloak profile",
1256
+ "message": "Edit your profile"
1257
+ },
1258
+ "components.DashboardKeycloakProfile.emailInputDescription": {
1259
+ "description": "Description of the keycloak profile \"email\" input",
1260
+ "message": "This email will be used to send you confirmation mails."
1261
+ },
1262
+ "components.DashboardKeycloakProfile.emailInputLabel": {
1263
+ "description": "Label of the keycloak profile \"email\" input",
1264
+ "message": "Account email"
1265
+ },
1266
+ "components.DashboardKeycloakProfile.header": {
1267
+ "description": "Title of the dashboard keycloak profile block",
1268
+ "message": "Profile"
1269
+ },
1270
+ "components.DashboardKeycloakProfile.usernameInputDescription": {
1271
+ "description": "Description of the keycloak profile \"username\" input",
1272
+ "message": "This name will be used in legal documents."
1273
+ },
1274
+ "components.DashboardKeycloakProfile.usernameInputLabel": {
1275
+ "description": "Label of the keycloak profile \"username\" input",
1276
+ "message": "Account name"
1277
+ },
1250
1278
  "components.DashboardOpenEdxProfile.EditButtonLabel": {
1251
1279
  "description": "Label of the edit button link of the open edx profile form",
1252
1280
  "message": "Edit your profile"
@@ -1751,10 +1779,6 @@
1751
1779
  "description": "Button label for the payment needed message",
1752
1780
  "message": "Pay {amount}"
1753
1781
  },
1754
- "components.ProductCertificateFooter.paymentProcessing": {
1755
- "description": "Button label for the payment is processing message",
1756
- "message": "Payment processing..."
1757
- },
1758
1782
  "components.ProductCertificateFooter.pendingProductCertificateLabel": {
1759
1783
  "description": "Label on the enrollment when a product of type certificate have been bought",
1760
1784
  "message": "Finish this course to obtain your certificate."
@@ -2243,14 +2267,6 @@
2243
2267
  "description": "Message displayed on the top of course runs list on syllabus when there is 0 or multiple course runs opened",
2244
2268
  "message": "Course runs"
2245
2269
  },
2246
- "components.SyllabusAsideList.noCourseRuns": {
2247
- "description": "Message displayed on syllabus when there are no course runs to show",
2248
- "message": "No course runs"
2249
- },
2250
- "components.SyllabusAsideList.noOtherCourseRuns": {
2251
- "description": "Message displayed on syllabus when there are no other course runs to show than the only one opened",
2252
- "message": "No other course runs"
2253
- },
2254
2270
  "components.SyllabusAsideList.ongoing": {
2255
2271
  "description": "Message displayed on syllabus when there are ongoing course runs",
2256
2272
  "message": "Ongoing"
@@ -2381,7 +2397,7 @@
2381
2397
  },
2382
2398
  "components.SyllabusCourseRunCompacted.selfPaceCoursePeriod": {
2383
2399
  "description": "Course date of an opened and self paced course run block",
2384
- "message": "Available until {endDate}"
2400
+ "message": "Until {endDate, select, undefined {} other {{endDate}}}"
2385
2401
  },
2386
2402
  "components.SyllabusCourseRunCompacted.selfPaceNoEndDate": {
2387
2403
  "description": "Self paced course run block with no end date",
@@ -1247,6 +1247,34 @@
1247
1247
  "description": "Syllabus link label on order details",
1248
1248
  "message": "Go to syllabus"
1249
1249
  },
1250
+ "components.DashboardKeycloakProfile.accountInformationHeader": {
1251
+ "description": "Title of the keycloak profile form \"account information\" block",
1252
+ "message": "Account information"
1253
+ },
1254
+ "components.DashboardKeycloakProfile.editButtonLabel": {
1255
+ "description": "Label of the edit button link of the keycloak profile",
1256
+ "message": "Edit your profile"
1257
+ },
1258
+ "components.DashboardKeycloakProfile.emailInputDescription": {
1259
+ "description": "Description of the keycloak profile \"email\" input",
1260
+ "message": "This email will be used to send you confirmation mails."
1261
+ },
1262
+ "components.DashboardKeycloakProfile.emailInputLabel": {
1263
+ "description": "Label of the keycloak profile \"email\" input",
1264
+ "message": "Account email"
1265
+ },
1266
+ "components.DashboardKeycloakProfile.header": {
1267
+ "description": "Title of the dashboard keycloak profile block",
1268
+ "message": "Profile"
1269
+ },
1270
+ "components.DashboardKeycloakProfile.usernameInputDescription": {
1271
+ "description": "Description of the keycloak profile \"username\" input",
1272
+ "message": "This name will be used in legal documents."
1273
+ },
1274
+ "components.DashboardKeycloakProfile.usernameInputLabel": {
1275
+ "description": "Label of the keycloak profile \"username\" input",
1276
+ "message": "Account name"
1277
+ },
1250
1278
  "components.DashboardOpenEdxProfile.EditButtonLabel": {
1251
1279
  "description": "Label of the edit button link of the open edx profile form",
1252
1280
  "message": "Edit your profile"
@@ -1751,10 +1779,6 @@
1751
1779
  "description": "Button label for the payment needed message",
1752
1780
  "message": "Pay {amount}"
1753
1781
  },
1754
- "components.ProductCertificateFooter.paymentProcessing": {
1755
- "description": "Button label for the payment is processing message",
1756
- "message": "Payment processing..."
1757
- },
1758
1782
  "components.ProductCertificateFooter.pendingProductCertificateLabel": {
1759
1783
  "description": "Label on the enrollment when a product of type certificate have been bought",
1760
1784
  "message": "Finish this course to obtain your certificate."
@@ -2243,14 +2267,6 @@
2243
2267
  "description": "Message displayed on the top of course runs list on syllabus when there is 0 or multiple course runs opened",
2244
2268
  "message": "Course runs"
2245
2269
  },
2246
- "components.SyllabusAsideList.noCourseRuns": {
2247
- "description": "Message displayed on syllabus when there are no course runs to show",
2248
- "message": "No course runs"
2249
- },
2250
- "components.SyllabusAsideList.noOtherCourseRuns": {
2251
- "description": "Message displayed on syllabus when there are no other course runs to show than the only one opened",
2252
- "message": "No other course runs"
2253
- },
2254
2270
  "components.SyllabusAsideList.ongoing": {
2255
2271
  "description": "Message displayed on syllabus when there are ongoing course runs",
2256
2272
  "message": "Ongoing"
@@ -2381,7 +2397,7 @@
2381
2397
  },
2382
2398
  "components.SyllabusCourseRunCompacted.selfPaceCoursePeriod": {
2383
2399
  "description": "Course date of an opened and self paced course run block",
2384
- "message": "Available until {endDate}"
2400
+ "message": "Until {endDate, select, undefined {} other {{endDate}}}"
2385
2401
  },
2386
2402
  "components.SyllabusCourseRunCompacted.selfPaceNoEndDate": {
2387
2403
  "description": "Self paced course run block with no end date",
@@ -1247,6 +1247,34 @@
1247
1247
  "description": "Syllabus link label on order details",
1248
1248
  "message": "Go to syllabus"
1249
1249
  },
1250
+ "components.DashboardKeycloakProfile.accountInformationHeader": {
1251
+ "description": "Title of the keycloak profile form \"account information\" block",
1252
+ "message": "Account information"
1253
+ },
1254
+ "components.DashboardKeycloakProfile.editButtonLabel": {
1255
+ "description": "Label of the edit button link of the keycloak profile",
1256
+ "message": "Edit your profile"
1257
+ },
1258
+ "components.DashboardKeycloakProfile.emailInputDescription": {
1259
+ "description": "Description of the keycloak profile \"email\" input",
1260
+ "message": "This email will be used to send you confirmation mails."
1261
+ },
1262
+ "components.DashboardKeycloakProfile.emailInputLabel": {
1263
+ "description": "Label of the keycloak profile \"email\" input",
1264
+ "message": "Account email"
1265
+ },
1266
+ "components.DashboardKeycloakProfile.header": {
1267
+ "description": "Title of the dashboard keycloak profile block",
1268
+ "message": "Profile"
1269
+ },
1270
+ "components.DashboardKeycloakProfile.usernameInputDescription": {
1271
+ "description": "Description of the keycloak profile \"username\" input",
1272
+ "message": "This name will be used in legal documents."
1273
+ },
1274
+ "components.DashboardKeycloakProfile.usernameInputLabel": {
1275
+ "description": "Label of the keycloak profile \"username\" input",
1276
+ "message": "Account name"
1277
+ },
1250
1278
  "components.DashboardOpenEdxProfile.EditButtonLabel": {
1251
1279
  "description": "Label of the edit button link of the open edx profile form",
1252
1280
  "message": "Edit your profile"
@@ -1751,10 +1779,6 @@
1751
1779
  "description": "Button label for the payment needed message",
1752
1780
  "message": "Pay {amount}"
1753
1781
  },
1754
- "components.ProductCertificateFooter.paymentProcessing": {
1755
- "description": "Button label for the payment is processing message",
1756
- "message": "Payment processing..."
1757
- },
1758
1782
  "components.ProductCertificateFooter.pendingProductCertificateLabel": {
1759
1783
  "description": "Label on the enrollment when a product of type certificate have been bought",
1760
1784
  "message": "Finish this course to obtain your certificate."
@@ -2243,14 +2267,6 @@
2243
2267
  "description": "Message displayed on the top of course runs list on syllabus when there is 0 or multiple course runs opened",
2244
2268
  "message": "Session de cours"
2245
2269
  },
2246
- "components.SyllabusAsideList.noCourseRuns": {
2247
- "description": "Message displayed on syllabus when there are no course runs to show",
2248
- "message": "Aucune session"
2249
- },
2250
- "components.SyllabusAsideList.noOtherCourseRuns": {
2251
- "description": "Message displayed on syllabus when there are no other course runs to show than the only one opened",
2252
- "message": "Aucune autre session"
2253
- },
2254
2270
  "components.SyllabusAsideList.ongoing": {
2255
2271
  "description": "Message displayed on syllabus when there are ongoing course runs",
2256
2272
  "message": "En cours"
@@ -2381,7 +2397,7 @@
2381
2397
  },
2382
2398
  "components.SyllabusCourseRunCompacted.selfPaceCoursePeriod": {
2383
2399
  "description": "Course date of an opened and self paced course run block",
2384
- "message": "Available until {endDate}"
2400
+ "message": "Until {endDate, select, undefined {} other {{endDate}}}"
2385
2401
  },
2386
2402
  "components.SyllabusCourseRunCompacted.selfPaceNoEndDate": {
2387
2403
  "description": "Self paced course run block with no end date",
@@ -1247,6 +1247,34 @@
1247
1247
  "description": "Syllabus link label on order details",
1248
1248
  "message": "Accéder au syllabus"
1249
1249
  },
1250
+ "components.DashboardKeycloakProfile.accountInformationHeader": {
1251
+ "description": "Title of the keycloak profile form \"account information\" block",
1252
+ "message": "Informations du compte"
1253
+ },
1254
+ "components.DashboardKeycloakProfile.editButtonLabel": {
1255
+ "description": "Label of the edit button link of the keycloak profile",
1256
+ "message": "Modifiez votre profil"
1257
+ },
1258
+ "components.DashboardKeycloakProfile.emailInputDescription": {
1259
+ "description": "Description of the keycloak profile \"email\" input",
1260
+ "message": "Ce courriel sera utilisé pour vous envoyer des messages de confirmation."
1261
+ },
1262
+ "components.DashboardKeycloakProfile.emailInputLabel": {
1263
+ "description": "Label of the keycloak profile \"email\" input",
1264
+ "message": "Courriel du compte"
1265
+ },
1266
+ "components.DashboardKeycloakProfile.header": {
1267
+ "description": "Title of the dashboard keycloak profile block",
1268
+ "message": "Profil"
1269
+ },
1270
+ "components.DashboardKeycloakProfile.usernameInputDescription": {
1271
+ "description": "Description of the keycloak profile \"username\" input",
1272
+ "message": "Ce nom sera utilisé dans les documents légaux."
1273
+ },
1274
+ "components.DashboardKeycloakProfile.usernameInputLabel": {
1275
+ "description": "Label of the keycloak profile \"username\" input",
1276
+ "message": "Nom du compte"
1277
+ },
1250
1278
  "components.DashboardOpenEdxProfile.EditButtonLabel": {
1251
1279
  "description": "Label of the edit button link of the open edx profile form",
1252
1280
  "message": "Modifiez votre profil"
@@ -1751,10 +1779,6 @@
1751
1779
  "description": "Button label for the payment needed message",
1752
1780
  "message": "Payer {amount}"
1753
1781
  },
1754
- "components.ProductCertificateFooter.paymentProcessing": {
1755
- "description": "Button label for the payment is processing message",
1756
- "message": "Traitement du paiement..."
1757
- },
1758
1782
  "components.ProductCertificateFooter.pendingProductCertificateLabel": {
1759
1783
  "description": "Label on the enrollment when a product of type certificate have been bought",
1760
1784
  "message": "Terminez ce cours pour obtenir votre certificat."
@@ -2243,14 +2267,6 @@
2243
2267
  "description": "Message displayed on the top of course runs list on syllabus when there is 0 or multiple course runs opened",
2244
2268
  "message": "Session de cours"
2245
2269
  },
2246
- "components.SyllabusAsideList.noCourseRuns": {
2247
- "description": "Message displayed on syllabus when there are no course runs to show",
2248
- "message": "Aucune session"
2249
- },
2250
- "components.SyllabusAsideList.noOtherCourseRuns": {
2251
- "description": "Message displayed on syllabus when there are no other course runs to show than the only one opened",
2252
- "message": "Aucune autre session"
2253
- },
2254
2270
  "components.SyllabusAsideList.ongoing": {
2255
2271
  "description": "Message displayed on syllabus when there are ongoing course runs",
2256
2272
  "message": "En cours"
@@ -2381,7 +2397,7 @@
2381
2397
  },
2382
2398
  "components.SyllabusCourseRunCompacted.selfPaceCoursePeriod": {
2383
2399
  "description": "Course date of an opened and self paced course run block",
2384
- "message": "Disponible jusqu'au {endDate}"
2400
+ "message": "Du {endDate, select, undefined {} other {au {endDate}}}"
2385
2401
  },
2386
2402
  "components.SyllabusCourseRunCompacted.selfPaceNoEndDate": {
2387
2403
  "description": "Self paced course run block with no end date",
@@ -1247,6 +1247,34 @@
1247
1247
  "description": "Syllabus link label on order details",
1248
1248
  "message": "Go to syllabus"
1249
1249
  },
1250
+ "components.DashboardKeycloakProfile.accountInformationHeader": {
1251
+ "description": "Title of the keycloak profile form \"account information\" block",
1252
+ "message": "Account information"
1253
+ },
1254
+ "components.DashboardKeycloakProfile.editButtonLabel": {
1255
+ "description": "Label of the edit button link of the keycloak profile",
1256
+ "message": "Edit your profile"
1257
+ },
1258
+ "components.DashboardKeycloakProfile.emailInputDescription": {
1259
+ "description": "Description of the keycloak profile \"email\" input",
1260
+ "message": "This email will be used to send you confirmation mails."
1261
+ },
1262
+ "components.DashboardKeycloakProfile.emailInputLabel": {
1263
+ "description": "Label of the keycloak profile \"email\" input",
1264
+ "message": "Account email"
1265
+ },
1266
+ "components.DashboardKeycloakProfile.header": {
1267
+ "description": "Title of the dashboard keycloak profile block",
1268
+ "message": "Profile"
1269
+ },
1270
+ "components.DashboardKeycloakProfile.usernameInputDescription": {
1271
+ "description": "Description of the keycloak profile \"username\" input",
1272
+ "message": "This name will be used in legal documents."
1273
+ },
1274
+ "components.DashboardKeycloakProfile.usernameInputLabel": {
1275
+ "description": "Label of the keycloak profile \"username\" input",
1276
+ "message": "Account name"
1277
+ },
1250
1278
  "components.DashboardOpenEdxProfile.EditButtonLabel": {
1251
1279
  "description": "Label of the edit button link of the open edx profile form",
1252
1280
  "message": "Edit your profile"
@@ -1751,10 +1779,6 @@
1751
1779
  "description": "Button label for the payment needed message",
1752
1780
  "message": "Pay {amount}"
1753
1781
  },
1754
- "components.ProductCertificateFooter.paymentProcessing": {
1755
- "description": "Button label for the payment is processing message",
1756
- "message": "Payment processing..."
1757
- },
1758
1782
  "components.ProductCertificateFooter.pendingProductCertificateLabel": {
1759
1783
  "description": "Label on the enrollment when a product of type certificate have been bought",
1760
1784
  "message": "Finish this course to obtain your certificate."
@@ -2243,14 +2267,6 @@
2243
2267
  "description": "Message displayed on the top of course runs list on syllabus when there is 0 or multiple course runs opened",
2244
2268
  "message": "Course runs"
2245
2269
  },
2246
- "components.SyllabusAsideList.noCourseRuns": {
2247
- "description": "Message displayed on syllabus when there are no course runs to show",
2248
- "message": "No course runs"
2249
- },
2250
- "components.SyllabusAsideList.noOtherCourseRuns": {
2251
- "description": "Message displayed on syllabus when there are no other course runs to show than the only one opened",
2252
- "message": "No other course runs"
2253
- },
2254
2270
  "components.SyllabusAsideList.ongoing": {
2255
2271
  "description": "Message displayed on syllabus when there are ongoing course runs",
2256
2272
  "message": "Ongoing"
@@ -2381,7 +2397,7 @@
2381
2397
  },
2382
2398
  "components.SyllabusCourseRunCompacted.selfPaceCoursePeriod": {
2383
2399
  "description": "Course date of an opened and self paced course run block",
2384
- "message": "Available until {endDate}"
2400
+ "message": "Until {endDate, select, undefined {} other {{endDate}}}"
2385
2401
  },
2386
2402
  "components.SyllabusCourseRunCompacted.selfPaceNoEndDate": {
2387
2403
  "description": "Self paced course run block with no end date",
@@ -1247,6 +1247,34 @@
1247
1247
  "description": "Syllabus link label on order details",
1248
1248
  "message": "Ir para o programa de estudos"
1249
1249
  },
1250
+ "components.DashboardKeycloakProfile.accountInformationHeader": {
1251
+ "description": "Title of the keycloak profile form \"account information\" block",
1252
+ "message": "Account information"
1253
+ },
1254
+ "components.DashboardKeycloakProfile.editButtonLabel": {
1255
+ "description": "Label of the edit button link of the keycloak profile",
1256
+ "message": "Edit your profile"
1257
+ },
1258
+ "components.DashboardKeycloakProfile.emailInputDescription": {
1259
+ "description": "Description of the keycloak profile \"email\" input",
1260
+ "message": "This email will be used to send you confirmation mails."
1261
+ },
1262
+ "components.DashboardKeycloakProfile.emailInputLabel": {
1263
+ "description": "Label of the keycloak profile \"email\" input",
1264
+ "message": "Account email"
1265
+ },
1266
+ "components.DashboardKeycloakProfile.header": {
1267
+ "description": "Title of the dashboard keycloak profile block",
1268
+ "message": "Profile"
1269
+ },
1270
+ "components.DashboardKeycloakProfile.usernameInputDescription": {
1271
+ "description": "Description of the keycloak profile \"username\" input",
1272
+ "message": "This name will be used in legal documents."
1273
+ },
1274
+ "components.DashboardKeycloakProfile.usernameInputLabel": {
1275
+ "description": "Label of the keycloak profile \"username\" input",
1276
+ "message": "Account name"
1277
+ },
1250
1278
  "components.DashboardOpenEdxProfile.EditButtonLabel": {
1251
1279
  "description": "Label of the edit button link of the open edx profile form",
1252
1280
  "message": "Editar o seu perfil"
@@ -1751,10 +1779,6 @@
1751
1779
  "description": "Button label for the payment needed message",
1752
1780
  "message": "Pagar {amount}"
1753
1781
  },
1754
- "components.ProductCertificateFooter.paymentProcessing": {
1755
- "description": "Button label for the payment is processing message",
1756
- "message": "Payment processing..."
1757
- },
1758
1782
  "components.ProductCertificateFooter.pendingProductCertificateLabel": {
1759
1783
  "description": "Label on the enrollment when a product of type certificate have been bought",
1760
1784
  "message": "Termine este curso para obter o seu certificado."
@@ -2243,14 +2267,6 @@
2243
2267
  "description": "Message displayed on the top of course runs list on syllabus when there is 0 or multiple course runs opened",
2244
2268
  "message": "Edições do curso"
2245
2269
  },
2246
- "components.SyllabusAsideList.noCourseRuns": {
2247
- "description": "Message displayed on syllabus when there are no course runs to show",
2248
- "message": "Sem edições disponíveis"
2249
- },
2250
- "components.SyllabusAsideList.noOtherCourseRuns": {
2251
- "description": "Message displayed on syllabus when there are no other course runs to show than the only one opened",
2252
- "message": "Sem outras edições disponíveis"
2253
- },
2254
2270
  "components.SyllabusAsideList.ongoing": {
2255
2271
  "description": "Message displayed on syllabus when there are ongoing course runs",
2256
2272
  "message": "A decorrer"
@@ -2381,7 +2397,7 @@
2381
2397
  },
2382
2398
  "components.SyllabusCourseRunCompacted.selfPaceCoursePeriod": {
2383
2399
  "description": "Course date of an opened and self paced course run block",
2384
- "message": "Disponível até {endDate}"
2400
+ "message": "Until {endDate, select, undefined {} other {{endDate}}}"
2385
2401
  },
2386
2402
  "components.SyllabusCourseRunCompacted.selfPaceNoEndDate": {
2387
2403
  "description": "Self paced course run block with no end date",
@@ -1247,6 +1247,34 @@
1247
1247
  "description": "Syllabus link label on order details",
1248
1248
  "message": "Go to syllabus"
1249
1249
  },
1250
+ "components.DashboardKeycloakProfile.accountInformationHeader": {
1251
+ "description": "Title of the keycloak profile form \"account information\" block",
1252
+ "message": "Account information"
1253
+ },
1254
+ "components.DashboardKeycloakProfile.editButtonLabel": {
1255
+ "description": "Label of the edit button link of the keycloak profile",
1256
+ "message": "Edit your profile"
1257
+ },
1258
+ "components.DashboardKeycloakProfile.emailInputDescription": {
1259
+ "description": "Description of the keycloak profile \"email\" input",
1260
+ "message": "This email will be used to send you confirmation mails."
1261
+ },
1262
+ "components.DashboardKeycloakProfile.emailInputLabel": {
1263
+ "description": "Label of the keycloak profile \"email\" input",
1264
+ "message": "Account email"
1265
+ },
1266
+ "components.DashboardKeycloakProfile.header": {
1267
+ "description": "Title of the dashboard keycloak profile block",
1268
+ "message": "Profile"
1269
+ },
1270
+ "components.DashboardKeycloakProfile.usernameInputDescription": {
1271
+ "description": "Description of the keycloak profile \"username\" input",
1272
+ "message": "This name will be used in legal documents."
1273
+ },
1274
+ "components.DashboardKeycloakProfile.usernameInputLabel": {
1275
+ "description": "Label of the keycloak profile \"username\" input",
1276
+ "message": "Account name"
1277
+ },
1250
1278
  "components.DashboardOpenEdxProfile.EditButtonLabel": {
1251
1279
  "description": "Label of the edit button link of the open edx profile form",
1252
1280
  "message": "Edit your profile"
@@ -1751,10 +1779,6 @@
1751
1779
  "description": "Button label for the payment needed message",
1752
1780
  "message": "Pay {amount}"
1753
1781
  },
1754
- "components.ProductCertificateFooter.paymentProcessing": {
1755
- "description": "Button label for the payment is processing message",
1756
- "message": "Payment processing..."
1757
- },
1758
1782
  "components.ProductCertificateFooter.pendingProductCertificateLabel": {
1759
1783
  "description": "Label on the enrollment when a product of type certificate have been bought",
1760
1784
  "message": "Finish this course to obtain your certificate."
@@ -2243,14 +2267,6 @@
2243
2267
  "description": "Message displayed on the top of course runs list on syllabus when there is 0 or multiple course runs opened",
2244
2268
  "message": "Course runs"
2245
2269
  },
2246
- "components.SyllabusAsideList.noCourseRuns": {
2247
- "description": "Message displayed on syllabus when there are no course runs to show",
2248
- "message": "No course runs"
2249
- },
2250
- "components.SyllabusAsideList.noOtherCourseRuns": {
2251
- "description": "Message displayed on syllabus when there are no other course runs to show than the only one opened",
2252
- "message": "No other course runs"
2253
- },
2254
2270
  "components.SyllabusAsideList.ongoing": {
2255
2271
  "description": "Message displayed on syllabus when there are ongoing course runs",
2256
2272
  "message": "Ongoing"
@@ -2381,7 +2397,7 @@
2381
2397
  },
2382
2398
  "components.SyllabusCourseRunCompacted.selfPaceCoursePeriod": {
2383
2399
  "description": "Course date of an opened and self paced course run block",
2384
- "message": "Available until {endDate}"
2400
+ "message": "Until {endDate, select, undefined {} other {{endDate}}}"
2385
2401
  },
2386
2402
  "components.SyllabusCourseRunCompacted.selfPaceNoEndDate": {
2387
2403
  "description": "Self paced course run block with no end date",
@@ -1247,6 +1247,34 @@
1247
1247
  "description": "Syllabus link label on order details",
1248
1248
  "message": "Go to syllabus"
1249
1249
  },
1250
+ "components.DashboardKeycloakProfile.accountInformationHeader": {
1251
+ "description": "Title of the keycloak profile form \"account information\" block",
1252
+ "message": "Account information"
1253
+ },
1254
+ "components.DashboardKeycloakProfile.editButtonLabel": {
1255
+ "description": "Label of the edit button link of the keycloak profile",
1256
+ "message": "Edit your profile"
1257
+ },
1258
+ "components.DashboardKeycloakProfile.emailInputDescription": {
1259
+ "description": "Description of the keycloak profile \"email\" input",
1260
+ "message": "This email will be used to send you confirmation mails."
1261
+ },
1262
+ "components.DashboardKeycloakProfile.emailInputLabel": {
1263
+ "description": "Label of the keycloak profile \"email\" input",
1264
+ "message": "Account email"
1265
+ },
1266
+ "components.DashboardKeycloakProfile.header": {
1267
+ "description": "Title of the dashboard keycloak profile block",
1268
+ "message": "Profile"
1269
+ },
1270
+ "components.DashboardKeycloakProfile.usernameInputDescription": {
1271
+ "description": "Description of the keycloak profile \"username\" input",
1272
+ "message": "This name will be used in legal documents."
1273
+ },
1274
+ "components.DashboardKeycloakProfile.usernameInputLabel": {
1275
+ "description": "Label of the keycloak profile \"username\" input",
1276
+ "message": "Account name"
1277
+ },
1250
1278
  "components.DashboardOpenEdxProfile.EditButtonLabel": {
1251
1279
  "description": "Label of the edit button link of the open edx profile form",
1252
1280
  "message": "Edit your profile"
@@ -1751,10 +1779,6 @@
1751
1779
  "description": "Button label for the payment needed message",
1752
1780
  "message": "Pay {amount}"
1753
1781
  },
1754
- "components.ProductCertificateFooter.paymentProcessing": {
1755
- "description": "Button label for the payment is processing message",
1756
- "message": "Payment processing..."
1757
- },
1758
1782
  "components.ProductCertificateFooter.pendingProductCertificateLabel": {
1759
1783
  "description": "Label on the enrollment when a product of type certificate have been bought",
1760
1784
  "message": "Finish this course to obtain your certificate."
@@ -2243,14 +2267,6 @@
2243
2267
  "description": "Message displayed on the top of course runs list on syllabus when there is 0 or multiple course runs opened",
2244
2268
  "message": "Course runs"
2245
2269
  },
2246
- "components.SyllabusAsideList.noCourseRuns": {
2247
- "description": "Message displayed on syllabus when there are no course runs to show",
2248
- "message": "No course runs"
2249
- },
2250
- "components.SyllabusAsideList.noOtherCourseRuns": {
2251
- "description": "Message displayed on syllabus when there are no other course runs to show than the only one opened",
2252
- "message": "No other course runs"
2253
- },
2254
2270
  "components.SyllabusAsideList.ongoing": {
2255
2271
  "description": "Message displayed on syllabus when there are ongoing course runs",
2256
2272
  "message": "Ongoing"
@@ -2381,7 +2397,7 @@
2381
2397
  },
2382
2398
  "components.SyllabusCourseRunCompacted.selfPaceCoursePeriod": {
2383
2399
  "description": "Course date of an opened and self paced course run block",
2384
- "message": "Available until {endDate}"
2400
+ "message": "Until {endDate, select, undefined {} other {{endDate}}}"
2385
2401
  },
2386
2402
  "components.SyllabusCourseRunCompacted.selfPaceNoEndDate": {
2387
2403
  "description": "Self paced course run block with no end date",
@@ -127,6 +127,7 @@ describe('Keycloak API', () => {
127
127
  expect(mockKeycloakUpdateToken).toHaveBeenCalledWith(30);
128
128
  expect(response).toEqual({
129
129
  username: 'John Doe',
130
+ full_name: 'John Doe',
130
131
  email: 'johndoe@example.com',
131
132
  access_token: mockIdToken,
132
133
  });
@@ -59,8 +59,12 @@ const API = (APIConf: AuthenticationBackend): { user: APIAuthentication } => {
59
59
  .loadUserProfile()
60
60
  .then((userProfile) => {
61
61
  sessionStorage.setItem(RICHIE_USER_TOKEN, keycloak.idToken!);
62
+ const fullName = [userProfile.firstName, userProfile.lastName]
63
+ .filter(Boolean)
64
+ .join(' ');
62
65
  return {
63
- username: `${userProfile.firstName} ${userProfile.lastName}`,
66
+ username: fullName,
67
+ full_name: fullName,
64
68
  email: userProfile.email,
65
69
  access_token: keycloak.idToken,
66
70
  };