Skip to content

Post-condition in "deny mode" displayed with label in red (allow mode in green) #2584

@314159265359879

Description

@314159265359879

On the Post-conditions tab, the mode is displayed in red, indicating some kind of warning or error. But this should be displayed in green (if at all colored) because it is the safest post-condition mode.
If anything is displayed in red here, it should be in the table, any post-conditions that would have been violated by the transaction. Color that row's background red, for example.
The "unsafe" mode is displayed in green. "deny mode". don't use color here, I think you are communicating something that is not intended.

Is your feature request related to a problem? Please describe.
Transactions send with post-conditions in deny mode are generally safe. Users should be extra careful when signing transactions with post-conditions in "allow mode". Don't use color here, I think you are communicating something that is not intended.

Describe the solution you'd like
Remove the color, use a shade of grey instead, perhaps.

Describe alternatives you've considered
If you insist on using color, I think it could be done effectively. Use color in the table with the actual post-conditions, and then make the background of the rows that are met green and the ones that are violated red.

Image

Additional context
Currently displayed like this:

Image Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions