Skip to content

feat: model inherit engine, collection bar UX, and standardized addon layout - #29

Merged
CHINMAYVIVEK merged 2 commits into
mainfrom
dev
Aug 31, 2026
Merged

feat: model inherit engine, collection bar UX, and standardized addon layout#29
CHINMAYVIVEK merged 2 commits into
mainfrom
dev

Conversation

@CHINMAYVIVEK

Copy link
Copy Markdown
Contributor

Summary

  • Model inheritance (inherit=) — ORM registration, schema sync, and a live contacts demo extending core.partner with customer_rank plus xpath form inherit.
  • Collection control bar UX — Chip-style filter/group buttons, inline filter tags in the search bar, and clearer search icon layout in the SWC workspace.
  • Kernel addon layout standardization — Split bundled base, mail, and automation views into per-model files; convert window actions to <action> shorthand; consolidate menus in menus.xml (loaded last); add hooks.go for automation and sumeru_ai; document layout in MODULE_STANDARD.txt and addons/README.md.

Commits (2)

Commit Description
793300f Model inherit engine, contacts partner demo, collection bar redesign, architecture-layers doc
33ff1a0 Standardize core addon XML layout across base, mail, automation

Notable changes

Model inherit

  • core/modelreg/register.go, core/orm/model_extend.go, core/modelmeta/model_spec.go
  • Demo: addons/contacts/models/partner_extend.go, views/core_partner_form_inherit_views.xml
  • Tests: core/modelreg/inherit_test.go, test/orm/partner_extend_test.go

Workspace / SWC

  • core/swc/src/views/shared/collection-bar-host.ts, view-toolbar.ts
  • core/engine/assets/css/sumeru-workspace.css
  • View-tab probing fixes in workspace_tabs.go and ui_view_lookup.go

Addon layout

  • base: per-model *_form_views.xml / *_list_views.xml, split actions, menus last
  • automation / mail: security XML, split views, hooks.go where applicable
  • Updated core/module/addon_template/MODULE_STANDARD.txt

Test plan

  • make generate && go test ./... in repo root
  • cd core/swc && npm test (collection control bar tests)
  • Install/update contacts; confirm customer_rank column and form field appear
  • Workspace list view: filter chips, group chips, inline filter tags in search bar
  • -u base (or fresh install): all base/mail/automation menus and views load without XML errors
  • Regression: geo/i18n/platform menus still resolve (test/module/geo_menu_sync_test.go)

Introduce model inherit= registration with contacts partner demo and
architecture docs. Fix workspace view-tab probing and ui_view lookup
logging. Redesign the collection toolbar with chip filter/group buttons,
inline filter tags in the search bar, and a clearer search icon layout.
Split bundled base, mail, and automation views into per-model files;
convert window actions to <action> shorthand; consolidate base menus
in menus.xml (loaded last). Add hooks.go for automation and sumeru_ai,
security XML for mail/automation, and contacts/base READMEs. Document
the standard in MODULE_STANDARD.txt and addons/README.md.
@CHINMAYVIVEK CHINMAYVIVEK self-assigned this Aug 31, 2026
@CHINMAYVIVEK
CHINMAYVIVEK merged commit e6ee78a into main Aug 31, 2026
8 checks passed
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.

2 participants