-
-
Notifications
You must be signed in to change notification settings - Fork 198
modal alert #1723
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
base: master
Are you sure you want to change the base?
modal alert #1723
Conversation
091b623 to
74aeccb
Compare
74aeccb to
86616d8
Compare
| .border_type(BorderType::Double); | ||
| let control = Paragraph::new(help_lines) | ||
| .wrap(Wrap::default()) | ||
| .style(Style::default().fg(app.tui_config.theme.help_dialog_text)) |
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.
| .with_height_percentage(0.2) | ||
| .with_placement(DialogPlacement::Centered), | ||
| ); | ||
| f.render_stateful_widget(dialog, f.area(), &mut app.alert_state); |
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.
I think the modal disappears too quickly, I couldn't read the whole text without spamming the f key. +1 or 2 seconds would be perfect
| de = "Copyright 2022 Trippy Mitwirkende" | ||
|
|
||
| [alert_flows] | ||
| en = "Flows require the udp/dublin or udp/paris ECMP strategy to be enabled" |
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.
The text seems a bit too technical, maybe add a link to the docs somehow?
https://trippy.rs/guides/recommendation/#udpdublin-with-fixed-target-port-and-variable-source-port

Closes #1724