Should we improve the default UI/UX for generated applications in Grails 8 #15192
Replies: 3 comments 2 replies
-
|
Yes, this should definitely be on the roadmap for 8 🚀 |
Beta Was this translation helpful? Give feedback.
-
|
It would be cool, if start.grails.org would let you choose what theme your default project would create. That would be a new touch. |
Beta Was this translation helpful? Give feedback.
-
|
I believe this is a valuable opportunity to modernize the developer experience without sacrificing grails core principles. Freshly generated application includes bootstrap with minimal styling, you can apply fields plugin and the scaffolding system, but I think they lack the flexibility needed to seamlessly apply third-party libraries or deeper customization (must say that I haven't worked with fields or scaffolding for a long time). This approach works, but it remains limited, and it creates a noticeable gap when compared to the first-run experience offered by other frameworks. From my perspective, grails should css-framework-agnostic. Forcing a specific styling stack can introduce unnecessary dependencies, complicate the integration of external libraries and discourage teams that prefer alternative tools. That said, I also believe many developers would benefit from having an optional, opinionated default UI layer that accelerates initial development, provides a clear structure for layouts and forms, and establishes a baseline of UX consistency. Additionally, I would strongly consider integrating Spring Security UI, the functionality it provides is essential for rapid application development. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently generated applications plus core plugins including fields and scaffolding generate a fairly stock Bootstrap 5 based design.
There are a number of open source themes which could be incorporated in generated applications to provide an improved UI/UX for generated applications.
Examples (all MIT licensed, some have pro/paid version, but would be unnecessary for a simple generated Grails app):
https://github.com/ColorlibHQ/AdminLTE
https://github.com/coreui/coreui-free-bootstrap-admin-template
https://github.com/tabler/tabler
https://github.com/adminkit/adminkit
https://github.com/ColorlibHQ/gentelella
Or we could go further moving from Bootstrap to Tailwind (all MIT licensed, some have pro/paid version, but would be unnecessary for a simple generated Grails app):
https://github.com/themesberg/flowbite-admin-dashboard
https://github.com/themesberg/tailwind-dashboard-windster
https://github.com/htmlstreamofficial/preline
https://github.com/TailAdmin/tailadmin-free-tailwind-dashboard-template
https://github.com/ColorlibHQ/gentelella
https://github.com/estevanmaito/windmill-dashboard?tab=readme-ov-file
Beta Was this translation helpful? Give feedback.
All reactions