-
Notifications
You must be signed in to change notification settings - Fork 29
エンジン設定比較でエンジンを変更するたびにフィルターがリセットされる問題を修正 #1218
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
Conversation
WalkthroughThe changes refactor how selected tags are managed and passed between the Changes
Sequence Diagram(s)sequenceDiagram
participant PlayerSelector
participant DropdownList
PlayerSelector->>DropdownList: Passes :default-tags="defaultTags"
DropdownList->>DropdownList: Initializes Set of selected tags from defaultTags
User->>DropdownList: Clicks on a tag
DropdownList->>DropdownList: Toggles tag in Set
DropdownList->>PlayerSelector: Emits updated selection (if applicable)
Possibly related PRs
Suggested labels
Poem
Tip ⚡️ Faster reviews with caching
Enjoy the performance boost—your workflow just got faster. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (8)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1218 +/- ##
=======================================
Coverage 78.58% 78.58%
=======================================
Files 129 129
Lines 16356 16356
Branches 2719 2719
=======================================
Hits 12853 12853
Misses 3481 3481
Partials 22 22 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@@ -59,6 +59,7 @@ import { useBusyState } from "@/renderer/store/busy"; | |||
import DropdownList from "@/renderer/view/primitive/DropdownList.vue"; | |||
|
|||
const selectedPlayerURI = defineModel<string>("playerUri", { required: true }); | |||
const defaultTags = computed(() => (props.defaultTag ? [props.defaultTag] : [])); |
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.
メモ
:selected-tags
に式を直接書くと計算結果が変わっていなくても DropdownList の watch が発火してしまう。
不具合の修正に必要な実装はこれだけで、他の変更はリファクタリングとして入れた。
説明 / Description
#1214
チェックリスト / Checklist
npm test
passednpm run lint
was applied without warnings/docs/webapp
not included (except release branch)console.log
not included (except script file)Summary by CodeRabbit