Skip to content

Conversation

@lievenhey
Copy link
Contributor

No description provided.

This patch stops hotspot from clearing the error message. Resetting the
error message in a happy path is a terrible idea since it might remove
errors that occurred earlier.

Fixes: #711
@milianw
Copy link
Member

milianw commented Apr 28, 2025

how do you ensure that the error message is cleared once a valid value is entered?

@lievenhey
Copy link
Contributor Author

Good question, with the current flow it is not possible. We would need a isValid check or something like that. Then we could also push all messages on a stack and show them all at once.

@milianw
Copy link
Member

milianw commented May 7, 2025

Then please revisit this patch, imo it doesn't fix the bug in the minimal approach and leads to regressions for validation of other fields

Copy link
Member

@milianw milianw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see previous comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When perf isn't in $PATH, the "Start Recording" button in "File" > "Record Data" is disabled. However, the reason isn't communicated to the user.

3 participants