codeconsole opened a new pull request, #15987:
URL: https://github.com/apache/grails-core/pull/15987
## Summary
Two related create-app UI updates for the generated welcome page, targeting
`8.0.x`:
1. **Bump the managed jQuery webjar to 4.0.0.** `jquery.version`
(`org.webjars.npm:jquery`) goes from `3.7.1` to `4.0.0` in both BOM version
maps in `dependencies.gradle`. The Forge and web-profile create-app templates
reference the webjar without an explicit version, so generated applications
inherit `4.0.0` from the BOM automatically.
2. **Enhance the create-app welcome page.** Port the welcome-page
improvements to both the Forge templates
(`grails-forge-core/src/main/resources`) and the profile skeletons
(`grails-profiles`) so they stay in lockstep:
- A **"jump to id"** control on controllers that expose a `show` action,
navigating to `/controller/show/{id}`. It progressively enhances a plain `GET`
fallback, and is shown on small screens or on row hover/focus at larger sizes.
- A **navbar controllers filter** that appears only once the controller
list is long enough to warrant it, filtering the dropdown in place, alongside a
collapsible navbar toggler.
- New i18n keys (`welcome.show.*`, `layout.nav.toggle`) across all
bundled locales.
## Notes
- jQuery 4.0.0 is a major release. The generated welcome page only uses
jQuery for the small fade behaviour in `application.js`; the new navbar filter
and show-by-id controls are plain vanilla JS with no jQuery dependency.
- The Forge and profile welcome-page templates were kept byte-identical to
the reference application they were developed against.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]