apache / trafficcontrol

Apache Traffic Control is an Open Source implementation of a Content Delivery Network
https://trafficcontrol.apache.org/
Apache License 2.0
1.07k stars 344 forks source link

TM UI table headers should be pinned to top of screen when scrolling down #5561

Open rawlinp opened 3 years ago

rawlinp commented 3 years ago

I'm submitting a ...

Traffic Control components affected ...

Current behavior:

In the e.g. Cache States tab, when scrolling down, the table header (Server | Type | IPv4 | IPv6 | Status | Load Average | ... moves out of view when there are more than a few dozen servers. When the header goes out of view, it's difficult to tell which column the values actually belong to unless you've memorized them.

New behavior:

The table header should stay pinned to the top of the screen if scrolling down would otherwise move it out of view.

Minimal reproduction of the problem with instructions:

Open the TM UI, click through the Cache States, Delivery Service States, and Event Log tabs.

ocket8888 commented 3 years ago

Whoever does this probably would like to use the sticky value for the header bar's position property. Just wanted to head JS solutions off at the pass.