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

feat: add Badge base component #2730

Merged
merged 20 commits into from
Jun 1, 2023
Merged

feat: add Badge base component #2730

merged 20 commits into from
Jun 1, 2023

Conversation

dkacper
Copy link
Contributor

@dkacper dkacper commented May 19, 2023

Related issue

Closes SFUI2-638

Scope of work

What's done:

  • Badge component implemented in both React and Vue
  • All blocks implemented
  • Docs page with examples, playground, and API table
  • tests

Screenshots of visual changes

Zrzut ekranu 2023-05-26 o 12 37 26 Zrzut ekranu 2023-05-26 o 12 37 30

Checklist

  • Self code-reviewed
  • Changes documented
  • Semantic HTML
  • SSR-friendly
  • Caching friendly
  • a11y for WCAG 2.0 AA
  • examples created
  • blocks created
  • cypress tests created

@changeset-bot
Copy link

changeset-bot bot commented May 26, 2023

🦋 Changeset detected

Latest commit: d745129

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

This PR includes changesets to release 3 packages
Name Type
@storefront-ui/react Minor
@storefront-ui/vue Minor
@storefront-ui/shared Minor

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

@aniamusial aniamusial marked this pull request as ready for review May 26, 2023 10:40
Copy link
Contributor

@Szymon-dziewonski Szymon-dziewonski left a comment

Choose a reason for hiding this comment

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

Please do not forget add changeset to your PR
here's draft of how to do it https://vsf.atlassian.net/wiki/spaces/SFUI/pages/147750931/Continuous+delivery+pipeline+draft

rest is looking good, great job @aniamusial and @dkacper

@@ -0,0 +1,32 @@
<template>
<div class="flex gap-3">
<SfButton class="relative" square variant="tertiary">
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should add relative to SfButton, wdyt ? cc: @FRSgit

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, we could - but that would be a breaking change, so let's do it separately on v3.0.0 branch

aniamusial and others added 4 commits May 30, 2023 09:17
Co-authored-by: Szymon Dziewoński <szymon.dziewonski@gmail.com>
Co-authored-by: Szymon Dziewoński <szymon.dziewonski@gmail.com>
@sonarcloud
Copy link

sonarcloud bot commented May 30, 2023

[storefront-ui-react] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

80.0% 80.0% Coverage
0.0% 0.0% Duplication

@sonarcloud
Copy link

sonarcloud bot commented May 30, 2023

[storefront-ui-vue] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

Copy link
Contributor Author

@dkacper dkacper left a comment

Choose a reason for hiding this comment

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

LGTM after all the changes by @aniamusial. I'm happy to approve this PR. Let's merge the badge. ⭐

@dkacper dkacper merged commit 4094afe into v2-develop Jun 1, 2023
14 checks passed
@dkacper dkacper deleted the feat/badge branch June 1, 2023 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants