FlowFuse / FlowFuse/node-red-dashboard

Table selection reset issue after PR #1470

Open
#1,603 1 comment 0 reactions 0 assignees View on GitHub
needs-triage type:bug
Dominant language
HTML
Stars
355
Forks
82
Avg merge
4d 20h
Merged PRs (30d)
24

Description

### Current Behavior

After the changes introduced in [PR #1470](https://github.com/FlowFuse/node-red-dashboard/pull/1470), the table selection is automatically cleared when new data arrives.

### Expected Behavior

Users should have the option to retain their selection when new data updates the table (e. g. option in this ui-table node)

### Steps To Reproduce

1. Populate the table with dynamic data (e.g., from multiple MQTT topics).
2. Select a row.
3. When the selected vehicle sends new data, the selection is lost.

https://github.com/user-attachments/assets/060e9bed-fe51-47dc-9a24-be9d5e9b187d

### Environment

- Dashboard version: 1.22.1
- Node-RED version: 4.0.5
- Node.js version: v20.15.1
- npm version: 10.9.1
- Platform/OS: MacOS
- Browser: Firefox

### Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the ui-table selection handling and the changes introduced by PR #1470, focusing on what happens when new data arrives. Reproduce the MQTT-style update sequence from the issue and verify that the completed work lets users retain or clear their selection through a table option.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.