feat: model inherit engine, collection bar UX, and standardized addon layout - #29
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
inherit=) — ORM registration, schema sync, and a livecontactsdemo extendingcore.partnerwithcustomer_rankplus xpath form inherit.base,mail, andautomationviews into per-model files; convert window actions to<action>shorthand; consolidate menus inmenus.xml(loaded last); addhooks.goforautomationandsumeru_ai; document layout inMODULE_STANDARD.txtandaddons/README.md.Commits (2)
793300f33ff1a0Notable changes
Model inherit
core/modelreg/register.go,core/orm/model_extend.go,core/modelmeta/model_spec.goaddons/contacts/models/partner_extend.go,views/core_partner_form_inherit_views.xmlcore/modelreg/inherit_test.go,test/orm/partner_extend_test.goWorkspace / SWC
core/swc/src/views/shared/collection-bar-host.ts,view-toolbar.tscore/engine/assets/css/sumeru-workspace.cssworkspace_tabs.goandui_view_lookup.goAddon layout
base: per-model*_form_views.xml/*_list_views.xml, split actions, menus lastautomation/mail: security XML, split views,hooks.gowhere applicablecore/module/addon_template/MODULE_STANDARD.txtTest plan
make generate && go test ./...in repo rootcd core/swc && npm test(collection control bar tests)contacts; confirmcustomer_rankcolumn and form field appear-u base(or fresh install): all base/mail/automation menus and views load without XML errorstest/module/geo_menu_sync_test.go)