Skip to content

fix: Update the API path and fix saving settings [BD-38] [TNL-8621] [BB-4854] - #197

Merged
xitij2000 merged 1 commit into
masterfrom
kshitij/tnl-8621/change-api-path
Oct 29, 2021
Merged

fix: Update the API path and fix saving settings [BD-38] [TNL-8621] [BB-4854]#197
xitij2000 merged 1 commit into
masterfrom
kshitij/tnl-8621/change-api-path

Conversation

@xitij2000

@xitij2000 xitij2000 commented Oct 6, 2021

Copy link
Copy Markdown
Contributor

The discussions configuration API is now exposed via studio to allow saving course settings to the modulestore.
The anonymous posts settings were also set up in a way that meant they were only saved if true, that is now fixed.

JIRA tickets:

Dependencies: https://github.com/edx/edx-platform/pull/28749

Merge deadline: "None"

Testing instructions:

  1. Switch to the version of edx-platform in https://github.com/edx/edx-platform/pull/28749
  2. Access the course authoring MFE from this PR and try updating and saving discussions settings.
  3. It should work without errors. Focus on the anonymous posting settings.

@openedx-webhooks openedx-webhooks added core committer open-source-contribution PR author is not from Axim or 2U waiting on author PR author needs to resolve review requests, answer questions, fix tests, etc. and removed core committer open-source-contribution PR author is not from Axim or 2U labels Oct 6, 2021
@openedx-webhooks

openedx-webhooks commented Oct 6, 2021

Copy link
Copy Markdown

Thanks for the pull request, @xitij2000! I've created BLENDED-975 to keep track of it in Jira. More details are on the BD-38 project page.

When this pull request is ready, tag your edX technical lead.

@xitij2000 xitij2000 changed the title fix: Update the API path and fix saving setting fix: Update the API path and fix saving setting [BD-38] [TNL-8621] [BB-4854] Oct 6, 2021
@openedx-webhooks openedx-webhooks added blended PR is managed through 2U's blended developmnt program needs triage and removed waiting on author PR author needs to resolve review requests, answer questions, fix tests, etc. labels Oct 6, 2021
@codecov-commenter

codecov-commenter commented Oct 6, 2021

Copy link
Copy Markdown

Codecov Report

Merging #197 (eff72e1) into master (0c5ab98) will decrease coverage by 28.51%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           master     #197       +/-   ##
===========================================
- Coverage   66.81%   38.29%   -28.52%     
===========================================
  Files          92        1       -91     
  Lines        1618       47     -1571     
  Branches      350        8      -342     
===========================================
- Hits         1081       18     -1063     
+ Misses        517       23      -494     
+ Partials       20        6       -14     
Impacted Files Coverage Δ
...apps/shared/blackout-dates/CollapseCardHeading.jsx
src/CourseAuthoringRoutes.jsx
src/proctored-exam-settings/data/thunks.js
...ussions/app-config-form/apps/lti/LtiConfigForm.jsx
...sources/discussions/app-list/AppListNextButton.jsx
...-and-resources/discussions/DiscussionsProvider.jsx
src/generic/model-store/slice.js
src/pages-and-resources/teams/messages.js
...d-exam-settings/ProctoredExamSettings.messages.jsx
...-resources/discussions/app-config-form/messages.js
... and 82 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0c5ab98...eff72e1. Read the comment docs.

@xitij2000 xitij2000 changed the title fix: Update the API path and fix saving setting [BD-38] [TNL-8621] [BB-4854] fix: Update the API path and fix saving settings [BD-38] [TNL-8621] [BB-4854] Oct 6, 2021
@awaisdar001

Copy link
Copy Markdown
Contributor

@xitij2000 this needs a rebase and then it can be merged.

@awaisdar001

Copy link
Copy Markdown
Contributor

@xitij2000 can you link the dependent platform PR for this?

@xitij2000

Copy link
Copy Markdown
Contributor Author

@xitij2000 can you link the dependent platform PR for this?

I've updated the description to include these details.

@awaisdar001

Copy link
Copy Markdown
Contributor

@xitij2000 Please rebase.

@xitij2000

Copy link
Copy Markdown
Contributor Author

@xitij2000 Please rebase.

@awaisdar001 This PR depends on https://github.com/edx/edx-platform/pull/28749
Since the dependent PR is not merged yet, this work is blocked. I will do a final rebase once that PR is merged.

@asadazam93

Copy link
Copy Markdown
Contributor

@xitij2000 The dependant PR has merged. Can you please rebase and make this one ready to merge?

The discussions configuration API is now exposed via studio to allow saving
course settings to the modulestore.
The anonymous posts settings were also set up in a way that meant they were only saved if true, that is now fixed.
@xitij2000
xitij2000 force-pushed the kshitij/tnl-8621/change-api-path branch from eff72e1 to 11c2036 Compare October 27, 2021 11:28
@xitij2000

Copy link
Copy Markdown
Contributor Author

@asadazam93 Done.

@xitij2000
xitij2000 merged commit 28c2a93 into master Oct 29, 2021
@xitij2000
xitij2000 deleted the kshitij/tnl-8621/change-api-path branch October 29, 2021 13:34
@openedx-webhooks

Copy link
Copy Markdown

@xitij2000 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future.

cgaber2045 pushed a commit to cgaber2045/frontend-app-course-authoring that referenced this pull request Jan 14, 2022
The discussions configuration API is now exposed via studio to allow saving course settings to the modulestore.
The anonymous posts settings were also set up in a way that meant they were only saved if true, that is now fixed.
rpenido pushed a commit to open-craft/frontend-app-authoring that referenced this pull request Jan 2, 2024
This PR upgrades React Router from v5 to v6. It is not a simple version bump. React Router v6 is a breaking change that includes many major changes to the router functionality.
bradenmacdonald pushed a commit to open-craft/frontend-app-authoring that referenced this pull request Aug 9, 2024
* fix: use feedback icon with correct hover color

* fix: problem answer layout squishes delete button background

* fix: remove borders from textarea

* fix: textarea resize

* refactor: remove renderThing-antipattern in answer option

* fix: answer option feedback color

* fix: add second feedback box to all problem types

* refactor: move extra components out of answer option file

* fix: icon disappearing on hover when active

* fix: update snapshot

* fix: lint

* fix: add tests

* fix: add tests

* fix: snapshots

* Update src/editors/containers/ProblemEditor/components/EditProblemView/AnswerWidget/AnswerOption.jsx

Co-authored-by: Kristin Aoki <42981026+KristinAoki@users.noreply.github.com>

* fix: resolve discussions from PR

Co-authored-by: Kristin Aoki <42981026+KristinAoki@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blended PR is managed through 2U's blended developmnt program merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants