You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: add IMAGE datasource properties and PLUGGABLEWIDGET escape hatch
Enhance IMAGE widget documentation in create-page.md skill:
- Add datasource modes table (image, imageUrl, icon)
- Add PLUGGABLEWIDGET syntax examples for setting image source
- Add ALTER PAGE example for replacing existing IMAGE widgets
- Add general PLUGGABLEWIDGET escape hatch section explaining that all
shorthand widgets support full property access via PLUGGABLEWIDGET
Prevents AI agents from incorrectly telling users that image sources
require manual Studio Pro configuration.
Closes#149
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
All shorthand widgets (IMAGE, COMBOBOX, GALLERY, DATAGRID, etc.) are pluggable widgets under the hood. When the shorthand doesn't expose a property you need, use `PLUGGABLEWIDGET 'widget.id' name (properties)` for full access to all widget properties.
874
+
875
+
```sql
876
+
-- Shorthand (common properties only)
877
+
IMAGE imgLogo (Width: 48, Height: 48)
878
+
879
+
-- Full PLUGGABLEWIDGET syntax (all properties available)
Run `mxcli widget docs -p app.mpr` to generate complete property documentation for all pluggable widgets in the project. Output is saved to `.ai-context/skills/widgets/`.
0 commit comments