Skip to content

Issue 405 (Preview Pane)#412

Draft
NatalieElizabeth wants to merge 17 commits into
developfrom
issue_405
Draft

Issue 405 (Preview Pane)#412
NatalieElizabeth wants to merge 17 commits into
developfrom
issue_405

Conversation

@NatalieElizabeth
Copy link
Copy Markdown

Adds a preview pane in the media clipboard. Currently a draft.

Also fixes the filename display to remove escape characters.

Natalie Smith added 6 commits April 3, 2026 14:44
…-zoom' into issue_405

Merging new time axis into preview pane branch to stay up to date and avoid later merge conflicts.
- Added setPreviewPane method to MediaClipboardWidget for managing preview pane interactions.
- Implemented showTrack and clearTrack methods in PreviewPaneWidget to handle track display and clearing.
- Updated MediaDisplayComponent to support preview track functionality.
- Improved track name handling in TrackAreaWidget by removing escape characters.

Issues:
- waveform does not appear on startup, and there are artifacts from trying to fix this problem that remain and will need to be cleaned up later.
- preview mode is not in its final form
- no resize and no title bar yet
@NatalieElizabeth NatalieElizabeth self-assigned this Apr 17, 2026
@NatalieElizabeth NatalieElizabeth moved this to In Progress in HARP 3.x Apr 17, 2026
@NatalieElizabeth NatalieElizabeth linked an issue Apr 17, 2026 that may be closed by this pull request
@NatalieElizabeth NatalieElizabeth added the Category/UI Issues concerning user interface. label Apr 17, 2026
@NatalieElizabeth NatalieElizabeth changed the title Issue 405 Issue 405 (Preview Pane) Apr 17, 2026
@NatalieElizabeth
Copy link
Copy Markdown
Author

Basic functionality now exists as it should. I'm playing with the button positioning to make it look less awkward and maximize space. I'm thinking about a loop button but I'm not entirely sure if it's as helpful as I hope it will be. I will remove the play button from the top of the media clipboard in this pull request but make sure it's in its own clean commit, since that change touches more areas of the code than I anticipated. The other changes we discussed around renaming and the appearance of the tracks (waveform thumbnail vs. filename and length) will be done in separate branches.

@NatalieElizabeth
Copy link
Copy Markdown
Author

Fixed various issues relating to the playback cursor head (improved logic so that it gets coordinates correctly regardless of nested parents), drag resize, and button layout, and removed the now obsolete play button in the media clipboard toolbar. This makes the preview pane itself essentially ready, unless any other functionality (like a loop button, file length, sample rate, file path, etc) needs to be added. That part will require team input, but for now since the feature is already an improvement in its own right I will mark this as ready and then make separate pull requests for the file rename and thumbnail -> file name + length changes.

@NatalieElizabeth NatalieElizabeth marked this pull request as ready for review May 1, 2026 17:37
@NatalieElizabeth NatalieElizabeth marked this pull request as draft May 11, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Category/UI Issues concerning user interface.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Media Clipboard Item Preview Pane

1 participant