Repository navigation
Split tool on clip header - #11467
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: 📥 CommitsReviewing files that changed from the base of the PR and between 7ec4dea519226321f222e2646c091813d2db0461 and ac1241f. 📒 Files selected for processing (5)
📝 WalkthroughWalkthroughThe split tool now recognizes whether a hovered or targeted track is an existing non-Label track. Split execution, cursor and guideline state, and QML pointer handling use this eligibility check. Header presses can pass through to the split tool, while selection release handling remains active. Split-at actions also validate the current project and remove invalid or Label track IDs. Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant User
participant TracksItemsView
participant SplitToolController
participant TrackeditActionsController
User->>TracksItemsView: Hover track and press
TracksItemsView->>SplitToolController: Check trackSplittable(trackId)
SplitToolController-->>TracksItemsView: Return eligibility and update pointer state
TracksItemsView->>SplitToolController: Forward eligible split interaction
SplitToolController->>TrackeditActionsController: Split eligible track
TrackeditActionsController->>TrackeditActionsController: Filter invalid and Label tracks
🚥 Pre-merge checks | ✅ 3 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (3 passed)
Warning Review ran into problems🔥 ProblemsLinked repositories: Public OSS repositories can only analyze public repositories installed in this organization. No linked repositories were analyzed; skipped 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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI (base), Organization UI (inherited)
Review profile: CHILL
Plan: Pro
Run ID: 9b130f5e-437f-432a-846f-7af2c094672c
📥 Commits
Reviewing files that changed from the base of the PR and between 8d757b2 and d0760a67d5d82b5d5cd2484bc97bfc9a7767f156.
📒 Files selected for processing (5)
src/projectscene/qml/Audacity/ProjectScene/tracksitemsview/ClipItem.qmlsrc/projectscene/qml/Audacity/ProjectScene/tracksitemsview/TracksItemsView.qmlsrc/projectscene/view/tracksitemsview/splittoolcontroller.cppsrc/projectscene/view/tracksitemsview/splittoolcontroller.hsrc/trackedit/internal/trackeditactionscontroller.cpp
d0760a6 to
7ec4dea
Compare
7ec4dea to
ac1241f
Compare
Resolves: #10740
Recommended:
QA: