feat(studio): Mini-ERP entity app templates + marketplace setup prompt#46
Merged
Conversation
Eight built-in Studio templates, one per Basic-core Business Entity (products, customers, suppliers, offers, sales orders, delivery notes, invoices, purchase orders). Each is a single-screen full-page work surface: one entitybrowser bound to the entity — list, detail tabs, inline edit and the entity's own actions all render generically from the metadata, so the template carries no per-entity UI. Localized name and summary (de/en/nl) and a sidebar icon per app. Plus a marketplace 'prompt' item (prompt-mini-erp) whose body sets up the whole Mini-ERP in one go: it installs the eight surfaces from the library and enables them under Cockpits. Requires the entitybrowser component + app icon/locales support shipped in agent-hub-labs #1428.
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.
What
Adds the eight Mini-ERP Studio templates and a marketplace prompt that installs them in one go.
Studio templates (
library/studio/erp-*.json)One built-in per Basic-core Business Entity — order 10–17, platform
web:Each is a single-screen full-page work surface: one
entitybrowserbound to the entity. List, detail tabs, inline edit and the entity's own actions render generically from the metadata, so the template carries no per-entity UI. Localizedname/summaryin de/en/nl and a sidebariconper app.Marketplace prompt (
library/marketplace/prompt-mini-erp.json)A
promptitem whose body sets up the whole Mini-ERP: it installs the eight surfaces from the library and enables them under Cockpits.Depends on
The consuming runtime bits shipped in agent-hub-labs #1428 (merged): the
entitybrowserStudio component, per-appicon, andlocalespass-through insave_from_template. This library release becomes visible in the product after the nextmake bump-libraryin agent-hub-labs.Testing
python scripts/validate_library.py→ all 302 items valid.XENTRAL_LIBRARY_ROOTpointed at this checkout: all 8erp-*templates parse (entitybrowser bound, de/en/nl locales, icons) and theprompt-mini-erpitem loads and references the template slugs.Note
manifest.jsonfile-lists/checksums are regenerated at release time (the loader globs the directory), so this PR only adds the JSON sources.