ultimate-comparisons / ultimate-comparison-framework

The base of all ultimate-comparisons. Follow the README and create your own ultimate comparison.
http://ultimate-comparisons.github.io/ultimate-comparison-framework/
MIT License
16 stars 7 forks source link

Add expand and shrink option for table #109

Closed hueneburg closed 7 years ago

hueneburg commented 7 years ago

The expand button adds all columns to the display, it is "<>". The shrink button removes all columns that were added by the expand button, it is "><". The function of the shrink button means that with a table consisting of the columns A, B, and C and A and B being the current display, after the expand button was pressed, A, B, and C are shown. If you remove B now you are left with A and C. If you now shrink the table back, you are left with A because the shrink button disables all columns that were enabled through the expand button.

Design: image

Behaviour: default image

expand (license added) image

remove a column except license (eg Uncolored) image

shrink (License removed, rest is the same) image

koppor commented 7 years ago

Then this can be merged.