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

docs(ErrorScreen): Storybook を見直し #5145

Merged
merged 2 commits into from
Nov 28, 2024
Merged

docs(ErrorScreen): Storybook を見直し #5145

merged 2 commits into from
Nov 28, 2024

Conversation

s-sasaki-0529
Copy link
Contributor

関連URL

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

概要

変更内容

  • Storybook のリライト

確認方法

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

Copy link

pkg-pr-new bot commented Nov 28, 2024

Open in Stackblitz

npm i https://pkg.pr.new/kufu/smarthr-ui@5145

commit: 50717d9


const logoOptions = {
デフォルト: undefined,
ReactNode: <div>ロゴ</div>,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

ロゴ部分にデフォルトの SmartHR ロゴ以外に何を出す需要があるのか良くわからず・・。
適当に div 要素を埋め込めんでしまいましたが、何か適切なサンプルありますかね…?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Collaborator

Choose a reason for hiding this comment

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

グループ会社など SmartHR 以外のプロダクトでロゴを出す可能性があります。ここは例として SmartHR のロゴが出てても問題ないように思いました!

{ label: 'お問い合わせ', url: '/contact' },
],
},
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

このコンポーネントはフルスクリーンで表示される都合、並べて表示することができないので、一通りの項目が表示されるパターン1個で担保します。props 同士がバッティングすることもないのでまぁ。

@s-sasaki-0529 s-sasaki-0529 marked this pull request as ready for review November 28, 2024 00:51
@s-sasaki-0529 s-sasaki-0529 requested a review from a team as a code owner November 28, 2024 00:51
@s-sasaki-0529 s-sasaki-0529 requested review from yt-ymmt, moshisora, Qs-F, misako0927 and uknmr and removed request for a team November 28, 2024 00:51
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~


const logoOptions = {
デフォルト: undefined,
ReactNode: <div>ロゴ</div>,
Copy link
Collaborator

Choose a reason for hiding this comment

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

グループ会社など SmartHR 以外のプロダクトでロゴを出す可能性があります。ここは例として SmartHR のロゴが出てても問題ないように思いました!

@s-sasaki-0529 s-sasaki-0529 merged commit 2da022a into master Nov 28, 2024
10 checks passed
@s-sasaki-0529 s-sasaki-0529 deleted the SHRUI-1133 branch November 28, 2024 02:19
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