Skip to content

modal alert#1723

Draft
fujiapple852 wants to merge 1 commit intomasterfrom
feat-modal-alert
Draft

modal alert#1723
fujiapple852 wants to merge 1 commit intomasterfrom
feat-modal-alert

Conversation

@fujiapple852
Copy link
Copy Markdown
Owner

@fujiapple852 fujiapple852 commented Jan 2, 2026

Closes #1724

@fujiapple852 fujiapple852 marked this pull request as draft January 2, 2026 18:34
@fujiapple852 fujiapple852 force-pushed the feat-modal-alert branch 2 times, most recently from 091b623 to 74aeccb Compare January 2, 2026 19:27
.border_type(BorderType::Double);
let control = Paragraph::new(help_lines)
.wrap(Wrap::default())
.style(Style::default().fg(app.tui_config.theme.help_dialog_text))
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Test color seems wrong

Image

.with_height_percentage(0.2)
.with_placement(DialogPlacement::Centered),
);
f.render_stateful_widget(dialog, f.area(), &mut app.alert_state);
Copy link
Copy Markdown

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"
Copy link
Copy Markdown

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

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.

Show temporary modal dialog for alerts

2 participants