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: redirection to learners tab in inContext view #653

Closed
wants to merge 5 commits into from

Conversation

sohailfatima
Copy link
Contributor

@sohailfatima sohailfatima commented Jan 24, 2024

INF-1224

Description

Fixed the issue of redirection to the learners tab within the inContext view when username is clicked from post details.
The username in the inContext view is now simple text.

Before:

Screen.Recording.2024-01-25.at.11.22.17.PM.mov

After:

Screen.Recording.2024-01-25.at.11.21.08.PM.mov

@openedx-webhooks
Copy link

Thanks for the pull request, @sohailfatima! 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.

⚠️ We can't start reviewing your pull request until you've submitted a signed contributor agreement or indicated your institutional affiliation. Please see the CONTRIBUTING file for more information. If you've signed an agreement in the past, you may need to re-sign. See The New Home of the Open edX Codebase for details.

Once you've signed the CLA, please allow 1 business day for it to be processed. After this time, you can re-run the CLA check by adding a comment here that you have signed it. If the problem persists, you can tag the @openedx/cla-problems team in a comment on your PR for further assistance.

@openedx-webhooks openedx-webhooks added the open-source-contribution PR author is not from Axim or 2U label Jan 24, 2024
@mphilbrick211
Copy link

Hi @sohailfatima! Thanks for this contribution! Please let me know if you have any questions regarding submitting a CLA form.

@ayesha-waris
Copy link
Contributor

Please consider adding before and after screen recordings in description.

Copy link
Contributor

@ayesha-waris ayesha-waris left a comment

Choose a reason for hiding this comment

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

Please implement it according to ticket description

Copy link
Contributor

@awais-ansari awais-ansari left a comment

Choose a reason for hiding this comment

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

@sohailfatima The author name should be just simple text in the inContext sidebar view. Currently, implementation is not according to ticket requirements.

@sohailfatima
Copy link
Contributor Author

@awais-ansari @ayesha-waris fixed the issue.

Copy link
Contributor

@awais-ansari awais-ansari left a comment

Choose a reason for hiding this comment

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

@sohailfatima, You just need to add logic in this condition.

@awais-ansari
Copy link
Contributor

@sohailfatima Please rebase the branch. The current branch has some conflicts.

@mphilbrick211
Copy link

Hi @sohailfatima! I'm just following-up to see if you've had a chance to submit a CLA form?

@mphilbrick211 mphilbrick211 added the needs test run Author's first PR to this repository, awaiting test authorization from Axim label Jan 29, 2024
Copy link

codecov bot commented Jan 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f69b2c1) 92.76% compared to head (60aa2b0) 92.76%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #653   +/-   ##
=======================================
  Coverage   92.76%   92.76%           
=======================================
  Files         156      156           
  Lines        3303     3304    +1     
  Branches      902      903    +1     
=======================================
+ Hits         3064     3065    +1     
  Misses        219      219           
  Partials       20       20           

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

@mphilbrick211 mphilbrick211 removed the needs test run Author's first PR to this repository, awaiting test authorization from Axim label Jan 30, 2024
src/index.scss Outdated Show resolved Hide resolved
src/discussions/common/AuthorLabel.jsx Outdated Show resolved Hide resolved
@@ -90,6 +90,15 @@ describe('Author label', () => {
},
);

it(
'it is not clickable when enableInContextSidebar is true',
Copy link
Contributor

Choose a reason for hiding this comment

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

can be written in previous line

Copy link
Contributor

@awais-ansari awais-ansari left a comment

Choose a reason for hiding this comment

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

Just a best practice as Ayesha mentioned other than LGTM.

@ayesha-waris
Copy link
Contributor

fixed in PR

@openedx-webhooks
Copy link

@sohailfatima Even though your pull request wasn’t merged, please take a moment to answer a two question survey so we can improve your experience in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
open-source-contribution PR author is not from Axim or 2U
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants