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

[BD-46] fix: fixed odd trapezoid-like underline on active tab in Tabs component #2377

Merged

Conversation

PKulkoRaccoonGang
Copy link
Contributor

@PKulkoRaccoonGang PKulkoRaccoonGang commented Jun 15, 2023

Description

Issues:

Deploy Preview

Tabs component

Merge Checklist

  • If your update includes visual changes, have they been reviewed by a designer? Send them a link to the Netlify deploy preview, if applicable.
  • Does your change adhere to the documented style conventions?
  • Do any prop types have missing descriptions in the Props API tables in the documentation site (check deploy preview)?
  • Were your changes tested using all available themes (see theme switcher in the header of the deploy preview, under the "Settings" icon)?
  • Were your changes tested in the example app?
  • Is there adequate test coverage for your changes?
  • Consider whether this change needs to reviewed/QA'ed for accessibility (a11y). If so, please add wittjeff and adamstankiewicz as reviewers on this PR.

Post-merge Checklist

  • Verify your changes were released to NPM at the expected version.
  • If you'd like, share your contribution in #show-and-tell.
  • 🎉 🙌 Celebrate! Thanks for your contribution.

@openedx-webhooks openedx-webhooks added the blended PR is managed through 2U's blended developmnt program label Jun 15, 2023
@openedx-webhooks
Copy link

openedx-webhooks commented Jun 15, 2023

Thanks for the pull request, @PKulkoRaccoonGang!

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

@PKulkoRaccoonGang PKulkoRaccoonGang marked this pull request as draft June 15, 2023 21:03
@netlify
Copy link

netlify bot commented Jun 15, 2023

Deploy Preview for paragon-openedx ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit d4fa62e
🔍 Latest deploy log https://app.netlify.com/sites/paragon-openedx/deploys/64b8ed0a5e1ed60008364a3d
😎 Deploy Preview https://deploy-preview-2377--paragon-openedx.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@codecov
Copy link

codecov bot commented Jun 15, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (9373f93) 91.38% compared to head (6f96ce6) 91.38%.

❗ Current head 6f96ce6 differs from pull request most recent head d4fa62e. Consider uploading reports for the commit d4fa62e to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2377   +/-   ##
=======================================
  Coverage   91.38%   91.38%           
=======================================
  Files         234      234           
  Lines        4157     4157           
  Branches     1001     1001           
=======================================
  Hits         3799     3799           
  Misses        351      351           
  Partials        7        7           

see 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@PKulkoRaccoonGang PKulkoRaccoonGang force-pushed the Peter_Kulko/fix-odd-trapezoid-like branch from 6cc7332 to f546f57 Compare June 21, 2023 12:26
@PKulkoRaccoonGang PKulkoRaccoonGang marked this pull request as ready for review June 21, 2023 12:27
@PKulkoRaccoonGang PKulkoRaccoonGang force-pushed the Peter_Kulko/fix-odd-trapezoid-like branch 3 times, most recently from a5c6392 to 813da66 Compare June 22, 2023 06:59
@PKulkoRaccoonGang PKulkoRaccoonGang force-pushed the Peter_Kulko/fix-odd-trapezoid-like branch from 9cef09e to d16e6ed Compare June 22, 2023 07:48
@viktorrusakov
Copy link
Contributor

@PKulkoRaccoonGang I think dropdown's bottom border got a little broken when focused
image
it should be the same height as a regular tab's underline.

Also when you select an item in the dropdown and then select a regular tab, the underline of the whole nav jumps a little bit (this does not happen on the prod).

Copy link
Member

@adamstankiewicz adamstankiewicz left a comment

Choose a reason for hiding this comment

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

Looks like the hover styles for non-active tabs may have been removed?

Figma

image

In deploy preview

Hovering over active tab has gray background:

image

However, hovering over non-active tab, has no background change:

image

Copy link
Contributor

@viktorrusakov viktorrusakov left a comment

Choose a reason for hiding this comment

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

LGTM. I'll let @adamstankiewicz double-check and merge, it's easy to miss bugs with this one 🙂

@PKulkoRaccoonGang also, don't forget to add new design tokens to alpha branch after this merges 😁

Copy link
Member

@adamstankiewicz adamstankiewicz left a comment

Choose a reason for hiding this comment

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

LGTM!

@adamstankiewicz adamstankiewicz merged commit 8a32af8 into openedx:master Jul 21, 2023
@openedx-webhooks
Copy link

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

@edx-semantic-release
Copy link
Contributor

🎉 This PR is included in version 20.45.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

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 raccoon-gang released
Projects
No open projects
Status: Done
6 participants