Skip to content

Add GSP Layout (SiteMesh) option dropdown#118

Open
codeconsole wants to merge 1 commit into
apache:mainfrom
codeconsole:feat/gsp-layout-option
Open

Add GSP Layout (SiteMesh) option dropdown#118
codeconsole wants to merge 1 commit into
apache:mainfrom
codeconsole:feat/gsp-layout-option

Conversation

@codeconsole

Copy link
Copy Markdown

Adds a "GSP Layout" radio group (SiteMesh 3 default / SiteMesh 2) driven by the new gspLayout select option, and sends gspLayout on the features/diff/preview/create requests plus the generated --gsp-layout CLI arg.

Pairs with the grails-forge backend change (apache/grails-core#15713), where SiteMesh 3 and GSP SiteMesh 2 Layouts become invisible, option-driven defaults. Together they fix the UI glitch where selecting SiteMesh 2 left SiteMesh 3 still shown as an included default — the layout choice is now a single dropdown instead of two conflicting feature cards.

Lint clean; vitest suite green (no snapshot changes).

Render a "GSP Layout" radio group (SiteMesh 3 default / SiteMesh 2) backed
by the new gspLayout select option, and send gspLayout on the features,
diff, preview and create requests (plus the generated --gsp-layout CLI
arg). This replaces the SiteMesh 3 default feature and the GSP SiteMesh 2
Layouts selectable feature, which are now invisible option-driven defaults
in grails-forge, so the layout choice no longer shows as conflicting
feature cards.
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.

1 participant