hikaya-io / hakawati

A collection of UI components
GNU General Public License v3.0
2 stars 1 forks source link

Ability to `wrap` or `clip` text in a specific column #237

Open andrewtpham opened 2 years ago

andrewtpham commented 2 years ago

Is your feature request related to a problem? Please describe. We would like to give the user the ability to customize if a column text is wrap or clip text so that they can display their data to their preference

Additional context Here is an example of specifying a column is either wrap or clip: clip-wrap-column-text

michaelbukachi commented 2 years ago

@andrewtpham Won't this conflict with the functionality we have on the frontend for changing column data types?

andrewtpham commented 2 years ago

@michaelbukachi Oh good catch. I'm thinking clip or wrap text will be another option in the drop down as change data type will be an option too

michaelbukachi commented 2 years ago

@andrewtpham this means we have to pull that functionality from the frontend and add it hakawati.

andrewtpham commented 2 years ago

@michaelbukachi Ok can we use this card to move that functionality to hakawati or should we do it in a separate issue?

This is what I was thinking when a user clicks on the column header of our table component: image

This is based on the cascader component so maybe do we want incorporate this in to our h-table?

michaelbukachi commented 2 years ago

@andrewtpham We can use this card. Without that functionality there's literally no work to be done 😅.