mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 04:46:56 +00:00
[PR #1732] [MERGED] feat: callout #4921
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#4921
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/1732
Author: @abichinger
Created: 1/20/2023
Status: ✅ Merged
Merged: 1/30/2023
Merged by: @LucasXu0
Base:
main← Head:feat/callout📝 Commits (10+)
adce9c2feat: add callout plugin44116e5refactor: add SelectionMenuItem.node factory08bf353feat: add color picker69272e9feat: add popover to callout7bc293efeat: add emoji to callout775d07efix: store tint namef32ca6ffix: remove leading underscores0279efdfix: revert export of editor_entrye97ea89refactor: move color tint names to appflowy_editor0c6edddfix: #1732 only re-insert text node if it's parent is text node too while deleting📊 Changes
15 files changed (+806 additions, -34 deletions)
View changed files
📝
frontend/app_flowy/lib/plugins/document/document_page.dart(+3 -1)📝
frontend/app_flowy/packages/appflowy_editor/lib/l10n/intl_en.arb(+19 -1)📝
frontend/app_flowy/packages/appflowy_editor/lib/src/l10n/intl/messages_all.dart(+27 -26)📝
frontend/app_flowy/packages/appflowy_editor/lib/src/l10n/intl/messages_en.dart(+18 -0)📝
frontend/app_flowy/packages/appflowy_editor/lib/src/l10n/l10n.dart(+180 -0)📝
frontend/app_flowy/packages/appflowy_editor/lib/src/render/selection_menu/selection_menu_widget.dart(+75 -0)📝
frontend/app_flowy/packages/appflowy_editor/lib/src/service/internal_key_event_handlers/backspace_handler.dart(+2 -1)📝
frontend/app_flowy/packages/appflowy_editor_plugins/lib/appflowy_editor_plugins.dart(+3 -1)➕
frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/callout/callout_node_widget.dart(+291 -0)➕
frontend/app_flowy/packages/appflowy_editor_plugins/lib/src/extensions/theme_extension.dart(+56 -0)📝
frontend/app_flowy/packages/appflowy_editor_plugins/pubspec.yaml(+5 -1)📝
frontend/app_flowy/packages/flowy_infra/lib/theme_extension.dart(+44 -0)📝
frontend/app_flowy/packages/flowy_infra/pubspec.lock(+1 -1)📝
frontend/app_flowy/packages/flowy_infra/pubspec.yaml(+2 -2)➕
frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/color_picker.dart(+80 -0)📄 Description
solves: #1661
While implementing this feature i noticed some issues:
FlowyColorPickerinsideflowy_infra_ui.The existing color pickers inside the codebase could be replaced with the new widget
FlowyColorPicker:github.com/AppFlowy-IO/AppFlowy@0100305af0/frontend/app_flowy/packages/appflowy_editor/lib/src/render/toolbar/toolbar_item.dart (L538)github.com/AppFlowy-IO/AppFlowy@0100305af0/frontend/app_flowy/lib/plugins/grid/presentation/widgets/header/type_option/select_option_editor.dart (L68)TextNodeeverytime a child node of the Callout is deleted. To me that looks like a bug, because I don't expect every plugin to override the backspace shortcut.Nodeinside the document, are not consistent. (e.g. the actions of an image look different than the ones of a code block).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.