mirror of
https://github.com/BoostIO/BoostNote-App.git
synced 2026-04-26 21:05:55 +03:00
[PR #1620] Fix embed conversion prompt label for GitHub issues vs PRs #1469
Labels
No labels
android 🤖
assigned to core 🦹
bug 🐛
documentation 📚
documentation 📚
duplicate 🚫
external issue 🔼
external issue 🔼
feature request 🌟
funded on issuehunt 💵
help wanted 🆘
improvement request 🔨
improvement request 🔨
ios 🍎
mobile 📱
needs investigation 🔬
needs more info ℹ️
needs specs 📐
plugin idea 🔌
plugin idea 🔌
poll 🗳️
pull-request
question ❓
rewarded on issuehunt 🎁
security issue 🔑
won’t fix ❌
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/BoostNote-App#1469
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/BoostIO/BoostNote-App/pull/1620
Author: @nicepopo86-lang
Created: 2/17/2026
Status: 🔄 Open
Base:
master← Head:aria/issue-1149-embed-popup-fix📝 Commits (1)
f3e0b17Fix GitHub embed prompt label for issue vs pull request📊 Changes
5 files changed (+26 additions, -12 deletions)
View changed files
📝
src/cloud/components/DocPreview/DocPreviewRealtime.tsx(+1 -1)📝
src/cloud/components/Editor/index.tsx(+6 -3)📝
src/cloud/lib/editor/plugins/pasteFormatPlugin.ts(+8 -3)📝
src/cloud/lib/hooks/editor/docEditor.ts(+5 -2)📝
src/mobile/components/pages/DocEditPage.tsx(+6 -3)📄 Description
Summary\nThis fixes the GitHub URL conversion prompt so it reflects the pasted URL type:\n- -> Embed pull request\n- -> Embed issue\n\nThe previous prompt used a generic action and did not clarify issue vs PR intent. This addresses #1149's request for proper distinction in the embed popup flow.\n\n## Reproduction\n1. Open markdown editor.\n2. Paste a GitHub issue URL ().\n3. Observe conversion popup text.\n\n## Before\n- Prompt action text did not distinguish issue vs PR.\n\n## After\n- Prompt action text is context-aware ( / ).\n\n## Technical changes\n- Extended paste formatter result with optional .\n- Wired through menu callback.\n- Updated cloud editor, doc preview realtime hook path, and mobile doc editor to render the contextual label.\n\n## Validation\n- Static code review of conversion paths in cloud + mobile editor pipelines.\n- Dependency installation for local lint timed out in this environment; code changes are intentionally minimal and type-local.\n
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.