[MGNLUI-5653] Configure CSS for a declarative layout Created: 06/Feb/20 Updated: 10/Mar/21 Resolved: 05/Mar/21 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Story | Priority: | Neutral |
| Reporter: | Christopher Zimmermann | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Release notes required: |
Yes
|
| Documentation update required: |
Yes
|
| Date of First Response: | |
| Epic Link: | Declarative layout |
| Description |
|
User Story: As a developer I want to provide a CSS file for a "declarative form layout" without requiring Java development, so that I can quickly and easily make changes without needing to know Java. Details: This feature is valuable and gives UX teams and devlopers control over forms which is very often requested. It supports configuring an HTML file which specifies the layout, but currently you must use Java to specifiy which CSS file to use. It would be ideal if I can simply configure which css file to use on the definition itself. Then anyone can do it, and changes are picked up instantly.
Imagining something like this: layout: class: info.magnolia.ui.framework.layout.DeclarativeLayoutDefinition template: /contacts/layouts/edit-contact.html style: /contacts/layouts/edit-contact.css
|
| Comments |
| Comment by Roman Kovařík [ 05/Mar/21 ] |
|
Closing as doesn't seems to be supported by vaadin https://vaadin.com/blog/declarative-ui |