hashgraph / hashgraph/guardian

Enhance usability of Advanced option for mathBlock

Open
#5,671 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
146
Forks
186
Avg merge
2d 20h
Merged PRs (30d)
126

Description

### Problem description
Currently, in the mathBlock test runs outputs section is shown before the code is executed, which leads in some cases to the output values in the UI section to appear as empty, while they are really not empty - in JSON view the actual results can be viewed. This can lead to confusion.

https://github.com/user-attachments/assets/73e2d600-5dc2-4746-b43a-6fb3bda8eda2

### Requirements
The the outputs section should be calculated and shown after the code is executed, or be updated immediately after execution with correct results.

### Definition of done
Outputs section always displays the results if/when they are available
Runs with the test data attached below demonstrate correct behaviour as per requirements above

[Test data to reproduce.txt](https://github.com/user-attachments/files/24966827/Test.data.to.reproduce.txt)

### Acceptance criteria

- The results in the Outputs sections in the UI and JSON view are synchronised and always display results if available.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.