Repository navigation
Windows and tab tear-off, insert space, ink to text, smarter text boxes - #6
Merged
Merged
Conversation
- Single instance: files opened from Explorer (or a second launch) go to the running YuNotes and open as a tab in the last-used window; a plain launch opens a new window. Program.cs supplies Main for the hand-off. - Several windows, each with its own tabs. Tabs can be reordered, dragged out into a new window, dropped onto another window's tab strip, or moved from the tab's right-click menu. A note is open in one window at most. - Insert space: with the Page size tool, drag down inside a page to open blank space at that line (the PDF below moves down), drag up to close it. Stored per page (gaps_json), undoable, drawn in pieces on screen and in exports; saved PDFs keep the original page as vectors. - Widened imported pages are saved and exported at their full width instead of being squeezed into the original page size, with the template on the added strips. Saved-page format bumped so old files re-render once. - Convert handwriting to text from the lasso selection bar: review the recognized text, then replace the ink with a text box or copy it. - Text boxes: side handles rewrap at the same font size, corners scale box and font together, height always fits the text, and the resize preview shows the real result. Other selections get width-only and height-only handles; triangles now scale their third corner. - Glass toolbar: the edge band always samples the backdrop. The live canvas capture didn't follow scroll/zoom (showed page that wasn't behind the toolbar), so it and the pause-while-drawing plumbing are removed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Single instance and windows
.pdf/.yunotefrom Explorer (or launching YuNotes again) hands the file to the running YuNotes, which opens it as a tab in the last-used window. A plain second launch opens a new window.Program.csnow suppliesMain(DISABLE_XAML_GENERATED_MAIN) and redirects activations withAppInstance.MainWindow.Tabs). Tabs can be reordered, dragged out into a new window, dropped onto another window's tab strip, or moved from the tab's right-click menu. A note is open in at most one window: opening it again switches to where it already is.Navigate,GoBack, drag region, full screen, pickers, share) now act on the page's own window instead of a single global one.Insert space
gaps_json, newPageGapsmodel), undoable, and drawn in pieces on screen, in thumbnails, PNG/PDF export and the zoomed-in hi-res crop. PDF text selection and search are mapped through the gaps.Widened and spaced pages in saved PDFs
vector-2, so existing files re-render every page once on their next save instead of reusing squeezed pages.Convert handwriting to text
Resizing
Glass toolbar
Notes for review
mainon purpose: pushingmaintriggers the release workflow and auto-updates GitHub installs. Most features here have only been built, not exercised end to end.🤖 Generated with Claude Code