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

design / Inline menu #591

Open
3 tasks
edenvidal opened this issue Jan 29, 2024 · 5 comments
Open
3 tasks

design / Inline menu #591

edenvidal opened this issue Jan 29, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@edenvidal
Copy link
Member

edenvidal commented Jan 29, 2024

  • the "/" menu is a quick way to add things. thinks of it as the "add" menu, but inline - when you type "/" in a text field, a dropdown menu appears. this menu shows different types of content you can add, like text, headings, lists, images, or embeds.
  • you can scroll through the options or start typing to filter and find what you need quickly. for example, typing "/image" will give
  • this is nice https://twitter.com/jh3yy/status/1778948403243725283

Image

@atulbhatt-system32
Copy link
Contributor

@edenvidal For now we don't have any direct typing experience in stage. We can only type when in content-editable mode. So how do you think we should carry on with the "/" menu? Shall we just pop up a menu like cmdk menu shows?

@atulbhatt-system32 atulbhatt-system32 added this to the UX and Enhancements milestone Feb 2, 2024
@atulbhatt-system32 atulbhatt-system32 added the question Further information is requested label Feb 2, 2024
@atulbhatt-system32 atulbhatt-system32 removed the question Further information is requested label Feb 15, 2024
@edenvidal
Copy link
Member Author

@atulbhatt-system32 can't we display the menu on stage? like for every time someone hit "/" ?

@atulbhatt-system32
Copy link
Contributor

atulbhatt-system32 commented Feb 27, 2024

yes @edenvidal we can do it like cmd+k by pressing "/"

@atulbhatt-system32
Copy link
Contributor

How is it different from pressing "A" at @edenvidal

What do you mean by inline?

Currently "A" also works kinda inline. It adds new node based on which node is currently selected.

@edenvidal
Copy link
Member Author

@atulbhatt-system32, you're right. It differs from pressing A. the justification is the experience of adding content without context switching.

It is probably worth mentioning that:

  • the exact representation of the same data fuels the "a" menu.
  • no "a" is available while writing content, so "/" works in this case.
  • everything that comes after the "/" is a search/filter for the inline menu.

@atulbhatt-system32 atulbhatt-system32 added the enhancement New feature or request label Apr 15, 2024
@edenvidal edenvidal changed the title Stage - Inline menu design-mode - Inline menu Apr 16, 2024
@edenvidal edenvidal changed the title design-mode - Inline menu design / Inline menu Apr 16, 2024
@edenvidal edenvidal changed the title design / Inline menu design / Inline menu Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Idea
Development

No branches or pull requests

3 participants