7 Commits

Author SHA1 Message Date
b045758ebc bugfix 2026-05-06 07:59:57 +08:00
f860d86c00 fix: replace background with bgcolor, unwrap widgettype:Page to promote subwidgets to top level 2026-05-06 07:48:50 +08:00
cbbc179491 feat: add module menu.ui files and update main menu to use submenu format
- Create menu.ui for each module (customer_management, opportunity_management, contract_management, financial_management, workflow_approval, unified_dashboard)
- Update main app index.ui to use submenu: "{{entire_url('/module/menu.ui')}}" format for each module menu item
- Each menu.ui contains CRUD items for all module tables plus other UI/DSpy functionality
2026-05-05 21:33:46 +08:00
fe5bb67d1c fix: flatten style to options, remove invalid actiontype, fix Button/Text widget properties
- Flatten nested style objects directly into options (bricks doesn't recognize 'style')
- Remove invalid 'formsubmit' actiontype from login.ui binds
- Text/Title use 'text', Button uses 'label'
- All paths use {{entire_url()}}
2026-05-05 19:35:58 +08:00
282c1780ba fix: Text widgets use 'text' not 'label', Button widgets use 'label' not 'text
Per bricks-framework specification:
- Text/Title controls: use 'text' for non-i18n text, 'otext'+'i18n:true' for i18n
- Button controls: use 'label' for button display text
2026-05-05 19:28:38 +08:00
21cbd1b2fb fix: use {{entire_url()}} for all Menu url paths in index.ui and login.ui
- Menu items now use {{entire_url('/module')}} instead of hardcoded paths
- Iframe src also uses {{entire_url()}}
- Register button in login.ui uses {{entire_url('/rbac/user/register.ui')}}
- Removed unnecessary binds for Menu widget (Menu handles click internally)
2026-05-05 16:15:34 +08:00
e7c6ec548d bugfix 2026-05-05 15:21:05 +08:00