What a view should do about a count (issue #6). allowed: boolean
only answered "may I render this"; each view then invented its own
answer to "so what do I do instead", which is how the table paged,
the matrix truncated and the canvas prompted, with no shared
concept between them.
allow within the limit; render as is
refuse do not render; prompt the user (an explicit action is
needed to exceed the limit)
truncate render the first limit items and announce the cut
page render pageSize items at a time with a control that
reaches the rest (see pageNodes / pageCategories
and the PaginationControl molecule in @g3-toolkit/react)
What a view should do about a count (issue #6).
allowed: booleanonly answered "may I render this"; each view then invented its own answer to "so what do I do instead", which is how the table paged, the matrix truncated and the canvas prompted, with no shared concept between them.allow within the limit; render as is refuse do not render; prompt the user (an explicit action is needed to exceed the limit) truncate render the first
limititems and announce the cut page renderpageSizeitems at a time with a control that reaches the rest (seepageNodes/pageCategoriesand the PaginationControl molecule in @g3-toolkit/react)