AWeber-Imbi / imbi

An operational management platform for medium to large environments
BSD 3-Clause "New" or "Revised" License
2 stars 12 forks source link

Add the ability to add/remove columns in the Project Search page #72

Open gmr opened 2 years ago

gmr commented 2 years ago

It would be nice to be able to add arbitrary columns that are available in the OpenSearch documents to the table on the Project Search page.

This would likely be the addition of a new Cog style icon near the top-right of the search bar that when toggled would slide out a tray from the right side of the page that includes all of the available columns and a checkbox next to each to enable/disable their display. The new columns would be able to be sorted just as the existing ones.

Note that the UI code already has a fields array in the state which was intended to be manipulated by the new UI element.

We will likely need to add new settings info to the backend to pass to the front-end to pass a mapping of Open Search fields to\r Fact Type names so that the UI will display something nicer than the Open Search field names in the header.