Commit Graph

151 Commits

Author SHA1 Message Date
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
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
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
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
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
edX Transifex Bot
6e44838787 fix(i18n): update translations 2021-06-21 02:31:51 +05:00
Mehak Nasir
fae326f715 style: LTI form review fixes 2021-06-17 13:04:12 +05:00
Mehak Nasir
b11a800417 chore: upgrade paragon (#136)
* chore: upgrade paragon

* Bump to 14.16.2

Co-authored-by: =Awais Jibran <awaisdar001@gmail.com>
2021-06-16 12:59:26 +05:00
Awais Ansari
8edc05422e feat: add collapsible card validation for empty field (#131)
* feat: add collapsible card validation for empty field
2021-06-14 17:25:07 +05:00
Mehak Nasir
2192092879 fix: LTI config form title fixed for app providers and eternal link heading fixes 2021-06-14 13:36:34 +05:00
edX Transifex Bot
0e6f9ba4bd fix(i18n): update translations 2021-06-14 02:31:39 +05:00
Mehak Nasir
1b4b30677e refactor: renamed external link keys and implemented review fixes 2021-06-11 14:56:24 +05:00
Mehak Nasir
dafc489c6a Refactor: updated LTI Config form screen according to new figma design 2021-06-11 14:56:24 +05:00
Mehak Nasir
1943aeeb84 test: updated UI test according to new api response 2021-06-11 14:56:24 +05:00
Mehak Nasir
046e4441e9 refactor: updated app document instructions description 2021-06-11 14:56:24 +05:00
Ahtisham Shahid
0a5b4c136e refactor:removed legacy proctoring route (#127) 2021-06-10 17:13:38 +05:00
Awais Ansari
c10f1521dc refactor: legacyConfigForm UI (#130)
* refactor: update legacyConfigForm UI and divider colour
2021-06-08 23:23:47 +05:00
Awais Ansari
76a99cadde test: add test cases for discussion topics (#129)
* test: add test cases for discussion topics
2021-06-08 23:17:35 +05:00
Awais Ansari
e242fbb16f feat: remove deletion functionality for default discussion topic (#125)
* feat: remove deletion functionality for default discussion topic

* refactor: update variables name and add general topic condition
2021-06-08 12:13:22 +05:00
edX Transifex Bot
f2cba3f9cb fix(i18n): update translations 2021-06-07 02:31:27 +05:00
Awais Ansari
7f4c28f4ba feat: Add Divide discussions by cohorts funtionality (#122)
* feat: Add Divide discussions by cohorts funtionality

* feat: Destructure values in DivisionByGroupField and remove unnecessary async calls from thunks

* feat: update checkbox component in DivisionByGroupFields

* refactor: change variable names
2021-06-03 17:32:18 +05:00
Awais Ansari
12fd5cdc83 feat: Add Incomplete error state in stepper (#121)
* feat: Add Incomplete error state in stepper

* feat: Remove Incomplete stepper step 2 error when click on back button
2021-06-01 11:08:22 +05:00
Mehak Nasir
54aea97fab style: added icon buttons for fixing hover styling for topics delete/expand/collapse 2021-05-31 17:40:06 +05:00
edX Transifex Bot
f294aa4495 fix(i18n): update translations 2021-05-24 02:31:00 +05:00
Awais Jibran
6bb6409d26 feat: Add UI for Add Topics (#105)
* Fixes an issue where Form Switch was unexpectedly getting wrong width from its parent.

* style: add discussion topics UI

* feat: Add section for general discussion topic in legacy form

* style: improve style according to Figma and add name uniqueness validation

1- Improve styling for General discussion topics section
2- Add discussion topic name uniqueness validation using yup test
3- Add internationalisation for discussion topic section

* test: Update LegacyForm test cases

Update LegacyForm test cases according to new requirements. Add mock store in test cases as we are using redux in DiscussionTopic and manipulating the redux store.

* refactor: update variables name and add async type in thunk function

Co-authored-by: Awais Ansari <awais.ansari63@gmail.com>
2021-05-21 12:39:24 +05:00
Awais Ansari
442335cf8c test: add features table test cases (#106)
* test: add features table test cases

* test: improve featureTable test cases
2021-05-20 15:45:18 +05:00
MehakNasir
4ec40a8ae9 style: step2 button margins removed from code. 2021-05-19 22:21:07 +05:00
=Awais Jibran
1df6b6fb23 test: update test files 2021-05-18 17:59:36 +05:00
=Awais Jibran
efe6688e73 refactor: update full screen modal 2021-05-18 17:59:36 +05:00
edX Transifex Bot
c03b2652dd fix(i18n): update translations 2021-05-17 02:30:49 +05:00
Mehak Nasir
a3219225db test:Applist test cases added (#113)
Co-authored-by: MehakNasir <mehaknasir@A006-00194.local>
2021-05-11 16:10:20 +05:00
Ahtisham Shahid
6caf6aeefb feat: added new messages for new discussion providers (#115)
* feat: added new messages for new discussion providers

* fix: changed styles and minor test update

* refactor: refactored feature id names

* fix: Update messages.js
2021-05-11 15:47:36 +05:00