mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 04:46:56 +00:00
[PR #7692] [MERGED] feat: revamp link preivew #8044
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#8044
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/AppFlowy-IO/AppFlowy/pull/7692
Author: @asjqkkkk
Created: 4/7/2025
Status: ✅ Merged
Merged: 4/10/2025
Merged by: @LucasXu0
Base:
main← Head:feat/link_preview📝 Commits (10+)
4e39e66feat: revamp link preivew973a731feat: add convert to menu for link hover menu1d98960feat: add mention link338c676feat: support convert preview to mentionc5fe9fcfeat: add embed link preview1612b87fix: some test erros136e0dbMerge branch 'main' into feat/link_previewe21b48bfix: test errors3eb5b12fix: some UI issues8c3ff9fchore: add test for url📊 Changes
38 files changed (+3564 additions, -167 deletions)
View changed files
📝
frontend/appflowy_flutter/integration_test/desktop/document/document_copy_and_paste_test.dart(+29 -15)➕
frontend/appflowy_flutter/integration_test/desktop/document/document_link_preview_test.dart(+452 -0)📝
frontend/appflowy_flutter/integration_test/desktop/document/document_test_runner_4.dart(+2 -0)📝
frontend/appflowy_flutter/integration_test/desktop/uncategorized/emoji_shortcut_test.dart(+4 -1)📝
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_configuration.dart(+3 -16)📝
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/copy_and_paste/custom_paste_command.dart(+5 -0)📝
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/copy_and_paste/paste_from_html.dart(+2 -0)📝
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/copy_and_paste/paste_from_plain_text.dart(+26 -0)📝
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/desktop_toolbar/link/link_create_menu.dart(+5 -2)📝
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/desktop_toolbar/link/link_hover_menu.dart(+152 -8)➕
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/desktop_toolbar/link/link_replace_menu.dart(+184 -0)➕
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/link_embed/link_embed_block_component.dart(+286 -0)➕
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/link_embed/link_embed_menu.dart(+332 -0)➕
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/link_preview/custom_link_parser.dart(+135 -0)📝
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/link_preview/custom_link_preview.dart(+89 -27)➕
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/link_preview/custom_link_preview_block_component.dart(+204 -0)📝
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/link_preview/link_preview_menu.dart(+173 -75)➕
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/link_preview/paste_as/paste_as_menu.dart(+253 -0)📝
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/link_preview/shared.dart(+172 -1)📝
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mention/mention_block.dart(+16 -0)...and 18 more files
📄 Description
Paste asmenu (URL, Mention, Bookmark, Embed)Convert tomenu(Mention, Bookmark, Embed)Convert tomenu(URL, Bookmark, Embed, Remove Link)More optionsmenu(Mention, URL, Embed, Copy Link, Replace, Reload, Remove Link)More optionsmenu(Alignment, Open link, Replace, Reload, Remove Link)Convert tomenu(Mention, URL, Bookmark)Feature Preview
PR Checklist
Summary by Sourcery
Revamp the link preview functionality in the document editor, introducing a more flexible and feature-rich link preview system with enhanced UI and interaction capabilities.
New Features:
Enhancements:
Chores:
Summary by Sourcery
Revamp the link preview functionality in the document editor, introducing a more flexible and feature-rich link preview system with enhanced UI and interaction capabilities.
New Features:
Enhancements:
Chores:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.