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 whitespace issue in Link::Inline and Interactive utility component #668

Merged
merged 2 commits into from
Nov 3, 2022

Conversation

alex-ju
Copy link
Member

@alex-ju alex-ju commented Nov 2, 2022

πŸ“Œ Summary

Fix whitespace issue in Link::Inline and Interactive utility component.

πŸ› οΈ Detailed description

'Squishies' all the way. To make sure we're not leaving any whitespace behind, I added the designated whitespace control character ~ to all conditional statements in the Hds::Interactive template, with direct effects on the Link::Inline component. This would probably become the norm for any inline components in the library.

πŸ“Έ Screenshots

Check visual regression diff in Percy πŸ¦”

Before

Screenshot 2022-11-02 at 18 58 30

After

Screenshot 2022-11-02 at 18 58 15

πŸ”— External links

Addressing the issue flagged in #231 (comment) and by @efgold via Slack and via GitHub


πŸ‘€ How to review

πŸ‘‰ Review commit-by-commit
πŸ‘‰ Review by files changed

Reviewer's checklist:

  • +1 Percy if applicable
  • Confirm that PR has a changelog update via Changesets if needed

πŸ’¬ Please consider using conventional comments when reviewing this PR.

@vercel
Copy link

vercel bot commented Nov 2, 2022

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated
hds-components βœ… Ready (Inspect) Visit Preview πŸ’¬ Add your feedback Nov 3, 2022 at 1:36PM (UTC)
hds-flight-website βœ… Ready (Inspect) Visit Preview πŸ’¬ Add your feedback Nov 3, 2022 at 1:36PM (UTC)
hds-website βœ… Ready (Inspect) Visit Preview πŸ’¬ Add your feedback Nov 3, 2022 at 1:36PM (UTC)

@changeset-bot
Copy link

changeset-bot bot commented Nov 2, 2022

πŸ¦‹ Changeset detected

Latest commit: 3c3b670

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@hashicorp/design-system-components Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

@didoo didoo left a comment

Choose a reason for hiding this comment

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

Amazing. Thanks for this! πŸ™

@didoo didoo self-requested a review November 3, 2022 12:54
@alex-ju alex-ju force-pushed the fix-white-space-issue-on-interactive-component branch from 66de483 to 3c3b670 Compare November 3, 2022 13:33
@vercel vercel bot temporarily deployed to Preview – hds-components November 3, 2022 13:35 Inactive
@vercel vercel bot temporarily deployed to Preview – hds-flight-website November 3, 2022 13:36 Inactive
@alex-ju alex-ju merged commit ad23717 into main Nov 3, 2022
@alex-ju alex-ju deleted the fix-white-space-issue-on-interactive-component branch November 3, 2022 13:41
@hashibot-hds hashibot-hds mentioned this pull request Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants