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

live-preview: Add a button into the Component List to add a new component and to switch over to it #5155

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hunger
Copy link
Member

@hunger hunger commented Apr 30, 2024

We need this functionality, but I do not want it in the upcoming release: It is pretty confusing that it switches to a different component -- which hides all the current work!

We need to have some information in the current component in preview on screen for that to be less surprising and offer a way to get back to the "main preview" somehow.

font-weight: 800;
}
Button {
text: "+";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a label, not just an icon (which is what the + is).

https://uxmyths.com/post/715009009/myth-icons-enhance-usability

An alternative pattern is a new edit that acts as name entry and action button when accepted is invoked (that’s what we should use in our property editor).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not plan to use this as is. The UI is a bit clunky and we need some more features e.g. a way to export and rename the newly added component as well as show which component is currently displayed and why.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants