hikaya-io / hakawati

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

feat: Add logic for toggling column visibility #399

Closed michaelbukachi closed 1 year ago

michaelbukachi commented 1 year ago

What issue(s) does this PR resolve?

List all the issues resolved by this PR

Considerations and implementation

How to test

List the steps for others to test your changes.

  1. Log in as ...
  2. Click on ...

Test(s) added

Mentions?

@mention the people you'd like to review this PR @andrewtpham @ninetteadhikari

ninetteadhikari commented 1 year ago

thanks Michael this is working great!

Is it possible to add a background color when user hovers on a column name from the dropdown. Its difficult to see which one the user is selecting.

image
ninetteadhikari commented 1 year ago

functionality is all there but we might need to rethink the design of the top row. it kind of looks strange with the top row width being different from table row @andrewtpham

andrewtpham commented 1 year ago

@michaelbukachi This is awesome! One comment:

andrewtpham commented 1 year ago

functionality is all there but we might need to rethink the design of the top row. it kind of looks strange with the top row width being different from table row @andrewtpham

Added some padding to the title groups and added hover styling:

image
andrewtpham commented 1 year ago

@michaelbukachi based on the call, things to look into:

michaelbukachi commented 1 year ago

@andrewtpham 1 and 3 done. 2 and 4 are quite difficult to implement so they might take quite some time.

andrewtpham commented 1 year ago

@andrewtpham 1 and 3 done. 2 and 4 are quite difficult to implement so they might take quite some time.

Thanks for the changes and feedback @michaelbukachi

I've created them as separate tickets: