Skip to content

feat: expose GitHub Alerts settings and desktop exports - #5776

Merged
Jocs merged 12 commits into
developfrom
feat/github-alerts-desktop
Oct 17, 2026
Merged

Jocs merged 12 commits into
developfrom
feat/github-alerts-desktop

Conversation

@Jocs

@Jocs Jocs commented Oct 17, 2026 •

Copy link
Copy Markdown
Member

Depends on #5775. Part 3/4 of GitHub Alerts support, split from #5770. Related to #3764 and #1240. Menu integration follows in #5771.

Summary

Expose the Muya support from #5775 through a default-off desktop preference and the existing export integrations.

  • Add the preference schema/default, shared types, Pinia state, settings switch, search labels and translations for all 12 locales.
  • Initialize and update Muya through the same option/outline-refresh flow used by existing Markdown extensions, without special history or selection handling.
  • Forward the preference to HTML/PDF export and Pandoc, enabling Pandoc's native alerts extension only when supported.
  • Export current source-mode contents and cover preference switching, source round trips and native HTML/PDF generation.

Paragraph, front-menu and Quick Insert entries are deliberately left to #5771. This PR adds no Muya source changes.

Validation

  • Full desktop unit suite: 1,107 passed.
  • Native Electron preference/source-mode/HTML/PDF export E2E passed.
  • Full desktop/Muya type check, desktop lint and build:unpack passed.
  • The diff contains only desktop integration; engine parsing and editing are reviewed in the preceding PRs.

Local tests used an isolated worktree with temporary Vitest access settings for shared dependencies. Those settings are not committed.

Review order

#5774 (syntax/conversion) → #5775 (editor behavior) → this PR (desktop integration) → #5771 (menus).

Merge each predecessor first, then retarget its immediate follow-up to develop.

…-editing

# Conflicts:
#	packages/muya/src/utils/githubAlerts.ts
@github-actions

github-actions Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Build artifacts for PR #5776:

Run: https://github.com/marktext/marktext/actions/runs/39041732420

Artifact Size Link
marktext-linux 667.5 MB Download
marktext-macos-x64 313.6 MB Download
marktext-windows-x64 299.1 MB Download
marktext-macos-arm64 300.3 MB Download
marktext-windows-arm64 291.0 MB Download

@Jocs
Jocs changed the base branch from feat/github-alerts-editing to develop October 17, 2026 14:51
@Jocs
Jocs merged commit 989a32c into develop Oct 17, 2026
10 of 13 checks passed
@Jocs Jocs mentioned this pull request Oct 18, 2026
@Jocs
Jocs deleted the feat/github-alerts-desktop branch October 23, 2026 08:32
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.

1 participant