Description
Please list the related package(s)
retail-ui-extensions-react
retail-ui-extensions
If this related to specific APIs or components, please list them here
Is your feature request related to a problem? Please describe.
POS UI Extensions can currently only have one tile. This can disrupt UX when working with UI Extensions with many features. Currently, you are forced to make some entry screen where you can pick whatever feature you want to use before navigating to the appropriate screen to this feature. Adding the ability to add multiple tiles makes this approach obsolete, and can improve UX significantly.
Describe the changes you are looking for
I think the easiest way of making this work would be to allow returning multiple tiles on the pos.home.tile.render extension point, or to allow multiple render calls on this to create multiple tiles.
Then, api.navigation.presentModel
could be changed to allow a single argument that is passed to the props of the component registered on the pos.home.modal.render extension point. Based on this prop you could for instance set the initialScreenName
of a Navigator
Describe alternatives you’ve considered
As mentioned, currently you can use a single tile to open a navigation screen to the correct feature.
Alternatively you could deploy the same extension multiple times, but with different initial screens.