Skip to content

feat(studio): Mini-ERP entity app templates + marketplace setup prompt#46

Merged
sauterbe merged 1 commit into
mainfrom
feat/mini-erp-studio-templates
Jul 14, 2026
Merged

feat(studio): Mini-ERP entity app templates + marketplace setup prompt#46
sauterbe merged 1 commit into
mainfrom
feat/mini-erp-studio-templates

Conversation

@sauterbe

Copy link
Copy Markdown
Contributor

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:

slug entity icon category
erp-products Product box Stammdaten
erp-customers Customer users Stammdaten
erp-suppliers Supplier truck Stammdaten
erp-offers Offer file Vertrieb
erp-sales-orders SalesOrder cart Vertrieb
erp-delivery-notes DeliveryNote package Logistik
erp-invoices SalesInvoice invoice Finanzen
erp-purchase-orders PurchaseOrder purchase Einkauf

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 render generically from the metadata, so the template carries no per-entity UI. Localized name/summary in de/en/nl and a sidebar icon per app.

Marketplace prompt (library/marketplace/prompt-mini-erp.json)

A prompt item 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 entitybrowser Studio component, per-app icon, and locales pass-through in save_from_template. This library release becomes visible in the product after the next make bump-library in agent-hub-labs.

Testing

  • python scripts/validate_library.py → all 302 items valid.
  • Loaded the templates + prompt through the agent-hub-labs studio/marketplace loaders with XENTRAL_LIBRARY_ROOT pointed at this checkout: all 8 erp-* templates parse (entitybrowser bound, de/en/nl locales, icons) and the prompt-mini-erp item loads and references the template slugs.

Note

manifest.json file-lists/checksums are regenerated at release time (the loader globs the directory), so this PR only adds the JSON sources.

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.
@sauterbe
sauterbe merged commit dfcde6d into main Jul 14, 2026
1 check 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.

1 participant