Includes changes for 794, this PR also has latest commit at time of writing for data-table-refactor merged in.
This PR adds the DetailedCard component and SimpleMap component to meet requirements for the detailed animal view of 789. DetailedCard and SimpleMap should be pretty reusable later. In DetailedAnimalView they are set up to accept an AttachedAnimal object which will have the specified key-values pairs from the object displayed in the card view. The names of keys can optionally be overwritten to a different display name.
This also adds a customColumnsPrepend option to the DataTable, allowing the insertion of custom columns at the start of a table row rather than the end.
Includes changes for 794, this PR also has latest commit at time of writing for data-table-refactor merged in.
This PR adds the DetailedCard component and SimpleMap component to meet requirements for the detailed animal view of 789. DetailedCard and SimpleMap should be pretty reusable later. In DetailedAnimalView they are set up to accept an AttachedAnimal object which will have the specified key-values pairs from the object displayed in the card view. The names of keys can optionally be overwritten to a different display name.
This also adds a customColumnsPrepend option to the DataTable, allowing the insertion of custom columns at the start of a table row rather than the end.