-
Notifications
You must be signed in to change notification settings - Fork 40
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
✨ FormButton の構造を変えて新たな状態を追加 #4146
Conversation
Preview (prod) → https://4146-prod.traq-preview.trapti.tech/ |
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
一箇所だけ:eyes:
あとはよさそうです、ありがとうございます!
@@ -23,7 +23,7 @@ | |||
</content-editor> | |||
</sidebar-content-container-foldable> | |||
<div :class="$style.item"> | |||
<form-button label="削除" color="error" @click="deleteClip" /> | |||
<form-button label="削除" is-danger @click="deleteClip" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ここtype="secondary"
つけ忘れてそうです?意図的なら大丈夫です
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
変更し忘れです 🙏
修正しました :arigataya:
設定画面の改修にあたって、中が塗られた赤いボタンを追加
それに伴って、FormButton の variant を変える手段を
color: 'primary' | 'secondary' | 'tertiary' | 'danger'
で指定していたのを、添付画像のようにtype: 'primary' | 'secondary' | 'tertiary'
とisDanger: boolean
で指定するように(以前の
color: 'secondary'
,color: 'tertiary'
がそれぞれtype: 'tertiary'
,type: 'secondary'
に対応しているので注意)経緯とかは https://q.trap.jp/messages/84c7491d-6470-4a37-834a-cff4feea3ec4 以下にあります