Skip to content

feat(export): show completion notices with file location actions - #745

Merged
murongg merged 1 commit into
v2from
feature/744-export-feedback
Sep 23, 2026
Merged

murongg merged 1 commit into
v2from
feature/744-export-feedback

Conversation

@murongg

@murongg murongg commented Sep 22, 2026

Copy link
Copy Markdown
Collaborator

Exported documents previously had no completion feedback, and HTML/PDF save failures were silently ignored. Desktop exports now show a bottom-right notice with the actual saved filename and a Show in folder action. The notice lasts 10 seconds and can be dismissed.

Applies to HTML, PDF, Markdown bundles, DOCX, EPUB, and LaTeX. Cancelled saves remain silent; failures are reported, including folder-opening failures. Pandoc setup guidance is preserved. Browser download/print results do not trigger a local-file success notice because they do not confirm a saved file. Includes translations for all 11 supported languages.

Closes #744.

Validation

  • Regression tests first reproduced 9 missing-feedback failures.
  • corepack pnpm --filter @markra/app exec vitest run src/App.test.tsx src/lib/app-toast.test.ts src/lib/document-export.test.ts src/components/MarkdownExportDocument.test.tsx -t 'export|Export|Pandoc|appToast' — 52 passed.
  • corepack pnpm --filter @markra/shared exec vitest run src/i18n/index.test.ts --environment jsdom --globals — 5 passed.
  • corepack pnpm --filter @markra/app build — passed.
  • corepack pnpm --filter @markra/app typecheck:test — passed.
  • corepack pnpm --filter @markra/desktop build — passed, including vendor chunk verification.
  • git diff --check — passed.

Native desktop click-through QA was not run. The existing notification component and native file-manager command are reused; no native export implementation changed.

@vercel

vercel Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
markra-web Ready Ready Preview Sep 22, 2026 10:51pm UTC

@murongg murongg mentioned this pull request Sep 22, 2026
2 tasks done
@murongg
murongg merged commit c7e88f1 into v2 Sep 23, 2026
23 checks passed
@murongg
murongg deleted the feature/744-export-feedback branch September 23, 2026 03:36

This branch was successfully deployed

1 active deployment
Preview — 417597db Deployed Sep 22, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: 导出文件优化

1 participant