openmct icon indicating copy to clipboard operation
openmct copied to clipboard

Real-time scrolling table views v2

Open charlesh88 opened this issue 1 year ago • 1 comments

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:

  1. Scroll lock isn't very good. Using the scroll thumb to lock the scroll is imprecise and cumbersome.
  2. 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.
  3. 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

  1. 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.
  1. Table should pause when the user manually scrolls: Use the same "paused" visual strategy as in plots and imagery.
  2. ~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.

charlesh88 avatar Oct 18 '23 17:10 charlesh88

Item 3 above (hover to display footer) addressed in https://github.com/nasa/openmct/pull/7399/commits/6fbdf7fd36181579ad1a1b2efb3b1feec8933a62

charlesh88 avatar Jan 24 '24 17:01 charlesh88