Skip to content
Closed
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
384ca97
feat(file-preview): add markdown workspace editing
edgarsskore Mar 24, 2026
fc40ddd
fix(file-preview): remove gap below short markdown previews, tune con…
edgarsskore Mar 27, 2026
8186579
Merge branch 'main' into feat/md-document-editor
edgarsskore Apr 7, 2026
cf10d0e
fix(file-preview): make markdown links clickable in edit mode and sto…
edgarsskore Apr 7, 2026
670ea79
chore: drop unrelated package-lock churn
edgarsskore Apr 8, 2026
ee0f9b1
refactor(file-preview): restructure markdown editor, fix toolbar cons…
edgarsskore Apr 9, 2026
4738477
revert: restore README.md to pre-edit state
edgarsskore Apr 9, 2026
992a733
docs: document File Preview UI and markdown editor in README
wonderwhy-er Apr 14, 2026
4c4f474
docs: add Directory Browser subsection to File Preview UI
wonderwhy-er Apr 14, 2026
8fd8f94
feat(file-preview): always-edit markdown, source-preserving WYSIWYG, …
edgarsskore Apr 15, 2026
5ce649b
fix(file-preview): handle Enter key directly in source, fix edit prev…
edgarsskore Apr 15, 2026
9356981
refactor(file-preview): replace contenteditable markdown editor with …
edgarsskore Apr 16, 2026
b63b0de
refactor(file-preview): clean up dead state and hot-path allocations …
edgarsskore Apr 16, 2026
724766e
fix(file-preview): skip URL-path refresh and drop redundant autosave …
edgarsskore Apr 16, 2026
ff76e25
feat(file-preview): track markdown editor usage
edgarsskore Apr 16, 2026
d960122
test(edit-block): update assertions to new preview-return contract
wonderwhy-er Apr 17, 2026
d9c15a3
fix(file-preview): detect edit_block soft-failures and reload from disk
wonderwhy-er Apr 18, 2026
b31915b
feat(file-preview): show conflict dialog when external changes are de…
wonderwhy-er Apr 18, 2026
a66f873
test(markdown-preview): add structuredContent to edit_block success m…
wonderwhy-er Apr 18, 2026
8e0b27a
Merge remote-tracking branch 'origin/main' into feat/md-document-editor
wonderwhy-er Apr 18, 2026
4dd0b36
fix(file-preview): apply each save hunk independently and report hone…
wonderwhy-er Apr 19, 2026
1d5014a
feat(file-preview): debounced autosave while typing
edgarsskore Apr 20, 2026
b778ac0
fix(file-preview): preserve markdown source in editor
edgarsskore Apr 26, 2026
37e0777
Merge origin/main into feat/codemirror-markdown-editor
edgarsskore Apr 26, 2026
80bcb11
fix(file-preview): address markdown editor PR comments
edgarsskore Apr 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,279 changes: 321 additions & 1,958 deletions package-lock.json

Large diffs are not rendered by default.

16 changes: 6 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"bump": "node scripts/sync-version.js --bump",
"bump:minor": "node scripts/sync-version.js --bump --minor",
"bump:major": "node scripts/sync-version.js --bump --major",
"prebuild": "npm run clean",
"build": "tsc && shx cp setup-claude-server.js uninstall-claude-server.js track-installation.js dist/ && shx chmod +x dist/*.js && shx mkdir -p dist/data && shx cp src/data/onboarding-prompts.json dist/data/ && shx mkdir -p dist/remote-device/scripts && shx cp src/remote-device/scripts/blocking-offline-update.js dist/remote-device/scripts/ && node scripts/build-ui-runtime.cjs",
"watch": "tsc --watch",
"start": "node dist/index.js",
Expand Down Expand Up @@ -84,13 +85,14 @@
"file-operations"
],
"dependencies": {
"@codemirror/commands": "^6.10.3",
"@codemirror/lang-markdown": "^6.5.0",
"@codemirror/state": "^6.6.0",
"@codemirror/view": "^6.41.1",
"@lezer/markdown": "^1.6.3",
"@modelcontextprotocol/sdk": "^1.9.0",
"@opendocsg/pdf2md": "^0.2.2",
"@supabase/supabase-js": "^2.89.0",
"@tiptap/core": "^3.22.3",
"@tiptap/extension-image": "^3.22.3",
"@tiptap/pm": "^3.22.3",
"@tiptap/starter-kit": "^3.22.3",
"@vscode/ripgrep": "^1.15.9",
"cross-fetch": "^4.1.0",
"exceljs": "^4.4.0",
Expand All @@ -99,17 +101,11 @@
"glob": "^10.3.10",
"highlight.js": "^11.11.1",
"isbinaryfile": "^5.0.4",
"markdown-it": "^14.1.0",
"md-to-pdf": "^5.2.5",
"open": "^10.2.0",
"pdf-lib": "^1.17.1",
"pizzip": "^3.2.0",
"remark": "^15.0.1",
"remark-gfm": "^4.0.1",
"remark-parse": "^11.0.0",
"sharp": "^0.34.5",
"tiptap-markdown": "^0.9.0",
"unified": "^11.0.5",
"unpdf": "^1.4.0",
"zod": "^3.24.1",
"zod-to-json-schema": "^3.23.5"
Expand Down
68 changes: 0 additions & 68 deletions src/ui/file-preview/src/components/markdown-renderer.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/ui/file-preview/src/markdown/conflict-dialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* The "file changed on disk" conflict resolver.
*
* Shown when saveDocument detected that disk differs from what the editor
* thought it had. The editor has already re-synced its sourceContent to the
* thought it had. The editor has already re-synced its disk baseline to the
* fresh disk content with keepDraft: true — so the dialog's two actions map
* onto concrete state transitions:
*
Expand Down
Loading
Loading