feat: improve tabs, print, and sidebar polish#77
Merged
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…e, print-only preview - Tab drag-to-reorder: fix dragLeave child-element issue, add dataTransfer.setData and effectAllowed/dropEffect for reliable HTML5 drag; buttons marked draggable=false - No duplicate tabs: loadFile/loadPlainTextFile return early if path already open - Favorites preserved when closing folder (removed setFavorites from handleCloseFolder) - Print (Ctrl+P): @page named margin boxes clear browser date/title/URL headers, page number centered at bottom-center; @media print hides all non-preview elements - Bumps version 1.5.16 → 1.5.17 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…int filename - open-tabs: replace HTML5 DnD with pointer-event drag (Tauri dragDropEnabled intercepts native drag on WebView2, breaking HTML5 dragstart/dragover/drop) - sidebar: hide vertical guide line in favorites section (was rendering as "|" next to file names due to .mdv-rootfolder .mdv-tree::before propagating) - pdf-export: set HTML title to MD filename without extension so browser Save-as-PDF dialog defaults to the document name instead of "marka.md export" - bump 1.5.17 → 1.5.18 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Startup always shows the demo buffer (file content is never reloaded from disk), but activePath was persisted and restored — so the welcome tab and breadcrumb showed the previous session's file name, and Ctrl+S could have overwritten an unrelated file. Stop persisting activePath; start at null. - use-file-session: activePath is plain useState(null), not persisted - storage: drop now-unused lastFile key - pdf-export: fall back to the active tab title (e.g. "untitled") for the save-as-PDF default instead of the literal "marka.md export" - app: pass active tab title into exportPreviewToPdf - bump 1.5.18 → 1.5.19 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…correct On Windows, Ctrl+P prints the app window via WebView2's native handler, and the browser derives the save-as-PDF default filename from document.title — which was the static "marka.md" from index.html, producing "marka.md.pdf". Sync document.title to the active tab's file name (extension stripped) so the exported PDF defaults to the document name on every print path. Falls back to "untitled" on the welcome/empty buffer. - bump 1.5.19 → 1.5.20 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Upstream changes included: - feat: plantuml diagram support (mattenarle10#74) - feat: persist view mode (mattenarle10#73) - fix: hide empty context tray - fix: expose theme menu in reading mode - fix: wait for plantuml preview before opening viewer Version conflicts resolved in favour of fork (1.5.20 > upstream 1.5.10). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add plantuml-encoder dependency (missing from upstream merge) and bump version. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
mattenarle10
approved these changes
Jun 18, 2026
mattenarle10
left a comment
Owner
There was a problem hiding this comment.
thanks for the feature work here. i cleaned the release/version noise out of the branch, kept the window/session defaults intact, and local + ci checks are green.
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.
Summary
Maintainer notes
Testing