cnpem / cnpem/sophys-web

QUA: Hide 'Message' field in plan details when execution hasn't failed

Open Beginner friendly
#85 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
4
Forks
3
Avg merge
1d 20h
Merged PRs (30d)
8

Description

In the history list, a plan's details information always contains the `Message` field:

Image

This field, however, is never returned by the API when the plan execution succeeded. That means that in all such cases, the field is empty, and the information button next to it doesn't work. This can generate some confusion for users, so it should be hidden when it makes no sense to display it.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the history list's plan details view and the code that renders the Message field and its information button. Compare the UI with the API response for successful and failed executions; done means Message is hidden, along with its button, when execution has not failed, while failed executions still show it.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.