Commit Graph

196 Commits

Author SHA1 Message Date
Ahtisham Shahid
2dffc2a4e6 feat: Added custom ordering in listed course apps 2021-08-11 14:54:59 +05:00
Mehak Nasir
00426d65d5 style: modal dialog issue 2021-08-10 23:24:16 +05:00
Mehak Nasir
f0d5589310 style: modal dialog issue 2021-08-10 23:24:16 +05:00
Awais Jibran
fe1223c830 refactor: update .env file with falsy values
More detail - if a variable isn’t defined in internal, these values will get used as fallbacks.  They’re also bad fallbacks, unfortunately.  When we originally set this system up, we didn’t realize that null would actually be cast to "null" when it gets into the MFE… meaning the string “null”, which is _truthy_, and very much not the same as null.  It’s a good practice to replace these `null`’s with `''` (an empty string) which will actually evaluate to be falsy.

Note that they only ever get used as fallbacks if we’ve screwed something up, so the existence of this file is kind of misleading - we always want the values from internal to be used.
2021-08-10 13:28:27 +05:00
edX Transifex Bot
b9524535ae fix(i18n): update translations 2021-08-09 02:28:22 +05:00
Kshitij Sobti
b13bd6906e feat: restrict editing certain providers to global staff (#176)
This change allows certain LTI-based providers to be disabled for editing by regular course admins/staff. In some cases, there are special configuration needs that require that the provider be configured by a global staff user.
2021-08-06 05:39:33 +00:00
Kshitij Sobti
0a33523e12 feat: Get learn more links from the backend instead of hard-coding it in the frontend (#173)
This updates the app settings page to use a link returned by the backend instead
of using a hard-coded link in the frontend.
2021-08-05 16:42:05 +05:00
Awais Ansari
eeb9ceb22d fix: Change textbooks card arrow icon to iconButton (#179) 2021-08-05 01:43:20 +05:00
Awais Ansari
3921b8c6b8 fix: calculator switch click issue and save button animation will be … (#169)
* fix: calculator switch click issue and save button animation will be clickable without any changes

* style: remove inline style and fix content display glitch

* style: TNL-8566 add padding top for external link

* style: TNL-8574 fix badge width and height

* fix: resolve console error and remove fix height for modal dialog
2021-08-02 17:26:09 +05:00
Awais Ansari
aa3420f870 style: 1.4 content and style fixes (#170)
* style: add spacing between footer and body content

* fix: TNL-8567 prevent card selection when click on show features

* style: TNL-8569 update page & resources margin for mobile view

* fix: TNL-8571 correct error state for blockout date field

* style: TNL-8569 set page&resources margins in mobile view

* style: TNL-8573 feature list should intersect with column

* style: TNL-8568 update font size and color for feature table

* fix: move formInvalid logic to legacy form and make it centralize
2021-08-02 14:24:38 +05:00
Awais Ansari
ca5e283159 chore: bump paragon version to 16.6.4 (#175) 2021-08-02 14:08:31 +05:00
Kshitij Sobti
966b087b35 feat: add support for enabling/disabling LTI PII sharing (#171)
Adds a new UI to enable/disable sharing of PII for discusission providers if
PII sharing is enabled for the course.
2021-08-02 11:19:11 +05:00
edX Transifex Bot
b5f0af3f5c fix(i18n): update translations 2021-08-02 02:28:25 +05:00
=Awais Jibran
6b7f77f4fd fix: Update discussion provider featues
Updates "Partial Support" to "Basic Support"
Changes "edX" to Full Support.
Uses data from the api for support level.
Refactor some app messages.

https://openedx.atlassian.net/browse/TNL-8546
2021-07-30 15:07:25 +05:00
Mehak Nasir
28107fcd60 test: test cases for discussion UI (#155)
* test: add discussion topic error validation test cases

* fix: update duplication test case

* refactor: remove hard coded text with messages

* refactor: remove stepper test cases and add hasError assertion

Co-authored-by: Awais Ansari <awais.ansari63@gmail.com>
2021-07-30 12:03:05 +05:00
Ahtisham Shahid
b8d008d481 fix: updated grid styling on smaller devices (#162)
* fix: updated grid styling on smaller devices

* style: center aligned app cards
2021-07-29 12:00:11 +05:00
Mehak Nasir
2064c89fef style: padding reduced to fix design issue 2021-07-28 15:36:26 +05:00
Awais Jibran
d1a677aff7 refactor: code refactoring. (#166)
* refactor: discussion topic code refactoring

* test: update topic item test cases after code refactor
2021-07-27 19:48:08 +05:00
Mehak Nasir
0c545bcc68 style: live button style fixes 2021-07-27 17:59:36 +05:00
Awais Ansari
1d72c9de0d refactor: discussion topic test cases (#163)
* test: update and refactor discussion topic test cases

* test: add topic item test cases

* test: add new test case in discussion topics
2021-07-26 19:10:11 +05:00
João Cabrita
b02c2027e8 feat: Replace settings button with link for apps with legacy links
If an app has a legacy link, a link is now rendered instead of the settings button.

Related tickets:
* [TNL-8438](https://openedx.atlassian.net/browse/TNL-8438)
* [BB-4416 (OpenCraft Internal)](https://tasks.opencraft.com/browse/BB-4416)
2021-07-26 17:23:40 +05:00
João Cabrita
76b2d5929c feat: Use messages field from API
When fetching details for discussion providers from the API,
the `messages` field is used if available and
displayed in the configuration page for each provider.

Related tickets:
* [TNL-8339](https://openedx.atlassian.net/browse/TNL-8339)
* [BB-4249 (OpenCraft Internal)](https://tasks.opencraft.com/browse/BB-4249)
2021-07-26 17:15:53 +05:00
Mehak Nasir
b0fd539770 chore: bump paragon version to 16.3.2 2021-07-20 01:42:01 +05:00
Mehak Nasir
fdeccc5f2f refactor: created custom hook for isMobile check 2021-07-20 01:42:01 +05:00
Mehak Nasir
e80bd4a3b5 fix: es-5 check failure issue fixed 2021-07-20 01:42:01 +05:00
Mehak Nasir
afd3925c0b style: design fix implemented by using modal dialog instead of modal layer 2021-07-20 01:42:01 +05:00
edX Transifex Bot
33e0196154 fix(i18n): update translations 2021-07-19 02:28:25 +05:00
Awais Ansari
8eee09a2d0 fix pages and resources content and styling issues (#158)
* fix: TNL-8457 Show field error state on blank discussion provider fields

* fix: TNL-8474 Remove Resources section

* fix: TNL-8473 change pages and resources background color to light-200

* fix: TNL-8476 app card descriptions should be bottom aligned

* fix: TNL-8472 remove Disabled badge from tiles

* fix: TNL-8487 use stateful button for configuration modal
2021-07-16 10:47:22 +05:00
Mehak Nasir
12ae7a6874 feat: view live button added to pages and resources screen 2021-07-15 20:47:31 +05:00
SaadYousaf
b5dc63c21b fix: remove padding from badges to stay consistent with Paragon badges design. 2021-07-15 18:21:16 +05:00
SaadYousaf
b1c0bca386 fix: styling fix to Calculator setting dialog. 2021-07-15 18:20:27 +05:00
=Awais Jibran
12c81b2056 fix: upgrade frontend-build to v7 and paragon to v16 2021-07-13 19:35:16 +05:00
Ahtisham Shahid
c4215d9cee feat: Added permission alert in pages (#153)
* feat: Added permission alert on pages
2021-07-13 10:53:48 +05:00
edX Transifex Bot
e23e8e8957 fix(i18n): update translations 2021-07-05 02:32:14 +05:00
=Awais Jibran
36e2ab0d75 chore: Bump paragon 2021-07-02 13:42:54 +05:00
Kshitij Sobti
0e7340bdda feat: Hook up course apps API and add base components for app configuration
Hooks up the course apps API so that the data returned by the server is being used.
Adds the base components and infrastructure to enable adding pages for configuring
each app.
2021-07-01 20:58:05 +05:00
=Awais Jibran
44d8cfbaa1 chore: bump paragon 2021-06-30 17:57:34 +05:00
AsadAzam
c434a65853 fix: remove edx-next messages, updated messages (#148) 2021-06-30 14:16:03 +05:00
Awais Ansari
bd76050e9b fix: display valid discussion topics in divide by cohorts section (#147)
* fix: display valid discussion topics in divide by cohorts section

* test: Add useContext test case in  discussion topic

* refactor: rename & document

Co-authored-by: =Awais Jibran <awaisdar001@gmail.com>
2021-06-29 12:59:03 +05:00
AsadAzam
abf7292375 fix: updated messages (#146)
* fix: updated messages

* fix: updated test
2021-06-28 17:35:51 +05:00
edX Transifex Bot
e8899f913a fix(i18n): update translations 2021-06-28 02:32:04 +05:00
Awais Ansari
f0699762ae fix: discussion topics validation and UI changes (#142)
* fix: discussion topics validation and UI changes
2021-06-24 13:20:36 +05:00
Mehak Nasir
9004270cb0 style: removed p-0 from discussion setting page 2021-06-23 23:12:16 +05:00
Mehak Nasir
863b2fd90c chore: bump paragon to 14.16.9 2021-06-23 23:12:16 +05:00
Ahtisham Shahid
0f384ee0ea chore: updated paragon version (#143) 2021-06-22 19:15:47 +05:00
=Awais Jibran
d7b2e8ec17 refactor: bump paragon version 2021-06-21 22:31:48 +05:00
edX Transifex Bot
6e44838787 fix(i18n): update translations 2021-06-21 02:31:51 +05:00
=Awais Jibran
e8d2502761 refactor: upgrade frontend-platform to 1.11.0 2021-06-18 12:14:04 +05:00
=Awais Jibran
46031f5b3b refactor: upgrade frontend-platform 2021-06-18 12:14:04 +05:00
Mehak Nasir
fae326f715 style: LTI form review fixes 2021-06-17 13:04:12 +05:00