Skip to content

Route addon data access through the SDK and bind compute and status from struct tags. - #133

Merged
ATRIwOX merged 5 commits into
devfrom
platform
Oct 27, 2026
Merged

ATRIwOX merged 5 commits into
devfrom
platform

Conversation

@ATRIwOX

@ATRIwOX ATRIwOX commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Addons read and write through sumeru/core/sdk. The kernel keeps search, write, copy, defaults, and object actions; modules no longer call the ORM for those.
  • Window actions carry target, record, limit, groups, and view bindings. Menus honor active and group removal, and a user's home action opens on login.
  • compute=<function> binds a same-package function at generate time and checks the return value against the field type. A selection tagged status is the status bar; its constants are the stages, and a stage click writes that value.

Test plan

  • cd sumeru && make
  • Open a form whose selection field is tagged status and click a stage; the value saves and the workflow check still runs
  • Confirm a module compute registered only by compute=<function> fills the field on read, and a wrong return type fails with the field name in the error
  • Sign in as a user with a home action and confirm that action opens
  • Confirm a menu restricted by group is hidden for a user outside that group

@ATRIwOX
ATRIwOX requested a review from a team October 27, 2026 13:10
@ATRIwOX
ATRIwOX merged commit d4d6e59 into dev Oct 27, 2026
6 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