Open sfount opened 6 years ago
Hi @sfount
What do you think to have a pagination on this bh-card-list
, sometime the list is too long a pagination can be useful for avoiding to scroll down.
Hey @mbayopanda great suggestion! I have not included pagination with the initial pull request for two reasons:
If this Component is merged and implemented then pagination would be a great feature to support on top of the base filtering and sorting!
(This comment relates to https://github.com/IMA-WorldHealth/bhima-2.X/pull/3137#discussion_r214874542)
A number of management modules make use of a 'card list' to display entities with a collection of useful attributes.
This pattern can currently be found on:
This pattern makes sense where there are entities with a lot of meta data but not too many records. Many records would best suit a grid but this view provides a middle ground of clearly legible but also able to provide a lot of information. Potential other candidates for this pattern are:
Example:
This issue proposes a design for a component to simplify, test and reduce duplication implementing this pattern across modules.
Component requirements:
Potential usage: