blocksuite icon indicating copy to clipboard operation
blocksuite copied to clipboard

Add a "toggle list" option to slash list command

Open byxhy opened this issue 1 year ago • 6 comments

Description

The default slash command has many useful options, such as Text, List and Pages... There already have bulleted list, numbered list and to-do list, if it has the toggle list, it will be very helpful.

Use case

When we have many blocks on the same page, if we can hide the details by triggering the "toggle list", it will save a lot of space on that page.

Anything else?

No response

Are you willing to submit a PR?

  • [ ] Yes I'd like to help by submitting a PR!

byxhy avatar Dec 31 '23 03:12 byxhy

toggle

byxhy avatar Dec 31 '23 03:12 byxhy

Issue Status: 💬 To be Discussed

💬 To be Discussed

We need some time to discuss the issue.

This is an automatic reply by the bot.

affine-issue-bot[bot] avatar Mar 11 '24 15:03 affine-issue-bot[bot]

I checked this feature in latest BETA version, there is still no toggle list feature so far.

byxhy avatar Mar 12 '24 14:03 byxhy

@byxhy Sorry, yesterday I closed this issue by mistake while dealing with issues that has been inactive for a long time.

I'll reopen it now and I'll discuss your suggestion with the product team tomorrow.

EYHN avatar Mar 12 '24 15:03 EYHN

In my personal opinion, adding this command in the slash menu may not be appropriate, maybe we can add a shortcut key for toggle list.

EYHN avatar Mar 12 '24 15:03 EYHN

I would like to see "custom toggle" whether in form of command-slash menu or shortcut key. In my case, I'd like to apply toggle on headers.

houshasen avatar May 12 '24 14:05 houshasen

Our list is now toggleable, and can be invoked from the slash menu

https://github.com/user-attachments/assets/ec0f9ff1-b2dd-4ac8-8736-c201d3c40256

hwangdev97 avatar Nov 13 '24 14:11 hwangdev97