FlowFuse / FlowFuse/node-red-dashboard

Dashboard 2.0 Table Color Threshold

Open
#489 1 comment 0 reactions 0 assignees View on GitHub
story
Dominant language
HTML
Stars
355
Forks
82
Avg merge
4d 23h
Merged PRs (30d)
24

Description

### Epic

_No response_

### Description

**Objective:**

I aim to create a table displaying system resources, similar to the provided example using dashboard 2.0:

![image](https://github.com/FlowFuse/node-red-dashboard/assets/113960675/d71cbc44-31cb-486c-93c9-5e2bcb9d463d)

**Purpose:**

The color of each table cell should dynamically reflect the value of the "msg" variable, with the following criteria:

- If the value is less than 50, the color should be green.
- If the value is between 50 and 60, the color should be yellow.
- If the value is greater than 60, the color should be red.

I have successfully created a color-coded table using Dashboard 1.0. However, I believe that Dashboard 2.0 might simplify the process significantly. What are your thoughts on this? Thank you.

### Which customers would this be availble to

All Users, (CE)

### Acceptance Criteria

_No response_

### 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

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.