Skip to content

feat: increased Course home font size #1600

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

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vladislavkeblysh
Copy link

@vladislavkeblysh vladislavkeblysh commented Feb 24, 2025

Description

Enlargement of the font-size in the Learning MFE.

  1. Increase font size inside Set a weekly learning goal block.
  2. Increase font size for Dismiss and Show more buttons.

Testing instructions

  1. Create new course
  2. Go to home page
  3. Check that Set a weekly learning goal block font size is increased
  4. Check that Dismiss and Show more buttons font size is increased

2
1

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

openedx-webhooks commented Feb 24, 2025

Thanks for the pull request, @vladislavkeblysh!

This repository is currently maintained by @openedx/committers-frontend-app-learning.

Once you've gone through the following steps feel free to tag them in a comment and let them know that your changes are 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.

🔘 Update the status of your PR

Your PR is currently marked as a draft. After completing the steps above, update its status by clicking "Ready for Review", or removing "WIP" from the title, as appropriate.


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.

Copy link

codecov bot commented Feb 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.32%. Comparing base (af432ea) to head (941dd00).
Report is 16 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1600      +/-   ##
==========================================
+ Coverage   90.18%   90.32%   +0.14%     
==========================================
  Files         339      338       -1     
  Lines        5810     5708     -102     
  Branches     1409     1384      -25     
==========================================
- Hits         5240     5156      -84     
+ Misses        552      533      -19     
- Partials       18       19       +1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@vladislavkeblysh vladislavkeblysh self-assigned this Feb 24, 2025
@itsjeyd
Copy link

itsjeyd commented Feb 27, 2025

@vladislavkeblysh Thank you for this contribution! Since it seems to include user-facing changes, you'll likely need to get product approval for it. When you're ready please follow the instructions from the bot to get that process started.

@itsjeyd
Copy link

itsjeyd commented Apr 1, 2025

Hey @vladislavkeblysh, 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 Apr 10, 2025
@vladislavkeblysh vladislavkeblysh force-pushed the keblysh/feat/course-home-font-size branch from 6bb5c60 to acab6bb Compare April 15, 2025 13:55
@vladislavkeblysh
Copy link
Author

@itsjeyd This PR ready to review

@vladislavkeblysh vladislavkeblysh requested review from BilalQamar95, KristinAoki and Lunyachek and removed request for BilalQamar95 April 15, 2025 14:09
@itsjeyd
Copy link

itsjeyd commented Apr 24, 2025

@vladislavkeblysh Same question here.

@itsjeyd itsjeyd removed the inactive PR author has been unresponsive for several months label Apr 24, 2025
@PKulkoRaccoonGang
Copy link
Contributor

[inform]: Awaiting Product Review

@PKulkoRaccoonGang PKulkoRaccoonGang added the create-sandbox open-craft-grove should create a sandbox environment from this PR label Apr 24, 2025
@vladislavkeblysh vladislavkeblysh marked this pull request as draft May 1, 2025 14:06
@PKulkoRaccoonGang PKulkoRaccoonGang added create-sandbox open-craft-grove should create a sandbox environment from this PR and removed create-sandbox open-craft-grove should create a sandbox environment from this PR labels May 6, 2025
@PKulkoRaccoonGang
Copy link
Contributor

Some context after accessibility review:

The LMS default body text is smaller than recommended for optimal readability. Adjusting the relevant CSS font-size to 1.2 ($font-size-base) rem appears to address the issue.


if (!welcomeMessageHtml) {
return null;
}

useEffect(() => {
Copy link
Contributor

Choose a reason for hiding this comment

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

[nit]: After discussions on the PWG, the answer was that this behavior of the buttons is a design decision. So, it seems to me that we should remove this useEffect and make sure that everything works correctly.

const wideScreen = useWindowSize().width >= breakpoints.medium.minWidth;

return (
<button
Copy link
Contributor

Choose a reason for hiding this comment

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

[open question]: should there be a component provided by Paragon? For example Paragon FormControl with type="radio"

@@ -40,7 +43,10 @@ const CourseDates = ({
/>
))}
</ol>
<a className="font-weight-bold ml-4 pl-1 small" href={datesTabLink}>
<a
Copy link
Contributor

Choose a reason for hiding this comment

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

[open question]: should there be a component provided by Paragon? For example Paragon HyperLink

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 open-source-contribution PR author is not from Axim or 2U product review PR requires product review before merging
Projects
Status: Waiting on Author
Development

Successfully merging this pull request may close these issues.

4 participants