openmct
openmct copied to clipboard
Real-time scrolling table views v2
Is your feature request related to a problem? Please describe. Scrolling telemetry tables in real-time mode have a number of issues that need to be improved:
- Scroll lock isn't very good. Using the scroll thumb to lock the scroll is imprecise and cumbersome.
- Table should pause when the user manually scrolls. When a telem table is scrolled, the user may no longer see the latest data. In the same fashion that we handle this in plots and imagery, the table should also indicate this state.
- Hover to show row count is disruptive. Hovering over the table in a layout shrinks it to display the row count. This is annoying and disruptive, especially with multiple tables in view.
Describe the solution you'd like
- Scroll lock:
- Only allow scroll locking on columns for which it makes sense, like time-based fields.
- Include a button with a definite state indication (enabled, not enabled) in the column itself.
- Allow locking in both available sort orders: asc, desc.
- The lock state must persist per view through refresh and navigation events via localstorage or other per-user/machine strategy.
- Table should pause when the user manually scrolls: Use the same "paused" visual strategy as in plots and imagery.
- ~Hover to show row count is disruptive: Make the row count always visible.~ implemented in https://github.com/nasa/openmct/issues/7268
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.
Item 3 above (hover to display footer) addressed in https://github.com/nasa/openmct/pull/7399/commits/6fbdf7fd36181579ad1a1b2efb3b1feec8933a62