Skip to content

11498 Add join and split at silence on context menus - #11513

Merged
embarc-gabriel merged 1 commit into
audacity:masterfrom
embarc-gabriel:11498-join-split-at-silences
Jul 24, 2026
Merged

embarc-gabriel merged 1 commit into
audacity:masterfrom
embarc-gabriel:11498-join-split-at-silences

Conversation

@embarc-gabriel

Copy link
Copy Markdown
Contributor

Resolves: #11498

Add join and disjoin operations on clip, multi clip and selection menu.

  • I signed CLA
  • The title of the pull request describes an issue it addresses
  • If changes are extensive, then there is a sequence of easily reviewable commits
  • Each commit's message describes its purpose and effects
  • There are no behavior changes unnecessary for the stated purpose of the PR

Recommended:

  • Each commit compiles and runs on my machine without known undesirable changes of behavior

QA:

  • Time selection
  • Clip and multi-clip selection
  • Testflow test cases have been run

@coderabbitai

coderabbitai Bot commented Jul 23, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro Plus

Run ID: c9dc5d7b-81e2-4916-a991-cddbdd46a90a

📥 Commits

Reviewing files that changed from the base of the PR and between 113b08c90a768c399ac3511d52800984695c1495 and fc430f3.

📒 Files selected for processing (5)
  • src/projectscene/view/tracksitemsview/clipcontextmenumodel.cpp
  • src/projectscene/view/tracksitemsview/multiclipcontextmenumodel.cpp
  • src/projectscene/view/tracksitemsview/selectioncontextmenumodel.cpp
  • src/trackedit/internal/trackeditactionscontroller.cpp
  • src/trackedit/internal/trackeditactionscontroller.h
🚧 Files skipped from review as they are similar to previous changes (5)
  • src/projectscene/view/tracksitemsview/clipcontextmenumodel.cpp
  • src/projectscene/view/tracksitemsview/selectioncontextmenumodel.cpp
  • src/projectscene/view/tracksitemsview/multiclipcontextmenumodel.cpp
  • src/trackedit/internal/trackeditactionscontroller.h
  • src/trackedit/internal/trackeditactionscontroller.cpp

📝 Walkthrough

Walkthrough

Context menus now expose “Split at silences” and “Join” actions. Join availability is recalculated when clip selection changes and is limited to multi-clip range selections or contiguous selected clips on one track. Join execution dispatches a merge for either the selected time range or the derived contiguous clip span.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Sequence Diagram(s)

sequenceDiagram
  participant User
  participant ContextMenuModel
  participant TrackeditActionsController
  participant MergeDispatcher
  User->>ContextMenuModel: select Join
  ContextMenuModel->>TrackeditActionsController: invoke JOIN_CODE
  TrackeditActionsController->>MergeDispatcher: dispatch MERGE_SELECTED_ON_TRACK
  MergeDispatcher-->>User: apply merged clip result
Loading
🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title is concise and accurately summarizes the main context-menu join and split-at-silence changes.
Description check ✅ Passed The description matches the template with a Resolves line, a brief summary, and the required checklist section.
Linked Issues check ✅ Passed The changes satisfy #11498 by adding Join and Split at silences to the relevant clip, multi-clip, and selection menus and updating join gating.
Out of Scope Changes check ✅ Passed The PR stays focused on the requested context-menu and join/split behavior changes with no clear unrelated additions.

Warning

Review ran into problems

🔥 Problems

Linked repositories: Public OSS repositories can only analyze public repositories installed in this organization. No linked repositories were analyzed; skipped musescore/musescore.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@embarc-gabriel
embarc-gabriel force-pushed the 11498-join-split-at-silences branch from 9ef20aa to 113b08c Compare July 24, 2026 09:06
@embarc-gabriel
embarc-gabriel force-pushed the 11498-join-split-at-silences branch from 113b08c to fc430f3 Compare July 24, 2026 09:37
@embarc-gabriel
embarc-gabriel merged commit 129ac33 into audacity:master Jul 24, 2026
17 checks passed
@embarc-gabriel
embarc-gabriel deleted the 11498-join-split-at-silences branch August 28, 2026 10:22
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.

Add 'Join clips' and 'Split clip at silences' back into right click and clip context menu

2 participants