Skip to content

[pull] develop from marktext:develop#103

Merged
pull[bot] merged 8 commits into
code:developfrom
marktext:develop
Jun 26, 2026
Merged

[pull] develop from marktext:develop#103
pull[bot] merged 8 commits into
code:developfrom
marktext:develop

Conversation

@pull

@pull pull Bot commented Jun 26, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Jocs and others added 8 commits June 26, 2026 18:54
…es (#4740)

Apply .github/COMMENTING-GUIDELINES.md to every Claude-authored comment in the
tree; remove/rewrite 74 comments across 50 files that restate code, echo a
symbol name, are pure noise, or have gone stale. Comment-only changes.

- refactor(muya): drop name-echo labels + a duplicate JSDoc in the engine
- refactor(desktop): drop comments that restate code, names, or are stale
- test: remove stale comments that contradict now-passing tests
- test: drop comments that restate the adjacent assertion

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* fix: normalize HTML task-list paste

* fix: close clipboard task-list e2e test
* fix: preserve bare URL HTML links on paste

* fix: preserve bare URL links only without autolink boundaries

* fix: align bare URL paste fallback with autolink tokenizer
* fix: preserve whitespace-only plain text paste

* fix: preserve inline spaces from rich clipboard
* fix: preserve nested HTML lists under ordered parents

* fix: close clipboard nested-list e2e test
…4697)

* fix: prevent nested empty list items from becoming setext headings

* fix: avoid setext ambiguity for nested empty list items
* fix: preserve empty task list items when parsing markdown

* fix: satisfy lint for empty task checkbox regex

* fix: handle empty task list item edge cases

* fix: resolve empty task item merge regressions

* fix: satisfy import order lint for empty task tests
The directory-tree watcher inherited chokidar's `awaitWriteFinish`
(stabilityThreshold 1000ms), which defers `add`/`change` events until the
file size settles. That protection exists for #1043, where an external
editor saving an *open* file could make MarkText reload partial/empty
content. But only the file watcher reloads file CONTENT on change; the
directory watcher just lists nodes and re-sorts by mtime, and the content
it loads on `add` is consumed only for MarkText's own freshly-created
empty file. So the deferral gave the directory watcher no real protection
while delaying every new file's appearance in the sidebar by ~1s.

Apply `awaitWriteFinish` only to the file watcher. New files (and the
"New File" command) now appear in the sidebar immediately, and the #1043
protection for open files is unchanged.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@pull pull Bot locked and limited conversation to collaborators Jun 26, 2026
@pull pull Bot added the ⤵️ pull label Jun 26, 2026
@pull
pull Bot merged commit 750f920 into code:develop Jun 26, 2026
12 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants