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

✨ FormButton の構造を変えて新たな状態を追加 #4146

Merged
merged 3 commits into from
Nov 11, 2023

Conversation

SSlime-s
Copy link
Member

@SSlime-s SSlime-s commented Nov 11, 2023

設定画面の改修にあたって、中が塗られた赤いボタンを追加
それに伴って、FormButton の variant を変える手段を color: 'primary' | 'secondary' | 'tertiary' | 'danger' で指定していたのを、添付画像のように type: 'primary' | 'secondary' | 'tertiary'isDanger: boolean で指定するように
(以前の color: 'secondary' , color: 'tertiary' がそれぞれ type: 'tertiary', type: 'secondary' に対応しているので注意)

image

経緯とかは https://q.trap.jp/messages/84c7491d-6470-4a37-834a-cff4feea3ec4 以下にあります

@SSlime-s SSlime-s self-assigned this Nov 11, 2023
Copy link

Copy link

codecov bot commented Nov 11, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

Copy link
Contributor

@mehm8128 mehm8128 left a 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" />
Copy link
Contributor

Choose a reason for hiding this comment

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

ここtype="secondary"つけ忘れてそうです?意図的なら大丈夫です

Copy link
Member Author

Choose a reason for hiding this comment

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

変更し忘れです 🙏
修正しました :arigataya:

@mehm8128 mehm8128 merged commit 813093c into master Nov 11, 2023
11 checks passed
@mehm8128 mehm8128 deleted the SSlime/form-button-imp branch November 11, 2023 06:33
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