Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Channel Tab is not displaying colors based on limit values #2754

Open
thomas-bc opened this issue May 29, 2024 · 0 comments
Open

Channel Tab is not displaying colors based on limit values #2754

thomas-bc opened this issue May 29, 2024 · 0 comments
Labels
bug F´ GDS Issues pertaining to the F´ GDS

Comments

@thomas-bc
Copy link
Collaborator

F´ Version fprime-gds@devel
Affected Component

Problem Description

When specifying a limit

        telemetry Channel1: U32 high { red 3, orange 2, yellow 1 }

and the channel goes above the threshold, I would expect the row to change colors. But I haven't been able to observe that behavior

Calculating the row color is here: https://github.com/nasa/fprime-gds/blob/2c95a45d044dc26b74da1c55c1197fc4bf3b7e7d/src/fprime_gds/flask/static/js/vue-support/channel.js#L86-L107
There may be a bug here or in the handling of the limit values, or in the display somewhere.

How to Reproduce

  1. Add a limit to a channel in Ref/
  2. Build, and trigger the telemetry so that it will go beyond the limit
  3. observe color in channel tab

Expected Behavior

Channel row should take the appropriate color

@thomas-bc thomas-bc added bug F´ GDS Issues pertaining to the F´ GDS labels May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug F´ GDS Issues pertaining to the F´ GDS
Projects
None yet
Development

No branches or pull requests

1 participant