Skip to content

feat: add a mod flag to link follow payloads - #450

Draft
ocavue wants to merge 6 commits into
masterfrom
feat/follow-mod-flag
Draft

feat: add a mod flag to link follow payloads#450
ocavue wants to merge 6 commits into
masterfrom
feat/follow-mod-flag

Conversation

@ocavue

@ocavue ocavue commented Aug 7, 2026

Copy link
Copy Markdown
Member

The wikilink/tag/file/link follow payloads now carry a required mod: boolean, true when the activation held /Ctrl beyond its own trigger (a modifier click, or a modifier Enter on a selected atom unit), so hosts can map it to an alternate open such as a new window.

@vercel

vercel Bot commented Aug 7, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
meowdown Ready Ready Preview Aug 7, 2026 7:34am

@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 8221a1d0-e586-43b2-b40c-c5e98e3b9830

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@pkg-pr-new

pkg-pr-new Bot commented Aug 7, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@meowdown/core@450
npm i https://pkg.pr.new/@meowdown/markdown@450
npm i https://pkg.pr.new/@meowdown/react@450

commit: 694afec

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 93.16% 4687 / 5031
🔵 Statements 90.87% 5268 / 5797
🔵 Functions 90.64% 1134 / 1251
🔵 Branches 86.42% 3367 / 3896
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/core/src/index.ts 0% 0% 0% 0%
packages/core/src/extensions/file-click.ts 84.21% 62.5% 100% 100% 20, 71, 73
packages/core/src/extensions/follow-link.ts 96.96% 97.29% 100% 96.96% 50
packages/core/src/extensions/link-click.ts 100% 100% 100% 100%
packages/core/src/extensions/list.ts 91.22% 89.52% 93.61% 91.07% 177-179, 223, 228, 233, 238, 260-264, 443, 448
packages/core/src/extensions/tag-click.ts 100% 75% 100% 100%
packages/core/src/extensions/wikilink-click.ts 85.71% 75% 83.33% 91.66% 43, 74
packages/core/src/utils/is-mod-event.ts 100% 50% 100% 100%
packages/react/src/components/link-menu.tsx 92.77% 86.95% 91.3% 93.58% 73, 108-114, 281
packages/react/src/components/markdown-view.tsx 95.21% 87.66% 97.29% 98.9% 204, 208, 268, 317, 319, 382, 385, 456, 607, 656
Generated in workflow #1772 for commit 694afec by the Vitest Coverage Report Action

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