-
Notifications
You must be signed in to change notification settings - Fork 27
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
Some gui improvements #1506
Some gui improvements #1506
Conversation
azarovh
commented
Jan 26, 2024
- Copy transaction id
- Added validation to all input fields
- Display pool ids for delegations
- Display margin ration and cost per block for pools
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine to me but I'm not very familiar with gui so don't take this too seriously. A couple of comments / questions below.
@@ -360,6 +361,7 @@ impl WalletTab { | |||
self.account_state.send_delegation_id.clear(); | |||
Command::none() | |||
} | |||
WalletMessage::NoOp => Command::none(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this needed? What's the difference between sending a NoOp and not sending anything?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are cases where I have to send a message, like in closures with input validation: Fn(String) -> Message. So NoOp is a workaround there
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok. I don't have a strong opinion about this.