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

Visual Controls to manipulate properties of elements in the Visual Editor #288

Open
leandrocp opened this issue Oct 24, 2024 · 0 comments
Open
Labels
area:visual-editor Impacts Page Visual Editor (Visual Page Builder) enhancement New feature or improvement proposal Idea in research phase roadmap Priority issues that will be released in the short term ux Requires UX or UXD

Comments

@leandrocp
Copy link
Contributor

This is a big lift for the Visual Editor but a very much needed feature to unblock users to manipulates attributes in a friendly way.

Currently the only way to change the style of components and elements in the page is adding or removing Tailwind classes, which requires UX knowledge. For example one should add the class text-red-500 to change a text color, but that's far from ideal. We can't ask our users to learn Tailwind.

So this proposal is to add Visual Controls to manipulate such attributes, either HTML attributes or Phoenix Component attributes. For example the Visual Editor should display a color wheel to manipulate colors and then generate the proper classes, or for example display a list of fonts to change fonts, or controls to change positioning and spacing to resize elements. There are many possible visual controls that we'll need to map. Besides that we also need to support visual controls for components, which means we need to expose which visual control should be enabled for each kind of attribute, for example let's suppose there's a "carousel"component to display images and one of the atts is "limit" of type number, it could be displayed as a range input instead of text input.

@leandrocp leandrocp added enhancement New feature or improvement proposal Idea in research phase area:visual-editor Impacts Page Visual Editor (Visual Page Builder) ux Requires UX or UXD roadmap Priority issues that will be released in the short term labels Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:visual-editor Impacts Page Visual Editor (Visual Page Builder) enhancement New feature or improvement proposal Idea in research phase roadmap Priority issues that will be released in the short term ux Requires UX or UXD
Projects
None yet
Development

No branches or pull requests

1 participant