Skip to content

docs: order presentation profiles and configured order lifecycles - #110

Open
roncodes wants to merge 1 commit into
mainfrom
docs/order-presentation
Open

roncodes wants to merge 1 commit into
mainfrom
docs/order-presentation

Conversation

@roncodes

@roncodes roncodes commented Oct 3, 2026

Copy link
Copy Markdown
Member

Documents the order presentation and configured lifecycle features from fleetbase/fleetops#346 (Fleet-Ops 0.6.71), under a new Fleet-Ops Extension Points section of Extension Development.

Pages

Page Covers
Order Presentation Profiles (fleet-ops/order-presentation) What a profile is and when it applies; registering one; the full profile object; form sections (native names and ExtensionComponent sections, their arguments), detailFields, hiding fields, renaming the route panel; details sections; hiding actions by their built-in ids; prepare/release for drafts; the order-presentation service API; validating profiled orders with order-creation rules; creating the order config; troubleshooting
Configured Order Lifecycles (fleet-ops/configured-order-lifecycles) The meta.lifecycle keys; what changes on create, dispatch, update-activity, cancel; the details menu, board and flow editor; a complete PHP flow; moving orders along; the OrderConfig server methods; limitations
Recipe: Building an Order Type (recipes/building-an-order-type) An end-to-end equipment rental extension: flow and lifecycle, installing the order config, loading it in the console, the profile, form and details sections, a validation rule, and what to expect

Notes for review

  • The action ids are the resource view registry ids (assign-driver, update-activity, view-metadata, …), matched exactly, as merged in #346.
  • The pages state two current gaps rather than paper over them: the public REST API (/v1/orders) doesn't apply lifecycles, and the orders Active filter, live map and metrics assume the default status codes.
  • The form's custom-fields section is left out of the native form section list: in a profiled form it currently renders nothing, because it isn't passed @customFields.
  • Not compile-checked locally; relying on the preview build.

@vercel

vercel Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
fleetbase-io Ready Ready Preview Oct 3, 2026 7:14am UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — dd9bf14e Deployed Oct 3, 2026 by vercel[bot]
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