-
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
Fix/change UI setting qall #4192
Conversation
Preview (prod) → https://4192-prod.traq-preview.trapti.tech/ |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4192 +/- ##
=======================================
Coverage 86.35% 86.35%
=======================================
Files 66 66
Lines 4719 4719
Branches 564 564
=======================================
Hits 4075 4075
Misses 638 638
Partials 6 6 ☔ View full report in Codecov by Sentry. |
PRありがとうございます! また、issueのURL書いてくれるのはありがたいのですが、 |
ご確認いただきありがとうございます! |
連絡が遅れて申し訳ありません、ご指摘いただいたところを修正しました。 |
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.
大体よさそうですがいくつか書いてみました
display: block; | ||
font-weight: bold; |
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.
NatsukiくんのPRでFormRadioコンポーネント自体を変えてもらってるので、ここらへんはもしかしたらまたちょっと変えてもらうかもです
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.
ありがとうございます!
一旦変えずに今後の指示を待ちます。
src/views/Settings/QallTab.vue
Outdated
.enable { | ||
display: flex; | ||
align-items: center; | ||
margin-bottom: 8px; | ||
h3 { | ||
margin: 0; | ||
.header_and_content { |
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.
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.
ご指摘ありがとうございます。
下でアドバイスをいただいている通り、class名をsection
にしました。
src/views/Settings/QallTab.vue
Outdated
@@ -2,76 +2,35 @@ | |||
<section> | |||
<div :class="$style.element"> | |||
<div :class="$style.enable"> | |||
<h3 :class="$style.header">RTC機能を有効にする</h3> | |||
<div :class="$style.header_and_content"> |
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.
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.
アドバイスをありがとうございます。
header_and_content
の名前をsection
に変更して、これを使うところはdivでなくsectionタグを使うようにしました。
変更を加えなかった他の部分の見出しは元からdiv
ですが、そこはあまり気にしなくて良いでしょうか?
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.
他のところもできれば変えておいてほしいです!
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.
ありがとうございます。わかりました。
src/views/Settings/QallTab.vue
Outdated
@@ -2,76 +2,35 @@ | |||
<section> | |||
<div :class="$style.element"> | |||
<div :class="$style.enable"> | |||
<h3 :class="$style.header">RTC機能を有効にする</h3> | |||
<div :class="$style.header_and_content"> | |||
<h3 :class="$style.header">RTC機能</h3> |
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.
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.
ご指摘ありがとうございます。
修正しました。
</div> | ||
<div :class="$style.element"> | ||
<h3 :class="$style.header">マスターボリューム</h3> | ||
<form-range-with-value |
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.
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.
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.
なるほどです
ブラウザによって結構変わっちゃうのでこのままでもいい気がしますが、一応周りの灰色部分消すことができるかどうかくらいでいいので、調べてみてできそうだったらやってみてほしいです!
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.
ありがとうございます。わかりました。
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.
お疲れ様です。スライダーなのですが、FormRangeWithValue.vueを変更してしまってもいいですか?
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.
リポジトリ全体に対して<form-range-with-value
で検索をかけてみると、このコンポーネントが今のところQallの設定画面でしか使われていないことが分かるので、OKです
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.
ありがとうございます。確かにQallの設定画面以外では文字列がヒットしませんでした。
では、スライダーの設定のコードを変更してみます。
src/views/Settings/QallTab.vue
Outdated
</div> | ||
<div v-if="state.isTtsEnabled" :class="$style.element"> | ||
<h3 :class="$style.header">メッセージ読み上げの声</h3> | ||
<div :class="$style.content"> | ||
<div> |
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.
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.
ご指摘ありがとうございます。
確かに要らなそうだったので、消去しました。
src/views/Settings/QallTab.vue
Outdated
<form-selector | ||
v-if="voiceOptions.length > 0" | ||
v-model="state.voiceName" | ||
label="読み上げボイスの種類" | ||
:options="voiceOptions" | ||
/> | ||
<p v-else>読み上げ音声の声の種類が取得できませんでした</p> | ||
<p v-else>読み上げ音声の声の種類が取得できませんでした。</p> | ||
<form-input | ||
v-model.number="state.voicePitch" | ||
label="ピッチ" |
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.
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.
src/views/Settings/QallTab.vue
Outdated
v-model="state.voiceName" | ||
label="読み上げボイスの種類" | ||
:options="voiceOptions" | ||
:class="$style.option" |
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.
src/views/Settings/QallTab.vue
Outdated
margin: 12px 0; | ||
font-size: 12px; | ||
} | ||
.content { |
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.
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.
わかりました、ありがとうございます!
Figmaの方を参考に微調整します。
</div> | ||
<div :class="$style.element"> | ||
<h3 :class="$style.header">マスターボリューム</h3> | ||
<form-range-with-value |
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: |
わかりました!ありがとうございます。 |
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つだけ:pray:
src/components/UI/FormSelector.vue
Outdated
@@ -51,7 +51,7 @@ const id = randomString() | |||
<style lang="scss" module> | |||
.label { | |||
@include color-ui-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.
ここと、FormInputのラベルの色が変わってたっぽいので直してほしいです:pray:
@include color-ui-secondary; | |
@include color-ui-primary; |
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.
ご指摘ありがとうございます。
修正しました。
スライダーの見た目を変えるところに少し着手したのですが、擬似要素を使う方法があまりうまくいかず(擬似要素を使っても思ったように設定できないところがあった+できればwebkit-sliderを使わず書きたいが、擬似要素を使う場所を指定するためにwebkit-sliderが必要)、 |
一応
ASliderはhttps://github.com/traPtitech/traQ_S-UI/blob/24d955b6ac3b917a950fd357634787c4fb77cc17/src/components/Main/NavigationBar/EphemeralNavigationContent/QallController/QallDetailsPanelUser.vue とかで使われているので参考になるかもです |
ありがとうございます。FormRangeWithValue.vueを書き換えて、 |
スライダーの色味を変更しました。 おそらく必要な変更は一通り行ったと思います。 |
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.
大体よさそうですが、あとちょっとお願いします🙏
:max="max" | ||
:disabled="disabled" | ||
:tooltip="'none'" |
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.
<a-slider | ||
v-model.number="value" | ||
:class="$style.range" | ||
type="range" | ||
:min="min" | ||
:step="step" | ||
:max="max" | ||
:disabled="disabled" | ||
:tooltip="'none'" | ||
:interval="interval" |
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.
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.
よさそうです、ありがとうございます!(ラジオボタンの保留してたところはあとで別で対応するので一旦このままマージでOKだと思います)
ありがとうございます! |
大丈夫です!お願いします |
issue:
#2203
設定画面の通話(Qall)のページを改善しました。
デザイン元:
https://www.figma.com/file/6Wme6N24y3GN2jD0vqZWZr/traQ-S-UI?type=design&node-id=1-1355&mode=design
変更内容
・ページの設定項目の順番の変更
・「RTC機能」「メッセージの読み上げ」の項目のトグルの位置を右側に変更
・デザイン元に従った文章、文字の太さなどの細かい変更
◯「マスターボリューム」「ノイズゲート」のスライダーですが、見た目がデザイン元通りになっているか確認できておりません。
(自分のPCはMacのため、違う見た目になっているかもしれないです。)ご確認をお願いいたします。