Flowpack.Listable
Flowpack.Listable copied to clipboard
Neos package that helps you to render lists of things
I get an error in combination with Flowpack Simple search at line: https://github.com/Flowpack/Flowpack.Listable/blob/0dfe9e278b7c52d06ec25ca179356106737caa89/Resources/Private/Fusion/PaginatedCollection.fusion#L31 `props.collection` has changed in `Flowpack.SimpleSearch` with this pr: https://github.com/Flowpack/Flowpack.SimpleSearch.ContentRepositoryAdaptor/pull/39/files#diff-ffc206e78cb0c19096185c41a6daf40384dee16565b7a919e5438c6ce1d2cb7fR223 and is no longer a simple array but...
Flowpack.Listable:PaginatedCollection has a collection key that must be set by the user. The documentation shows an example: ``` prototype(My.Custom:Object) < prototype(Flowpack.Listable:PaginatedCollection) { collection = ${Search.query(site).nodeType('Something.Custom:Here').sortDesc('date')} ... } ``` When passing...
If there is a pagination where "..." is displayed before the last page number, the last page number is not displayed when you are on the page where the "..."...
If the "..." displayed before the last page number, the last page number was not displayed when you are on the page where the "..." disappears. Check if the `displayRangeEnd...
Warning, opinionated ;-) But default "Flowpack.Listable:List" also is. Could also be put into a separate "Flowpack.Listable:BootstrapPagination" prototype.
We should test TS objects. E.g. see how TS tests are implemented in TypoScript package itself e.g. here https://github.com/neos/neos-development-collection/blob/master/TYPO3.TypoScript/Tests/Functional/TypoScriptObjects/TagTest.php#L23.
Rename `Listable` to `List` and `List` to something else, like `TitledList`. Perhaps we should gather more feedback on this topic.
The Neos 9 compatibility release contained an undocumented breaking change of the `Flowpack.Listable:Collection` prototype. The collections property changed from `collection` to `items`. I was contemplating if it would be better...