Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Created Course Team #564

Merged
merged 6 commits into from
Aug 23, 2023

Conversation

vladislavkeblysh
Copy link
Contributor

@vladislavkeblysh vladislavkeblysh commented Aug 14, 2023

Description

  • Created Course Team page
  • Ability to add new users in course team, manage role, delete users from course team

Related PR to BE openedx/edx-platform#32782

@openedx-webhooks openedx-webhooks added the open-source-contribution PR author is not from Axim or 2U label Aug 14, 2023
@openedx-webhooks
Copy link

openedx-webhooks commented Aug 14, 2023

Thanks for the pull request, @vladislavkeblysh! Please note that it may take us up to several weeks or months to complete a review and merge your PR.

Feel free to add as much of the following information to the ticket as you can:

  • supporting documentation
  • Open edX discussion forum threads
  • timeline information ("this must be merged by XX date", and why that is)
  • partner information ("this is a course on edx.org")
  • any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.

Please let us know once your PR is ready for our review and all tests are green.

@vladislavkeblysh vladislavkeblysh marked this pull request as draft August 14, 2023 10:44
@vladislavkeblysh vladislavkeblysh marked this pull request as ready for review August 14, 2023 10:55
@vladislavkeblysh vladislavkeblysh changed the title feat: Course Team feat: Created Course Team Aug 14, 2023
@mphilbrick211 mphilbrick211 added the needs test run Author's first PR to this repository, awaiting test authorization from Axim label Aug 15, 2023
@codecov
Copy link

codecov bot commented Aug 16, 2023

Codecov Report

Patch coverage: 84.91% and project coverage change: +0.01% 🎉

Comparison is base (c1976ce) 84.44% compared to head (c918289) 84.45%.
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #564      +/-   ##
==========================================
+ Coverage   84.44%   84.45%   +0.01%     
==========================================
  Files         259      278      +19     
  Lines        4314     4543     +229     
  Branches      974     1023      +49     
==========================================
+ Hits         3643     3837     +194     
- Misses        647      682      +35     
  Partials       24       24              
Files Changed Coverage Δ
src/CourseAuthoringRoutes.jsx 100.00% <ø> (ø)
src/generic/FormikControl.jsx 100.00% <ø> (ø)
src/store.js 100.00% <ø> (ø)
src/course-team/hooks.jsx 58.62% <58.62%> (ø)
src/course-team/data/thunk.js 79.54% <79.54%> (ø)
src/course-team/utils.js 80.00% <80.00%> (ø)
src/constants.js 100.00% <100.00%> (ø)
src/course-team/CourseTeam.jsx 100.00% <100.00%> (ø)
src/course-team/add-team-member/AddTeamMember.jsx 100.00% <100.00%> (ø)
src/course-team/add-team-member/messages.js 100.00% <100.00%> (ø)
... and 15 more

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@e0d
Copy link

e0d commented Aug 16, 2023

@vladislavkeblysh it looks like this PR has decreased code coverage, can you have a look?

@e0d e0d added waiting on author PR author needs to resolve review requests, answer questions, fix tests, etc. and removed needs test run Author's first PR to this repository, awaiting test authorization from Axim labels Aug 16, 2023
@mphilbrick211 mphilbrick211 added the needs test run Author's first PR to this repository, awaiting test authorization from Axim label Aug 17, 2023
vladislavkeblysh and others added 2 commits August 18, 2023 11:59
* feat: 2u-185 init page

* feat: 2u-185 add api and tests

* feat: au-185 fix translates and styles

* feat: au-185 clean slice

* feat: au-185 fix course team tests

* feat: 2u-185 fix bugs and styles

* feat: 2u-185 fix sizes

* feat: 2u-185 fix conditions

* feat: 2u-185 fix typography

* feat: 2u-185 fix indents

* feat: 2u-185 fix indents and add js docs

* feat: [2u-185 fix constants

* feat: [2u-185] fix translates

* feat: [2u-185] fix tests

---------

Co-authored-by: Vladislav Keblysh <[email protected]>

fix: Course team Internet connection alert (#38)

* fix: [2u-283] add alert

* fix: [2u-283] add indents

---------

Co-authored-by: Vladislav Keblysh <[email protected]>

feat: course team remove variablef from env

fix: [2u-392] fix messages

fix: [2u-392] fix translates

feat: course team fix translates and env

feat: course team fix env check
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you check how these changes impacted the other files. This component is also heavily used for pages and resources.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed prop withErrorText as it turned out to be unnecessary.

@@ -641,4 +713,5 @@
"course-authoring.grading-settings.assignment.alert.warning.title": "Warning: The number of {type} assignments defined here does not match the current number of {type} assignments in the course:",
"course-authoring.grading-settings.assignment.alert.success.title": "The number of {type} assignments in the course matches the number defined here.",
"course-authoring.grading-settings.assignment.type-name.error.message-2": "For grading to work, you must change all {initialAssignmentName} subsections to {value}"
"course-authoring.grading-settings.assignment.type-name.error.message-2": "For grading to work, you must change all {initialAssignmentName} subsections to {value}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"course-authoring.grading-settings.assignment.type-name.error.message-2": "For grading to work, you must change all {initialAssignmentName} subsections to {value}"

This is a duplicate of the line above and causing a loading error

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@KristinAoki KristinAoki merged commit 2e8eed7 into openedx:master Aug 23, 2023
@openedx-webhooks
Copy link

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

snglth pushed a commit to Abstract-Tech/community-theme-course-authoring that referenced this pull request Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs test run Author's first PR to this repository, awaiting test authorization from Axim 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.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants