politeiagui icon indicating copy to clipboard operation
politeiagui copied to clipboard

[cms] table views improvements

Open MariaPleshkova opened this issue 3 years ago • 0 comments

Suggesting some improvements for table views.

In the current build columns scale in uniform when the page width is increased. But basically we don't need to increase width of short columns like hours/dollars, date, etc. We can leave their width fixed when the page width is increasing, but change only the description column's width, because it's the biggest column among others.

One more suggestion is to add an expand/collaps feature for the description column as well to make a table look more clear. We can show 2 rows of text by default and only show full description by clicking on the arrow there: image

You can find Figma example here: https://www.figma.com/file/RuzhkKo9fUjKQLqGbUPjHl/decred---piui---cms?node-id=245%3A3022 ( For the table of 1054px width I used the next percentage: 10% of the full width for small columns like username, date, domain, labor, expenses, sub total (approx. 105px) 15% for a middle one - subdomain (approx. 158px) 25% for the biggest one - description (approx. 263px) )

MariaPleshkova avatar Nov 18 '21 16:11 MariaPleshkova