console icon indicating copy to clipboard operation
console copied to clipboard

Feature Request: Pre-configure message previews for topics

Open clarknova9 opened this issue 4 years ago • 3 comments

Currently, topic previews can only be configured in the browser. I would like to configure topic previews in the kowl configuration file.

topicPreviews:
  topicName: my-topic1
    previewFields: "guid,title,description"  
    matching: ignoreCase
    multipleResults: firstResult
    resultCount: hide

It might make sense to combine this with #167 and instead create a general topic configuration block that would support configuring the features per topic that can only be configured in the browser today.

  • Search Filters
  • Preview
  • Column Settings
  • start Offset
  • Max Results
  • Page Size

clarknova9 avatar Jan 19 '21 15:01 clarknova9

I would also benefit from this feature, or by being able to provide these values in the query params

chrisjbremner avatar Mar 18 '21 15:03 chrisjbremner

@chrisjbremner

I would also benefit from this feature, or by being able to provide these values in the query params

Makes sense, but serach filters are js, and while URL encoding them is no problem, the url might become pretty long. Wouldn't that potentially cause issues?

@clarknova9 Adding a config block in the backend to configure those things per topic should be no problem.

@weeco What do you think, milestone 1.5 ?

rikimaru0345 avatar Mar 31 '21 11:03 rikimaru0345

Agreed about long URLs. Doing it in the config block would be sufficient for my needs here.

chrisjbremner avatar Mar 31 '21 15:03 chrisjbremner

What's the value of saving a preview across all users? Preview filters are currently cached in the browser. Closing for now but we can reopen if convinced.

twmb avatar Oct 19 '23 14:10 twmb