marcusolsson/obsidian-projects

Option to hide column-type icons

tektrip-biggles opened this issue · 1 comments

What would you like to be added?

A boolean option in the "Configure field" popup to not show the "column type" icons.

Why is this needed?

Currently, each column contains an icon denoting the "type" of the field, whether a "number", "list" or "text" etc. These can be useful, particularly when first setting up a table view, but can also constitute unnecessary visual noise which also sets a lower limit on the width of columns if you want the heading to be visible.

Here is an example of two columns with the icons:
Screenshot 2023-03-24 at 17 40 32

vs without:
Screenshot 2023-03-24 at 17 33 43

It is possible for the user to remove these by editing the append_styles call for svelte-s7qdhh in the plugin's main.js from display:flex to display:none, but this is a fairly hacky workaround which needs to be re-applied whenever the plugin is updated.

Then the type info should be included in the tooltip of the column header. At the mean time, hiding all icons can also be supported.