Skip to main content

Add proposals to domains and systems

View as Markdown

A domain or a system can list the proposals that belong to it. EventCatalog then shows these proposals on a Proposals page for the domain or the system.

The Proposals page of the Ordering domain. Quick Reference in the sidebar has a Proposals link. The table shows each proposal with its status, version and summary

Add the proposals field​

Add the proposals field to the frontmatter of the domain or the system. Give the id of each proposal:

domains/Ordering/index.mdx
---
id: ordering
name: Ordering
version: 1.0.0
proposals:
- id: split-orders-across-warehouses
- id: graphql-gateway-for-checkout
---

EventCatalog links to the latest version of each proposal.

The Proposals page​

When a domain or a system lists proposals, Quick Reference in its sidebar shows a Proposals link. The link opens a table of the proposals.

The table shows the name, status, version and summary of each proposal. Use Filter to search the table. Select a proposal to open its page.

EventCatalog does not show the Proposals link or the page in these conditions:

  • The domain or the system does not have a proposals field.
  • No proposal in the proposals field is in the catalog.

The Proposals page is at /docs/domains/{domain-id}/{version}/proposals for a domain, and at /docs/systems/{system-id}/{version}/proposals for a system.

info

The location of a proposal folder does not link the proposal to a domain or a system. A proposal in domains/Ordering/proposals/ shows on the Ordering Proposals page only when the Ordering domain lists it in proposals.

Next steps​