-
Notifications
You must be signed in to change notification settings - Fork 0
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
ServiceAccordion の実装 #53
Conversation
src/components/UI/BaseSelect.vue
Outdated
.item { | ||
display: grid; | ||
grid-template-columns: 24px 1fr; | ||
gap: 8px; | ||
.icon { | ||
color: $color-primary; | ||
} | ||
.label { | ||
grid-column: 2; | ||
} | ||
} |
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.
align-items: center;
ほしいです
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.
どの部分を指してますか?(Homepageとかの文字列が入ってくるlabel
の部分ですか?)
勘違いしてました:pray: 解決しました
</v-select> | ||
</template> | ||
|
||
<style lang="scss" module> |
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.
選択したときの選択した感と、カーソル当てたときの検索できる感があんまりない気がするのでcursor
を選択肢をホバーしたときにpointer
、selectbox自体にカーソル当てたときにtext
にするのがいい気がします(これデフォルトでなってた気がするんですけどどこかで消してますっけ)
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.
良さそうなのでやっておきます○
(デフォルトで
[aria-controls] {
cursor: pointer;
}
になってて、これがまずそう?)
</script> | ||
|
||
<template> | ||
<base-select v-model="value" :options="options" searchable /> |
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.
options
についてなんですけど、この前同じサービスに対して複数アカウントを登録できなくしたので、既に登録してあるサービスを除外したい感があります
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.
登録済みのサービスはdisableな見た目にして選択できない感じですかね?
(もしくは、完全に表示しない)
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.
完全に表示しないのを想定していましたが、いい感じのUIにできそうであればdisableな見た目にした方が分かりやすいかもです🤨
#46 でスクロールバーのCSS変更すると思うのでそのときにいい感じにすれば良さそうです? |
とりあえず、登録済みのサービスを表示しないようにしました |
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.
よさそうです!
1点だけ気になったところあったのでお好みで修正お願いします🙏
|
||
interface Props { | ||
modelValue: AccountType | ||
registered: AccountType[] |
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.
optionalにしてデフォルトで空配列にしてもよさそうです👀
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.
遅くなりました:pray:デフォルトで空配列にしました
close #29
ServiceAccordion を実装しました
確認方法
どのページにも実装されていないので、適当に表示してください:pray: