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

chore: Badge の Story を見直し #4988

Merged
merged 2 commits into from
Oct 9, 2024
Merged

chore: Badge の Story を見直し #4988

merged 2 commits into from
Oct 9, 2024

Conversation

s-sasaki-0529
Copy link
Contributor

@s-sasaki-0529 s-sasaki-0529 commented Oct 8, 2024

関連URL

https://smarthr.atlassian.net/browse/SHRUI-1151

概要

#4949 の方針に沿って、Badge コンポーネントの Story を見直しました。

もう少し小さめのコンポーネントで流れを掴んでから、デカ目のコンポーネントに手を出していきます。

変更内容

  • Badge の Story を見直し

確認方法

Storybook や Chromatic で確認してください。

Copy link

pkg-pr-new bot commented Oct 8, 2024

Open in Stackblitz

pnpm add https://pkg.pr.new/kufu/smarthr-ui@4988

commit: 4a82ba1


export default {
title: 'States(状態)/Badge/VRT',
/* ペアワイズ法は使わずにすべての組み合わせを網羅する */
Copy link
Contributor Author

Choose a reason for hiding this comment

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

ペアワイズ法をゴニョゴニョして色々試しはしたんですけど、このコンポーネントならペアワイズ使うまでもなく全描画パターン洗い出せるなと気づいたので使わなかったです。

というのもありですかね? Button みたいに全網羅は不可能な組み合わせ爆発が起こる場合のみ pict を導入するみたいな。

Copy link
Collaborator

Choose a reason for hiding this comment

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

ありだと思います! pict の運用はそれなりに手間がかかりそうなので、必要な時だけで良さそうですね。

@s-sasaki-0529 s-sasaki-0529 marked this pull request as ready for review October 8, 2024 10:35
@s-sasaki-0529 s-sasaki-0529 requested a review from a team as a code owner October 8, 2024 10:35
@s-sasaki-0529 s-sasaki-0529 requested review from AtsushiM and atzzCokeK and removed request for a team October 8, 2024 10:35
@s-sasaki-0529 s-sasaki-0529 self-assigned this Oct 8, 2024
@s-sasaki-0529 s-sasaki-0529 requested a review from a team October 8, 2024 10:37
Copy link
Collaborator

@uknmr uknmr left a comment

Choose a reason for hiding this comment

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

LGTM~


export default {
title: 'States(状態)/Badge/VRT',
/* ペアワイズ法は使わずにすべての組み合わせを網羅する */
Copy link
Collaborator

Choose a reason for hiding this comment

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

ありだと思います! pict の運用はそれなりに手間がかかりそうなので、必要な時だけで良さそうですね。

@s-sasaki-0529 s-sasaki-0529 merged commit ccd65e7 into master Oct 9, 2024
13 checks passed
@s-sasaki-0529 s-sasaki-0529 deleted the SHRUI-1151 branch October 9, 2024 11:46
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.

2 participants