Custom History Timeline Components
The Order & Customer detail pages feature a timeline of history entries. Since v1.9.0 it is possible to define custom history entry types - see the HistoryService docs for an example.
You can also define a custom Angular component to render any timeline entry using the registerHistoryEntryComponent function.
Note
Currently it is only possible to define new tabs using Angular components.
Following the example used in the HistoryService docs, we can define a component to render the tax ID verification entry in our Customer timeline:
We can then register this component in the providers.ts file:
Then we need to add the providers.ts file to the uiExtensions array as described in the UI Extensions Getting Started guide.
Was this chapter helpful?
