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

fix: Use Paragon Tab Component #1448

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

qasimgulzar
Copy link

@qasimgulzar qasimgulzar commented Aug 27, 2024

tabs-demo.mov

Click here to check original github issue

@openedx-webhooks
Copy link

openedx-webhooks commented Aug 27, 2024

Thanks for the pull request, @qasimgulzar!

What's next?

Please work through the following steps to get your changes ready for engineering review:

🔘 Get product approval

If you haven't already, check this list to see if your contribution needs to go through the product review process.

  • If it does, you'll need to submit a product proposal for your contribution, and have it reviewed by the Product Working Group.
    • This process (including the steps you'll need to take) is documented here.
  • If it doesn't, simply proceed with the next step.

🔘 Provide context

To help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:

  • Dependencies

    This PR must be merged before / after / at the same time as ...

  • Blockers

    This PR is waiting for OEP-1234 to be accepted.

  • Timeline information

    This PR must be merged by XX date because ...

  • Partner information

    This is for a course on edx.org.

  • Supporting documentation
  • Relevant Open edX discussion forum threads

🔘 Get a green build

If one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green.

🔘 Let us know that your PR is ready for review:

Who will review my changes?

This repository is currently maintained by @openedx/committers-frontend-app-learning. Tag them in a comment and let them know that your changes are ready for review.

Where can I find more information?

If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources:

When can I expect my changes to be merged?

Our goal is to get community contributions seen and reviewed as efficiently as possible.

However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:

  • The size and impact of the changes that it introduces
  • The need for product review
  • Maintenance status of the parent repository

💡 As a result it may take up to several weeks or months to complete a review and merge your PR.

@openedx-webhooks openedx-webhooks added the open-source-contribution PR author is not from Axim or 2U label Aug 27, 2024
@qasimgulzar qasimgulzar marked this pull request as ready for review September 3, 2024 12:40
@brian-smith-tcril brian-smith-tcril added the create-sandbox open-craft-grove should create a sandbox environment from this PR label Sep 6, 2024
@open-craft-grove
Copy link

Sandbox deployment successful 🚀
🎓 LMS
📝 Studio
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@qasimgulzar
Copy link
Author

Noted broken tests, I will be taking care of it

@itsjeyd
Copy link

itsjeyd commented Sep 7, 2024

@qasimgulzar Just to understand better, does this PR change any user-facing functionality? Or does it just change the way that existing functionality is implemented?

If it's the former, it would likely be necessary to get product approval before moving forward with engineering review here.

CC @openedx/committers-frontend-app-learning @brian-smith-tcril

@open-craft-grove
Copy link

Sandbox deployment successful 🚀
🎓 LMS
📝 Studio
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@qasimgulzar
Copy link
Author

@qasimgulzar Just to understand better, does this PR change any user-facing functionality? Or does it just change the way that existing functionality is implemented?

If it's the former, it would likely be necessary to get product approval before moving forward with engineering review here.

CC @openedx/committers-frontend-app-learning @brian-smith-tcril

It is not actually changing the functionality or the use experience. It is just to replace the navigation component with Paragon's Tab component.

@open-craft-grove
Copy link

Sandbox deployment successful 🚀
🎓 LMS
📝 Studio
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@itsjeyd
Copy link

itsjeyd commented Sep 20, 2024

@qasimgulzar I see, thanks for the info. No need to send this PR through the product review process then.

Let us know when the build is green so we can get started with engineering review.

@open-craft-grove
Copy link

Sandbox deployment successful 🚀
🎓 LMS
📝 Studio
ℹ️ Grove Config, Tutor Config, Tutor Requirements

// unitId: PropTypes.string,
};

export default injectIntl(CoursewarePage);
Copy link
Contributor

Choose a reason for hiding this comment

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

This is minor, but please use useIntl(); instead of injectIntl in any new components, and avoid defining defaultProps which is deprecated in React for function components.

<Tabs
variant="tabs"
defaultActiveKey={activeKey}
id="uncontrolled-tab-example"
Copy link
Contributor

Choose a reason for hiding this comment

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

This id seems wrong?

</main>

{/* courseStatus 'failed' and any other unexpected course status. */}
{(!['loading', 'loaded', 'denied'].includes(courseStatus)) && (
Copy link
Contributor

Choose a reason for hiding this comment

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

Can these 'loading', 'loaded', 'denied' be loaded from an enum or constant somewhere?

Copy link

codecov bot commented Sep 24, 2024

Codecov Report

Attention: Patch coverage is 59.64912% with 23 lines in your changes missing coverage. Please review.

Project coverage is 88.28%. Comparing base (5ae8646) to head (ce82ded).
Report is 59 commits behind head on master.

Files with missing lines Patch % Lines
src/pages/courseware/components.jsx 61.53% 20 Missing ⚠️
src/course-home/discussion-tab/DiscussionTab.jsx 0.00% 2 Missing ⚠️
src/index.jsx 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1448      +/-   ##
==========================================
- Coverage   88.88%   88.28%   -0.60%     
==========================================
  Files         307      311       +4     
  Lines        5288     5379      +91     
  Branches     1345     1381      +36     
==========================================
+ Hits         4700     4749      +49     
- Misses        572      614      +42     
  Partials       16       16              

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

@open-craft-grove
Copy link

Sandbox deployment successful 🚀
🎓 LMS
📝 Studio
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@open-craft-grove
Copy link

Sandbox deployment successful 🚀
🎓 LMS
📝 Studio
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@open-craft-grove
Copy link

Sandbox deployment successful 🚀
🎓 LMS
📝 Studio
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@open-craft-grove
Copy link

Sandbox deployment successful 🚀
🎓 LMS
📝 Studio
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@itsjeyd itsjeyd added the waiting on author PR author needs to resolve review requests, answer questions, fix tests, etc. label Oct 11, 2024
@itsjeyd
Copy link

itsjeyd commented Nov 7, 2024

Hey @qasimgulzar, just checking in to see if you're still planning to continue working on this PR?

@itsjeyd itsjeyd added the inactive PR author has been unresponsive for several months label Nov 7, 2024
@open-craft-grove
Copy link

Sandbox deployment failed 💥
Please check the settings and requirements.
Retry deployment by pushing a new commit or updating the requirements/settings in the pull request's description.
📜 Failure Logs
ℹ️ Grove Config, Tutor Config, Tutor Requirements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
create-sandbox open-craft-grove should create a sandbox environment from this PR inactive PR author has been unresponsive for several months 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
Status: In Eng Review
Development

Successfully merging this pull request may close these issues.

6 participants