Tradeshift UI is a framework-agnostic JavaScript library to help Tradeshift App developers to create cohesive user experiences and to provide reusable UI components.
Is your feature request related to a problem? Please describe.
I can give 2 examples where we need this:
https://tradeshift.invisionapp.com/share/BVQM178JYZU#/screens/351285408 - in this example, we need to display between 0 and 3 badge icons in a cell. The badges need to have a click handler too, which opens an aside with more information about the badge (similar to Profile app). Also, in the last column we have some text (100%) and an icon (info), that needs to have a click handler too. The behaviour is similar, clicking the info icon would open an aside with more information.
https://tradeshift.invisionapp.com/share/BVQM178JYZU#/screens/351285207 - in this example, we have a column/cell that needs to have 2 action buttons.
Describe the solution you'd like
Maybe the table can accept an array instead of an object for a cell value. The array can contain multiple images, buttons or text. Also, the images should have a click handler, similar to buttons.
Piggybacking on the above request, we'd like the ability to insert tags inside the table cells. This will allow us to better display various statuses inside the table.
Is your feature request related to a problem? Please describe. I can give 2 examples where we need this: https://tradeshift.invisionapp.com/share/BVQM178JYZU#/screens/351285408 - in this example, we need to display between 0 and 3 badge icons in a cell. The badges need to have a click handler too, which opens an aside with more information about the badge (similar to Profile app). Also, in the last column we have some text (100%) and an icon (info), that needs to have a click handler too. The behaviour is similar, clicking the info icon would open an aside with more information. https://tradeshift.invisionapp.com/share/BVQM178JYZU#/screens/351285207 - in this example, we have a column/cell that needs to have 2 action buttons.
Describe the solution you'd like Maybe the table can accept an array instead of an object for a cell value. The array can contain multiple images, buttons or text. Also, the images should have a click handler, similar to buttons.