Refactored the ErrorMessage widget into a generic Message widget for enhanced reuse. Added support for testing a single indexer at a time.

This commit is contained in:
2024-02-15 11:11:10 -07:00
parent b49bfaa9c1
commit a360c83431
23 changed files with 418 additions and 78 deletions
+4 -2
View File
@@ -12,7 +12,8 @@ mod popup_tests;
pub enum Size {
Prompt,
LargePrompt,
Error,
Message,
LargeMessage,
InputBox,
Dropdown,
Small,
@@ -25,7 +26,8 @@ impl Size {
match self {
Size::Prompt => (35, 35),
Size::LargePrompt => (70, 45),
Size::Error => (25, 8),
Size::Message => (25, 8),
Size::LargeMessage => (25, 25),
Size::InputBox => (30, 13),
Size::Dropdown => (20, 30),
Size::Small => (40, 40),