Streams Module: Customise Columns Shown on Entries View
Created 6 years ago by finnitoHey,
I'd like to be able to customise the columns that are shown on the entries view of a stream in the Streams Module a-la Pyro v2. Is this possible or in the roadmap? It used to be simply a bunch of checkboxes to say which ones you'd like to see in the entries view.
Thanks!
Currently.. it's super ugly. It starts here: https://github.com/anomalylabs/streams-module/blob/1.2/src/Entry/Command/GetEntryTableBuilder.php#L55
So that means you can publish the streams module configuration and add a table class to resolve for that namespace/stream and control it entirely yourself.
You can also use that same configuration key and make it an array of parameters like buttons, columns, etc: https://github.com/anomalylabs/streams-module/blob/1.2/src/Entry/Command/GetConfiguredTableBuilder.php#L50