Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

​Callout Block feature request #6709

Open
1 task
IveTian opened this issue Apr 8, 2024 · 3 comments
Open
1 task

​Callout Block feature request #6709

IveTian opened this issue Apr 8, 2024 · 3 comments
Labels
good first issue Good for newcomers story Features perceivable by end-users type:feat Non-bug feature improvements

Comments

@IveTian
Copy link

IveTian commented Apr 8, 2024

Description

We need a Callout Block to set "important information" or "highlight information" in the Doc and Edgeless.
image

Use case

I already have a Callout Block design draft.

How to insert Callout Block:

The Callout Block will be inserted via Slash Menu.

Callout Block supported operations:

1. Nested Content:

When the user can evoke the Slash Menu in the Callout Block, all Slash Menu Items will be displayed, but only if the user selects Normal Text, Headings, Inline Format (Bold, Italic, Underline, DeleteLine, Inline But only when user selects Normal Text, Headings, Inline Format (Bold, Italic, Underline, DeleteLine, Inline Code, Highlights, Inline Link, Inline's linked Doc) and List, they will be embedded, and when user selects unsupported type, it will be put directly under the Callout Block, and of course, the Callout Block itself supports to be nested up to three times.

2. Change the colour of Callout Block:

Callout Block supports AFFiNE colour system and Dark/Light mode.
image

3.Change the Icon of Callout Block:

image

Anything else?

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!
@IveTian IveTian added the story Features perceivable by end-users label Apr 8, 2024
@affine-issue-bot
Copy link

Issue Status: 🆕 *Untriaged

*🆕 Untriaged

The team has not yet reviewed the issue. We usually do it within one business day.
Docs: https://github.com/toeverything/AFFiNE/blob/canary/docs/issue-triaging.md

This is an automatic reply by the bot.

@hwangdev97
Copy link
Member

please add figma link 🤔

@IveTian
Copy link
Author

IveTian commented Apr 8, 2024

Figma link here:
Callout Block Design

@hwangdev97 hwangdev97 transferred this issue from toeverything/AFFiNE Apr 9, 2024
@hwangdev97 hwangdev97 added the good first issue Good for newcomers label Apr 9, 2024
@Flrande Flrande added the type:feat Non-bug feature improvements label Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers story Features perceivable by end-users type:feat Non-bug feature improvements
Projects
Status: 🆕 *Untriaged
Status: No status
Development

No branches or pull requests

3 participants