-
Notifications
You must be signed in to change notification settings - Fork 312
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
複数選択:選択だけ実装 #1470
複数選択:選択だけ実装 #1470
Conversation
Ctrl/Shiftを押してるときは当たり判定用のdivを出現させるようにしました。 |
これ、実験的機能に隔離した方が良いような気がしました(e2eどうやるのって話になりますが) |
あ、賛成です!!
これって実験的機能をonにしたe2eテストどうやるのって意味でしょうか 👀 |
反映しました。 |
src/components/AudioCell.vue
Outdated
&[data-is-multi-select-enabled="true"]:is(.selected, .active) { | ||
background-color: rgba(colors.$primary-light-rgb, 0.1); | ||
} |
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.
ライトモードだと緑と白の相性が微妙に良くなくて視認性がちょっと悪めかも・・・?
アクセント区の選択色を流用するのはどうでしょう? 👀
https://github.com/Hiroshiba/voicevox/blob/6e3babad5dfc68a3ec1de59c7c864a960e8a30e8/docs/%E8%89%B2%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6.md#L20-L22
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.
良い実装なのではと感じました!!
所々不要になったコードが残っていそうだったので一旦それをコメントしてみました。
tests/e2e/browser/複数選択.spec.ts
Outdated
// FIXME: Macでは動かないので、Macでは落ちるテストとしてマークする。 | ||
test.fail(); |
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.
わからないですね…CmdとCtrlで色々違うのかも知れません。Mac実機を持ってないのでどうしようもないです
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.
うーん。駄目そう。
レビューを反映しました。 |
Co-authored-by: Hiroshiba <hihokaruta@gmail.com>
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.
LGTM!!!!!!!!!!!!
色々コメントを書きましたが全部細かい修正なので問題ないと思います!
テストがいっぱい実装されているのでかなり安心感があってすごく嬉しいです。
現状を考える一番いい仕様になったんじゃないかなと思います、調整ありがとうございました!!!
Co-Authored-By: Hiroshiba <Hiroshiba@users.noreply.github.com>
レビューを反映しました。 |
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.
問題ないと思うのでマージしたいと思います! お疲れ様でした!!
どんどん機能実装していきたいですね・・・!
実装の課題として、パラメータ欄の表示をどうするか、詳細設定欄の表示をどうするか、複数選択時の変更の実装をどうするかなどがありそう。
もし続きを実装する場合、いきなりプルリクでも良いのですが、先にissueで「こういう感じでの実装を考えてます」から始めると、設計を考える訓練になるかもとか思いました。
(もちろんいきなりプルリクでもOKです!)
@thiramisu
以前も共有したかもですが、このあたり(AudioCellのfocus辺り)の実装は以前・これからの実装と関連があるかもなので共有です・・・!
AudioCellにfocusがあたったときはactiveKeyのみがsetされる(Inputにfocusしない)という経路ができた感じかなと。
割と決めてました: #457 (comment) |
確かに方針に関してはそんな感じで良さそうなんですが、実装まで見ると結構自明じゃないところはありそうに思います
ちょっと実際の実装を見ずに言っているので、まだ他にもある気がします |
なるほどぉ。 コメントした意図としては、課題になりそうな詳細箇所を探しておいて、あとあと実装で行き詰まるのを少なくするのはどうかという感じでした。 |
あ、マージしていませんでした 🙇 複数変更機能はニーズが高いと思います、もしよかったらぜひ・・・!!! |
内容
複数選択の選択部分だけ実装します。
関連 Issue
スクリーンショット・動画など
_VOICEVOX.-.Ver.999.999.999.Mozilla.Firefox.2023-08-13.07-09-26.mp4
その他
(なし)