Skip to content

Comments

feat: Automatically expand properties when adding effects#1485

Merged
yuto-trd merged 1 commit intomainfrom
feat/auto-expand-added-effect
Feb 15, 2026
Merged

feat: Automatically expand properties when adding effects#1485
yuto-trd merged 1 commit intomainfrom
feat/auto-expand-added-effect

Conversation

@yuto-trd
Copy link
Member

@yuto-trd yuto-trd commented Feb 15, 2026

Description

When adding filter effects, audio effects, or transforms, the property panel of the newly added item is now automatically expanded.

This is achieved by setting IsExpanded.Value = true after AddItem execution, eliminating the need for manual expansion by the user. Existing items are unaffected (applies only to newly added items).

Breaking changes

None

Fixed issues

None

Copilot AI review requested due to automatic review settings February 15, 2026 09:17
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7b2327ae50

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds automatic property panel expansion when adding filter effects, audio effects, or transforms to timeline elements. The implementation attempts to auto-expand newly added items by setting IsExpanded.Value = true on the newly created ViewModel after calling AddItem.

Changes:

  • Auto-expand newly added filter effects, audio effects, and transforms
  • Access the last item in the ListEditorViewModel's Items collection after adding to the underlying data
  • Set IsExpanded to true on the newly added item's ViewModel

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
src/Beutl/ViewModels/Editors/FilterEffectEditorViewModel.cs Added logic to find and expand the newly added filter effect item
src/Beutl/ViewModels/Editors/AudioEffectEditorViewModel.cs Added logic to find and expand the newly added audio effect item
src/Beutl/ViewModels/Editors/TransformEditorViewModel.cs Added logic to find and expand the newly added transform item

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

When a filter effect, audio effect, or transform is added via AddItem,
automatically expand the newly added item's properties panel so users
don't have to manually click to expand it.
@yuto-trd yuto-trd force-pushed the feat/auto-expand-added-effect branch from 7b2327a to 57b2f1f Compare February 15, 2026 09:35
@github-actions
Copy link
Contributor

No TODO comments were found.

@github-actions
Copy link
Contributor

Code Coverage

Package Line Rate Branch Rate Complexity Health
Beutl.Editor 82% 76% 870
Beutl.Extensibility 14% 16% 100
Beutl.Operators 2% 0% 120
Beutl.Language 0% 20% 943
Beutl.ProjectSystem 13% 7% 2887
Beutl.Threading 100% 93% 122
Beutl.Engine 21% 19% 13751
Beutl.Configuration 39% 19% 288
Beutl.Utilities 73% 67% 358
Beutl.Core 40% 36% 2966
Summary 25% (13312 / 54059) 24% (3683 / 15473) 22405

Minimum allowed line rate is 0%

@yuto-trd yuto-trd changed the title feat: エフェクト追加時にプロパティを自動展開する feat: Automatically expand properties when adding effects Feb 15, 2026
@yuto-trd yuto-trd merged commit 0c99910 into main Feb 15, 2026
4 checks passed
@yuto-trd yuto-trd deleted the feat/auto-expand-added-effect branch February 15, 2026 10:02
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.

1 participant