Skip to content

Commit 99a88e4

Browse files
committed
Adds send message dialog with tabbed interface
Implements a new send message dialog featuring a tabbed interface. The dialog includes tabs for message composition, property settings, and custom properties, enhancing the user experience and message configuration capabilities. Removes the old dialog implementation.
1 parent 2cc89c0 commit 99a88e4

File tree

3 files changed

+365
-346
lines changed

3 files changed

+365
-346
lines changed

BusLane/ViewModels/SendMessageViewModel.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ public partial class SendMessageViewModel : ViewModelBase
4444
[ObservableProperty] private bool _showSaveDialog;
4545
[ObservableProperty] private bool _showLoadDialog;
4646
[ObservableProperty] private SavedMessage? _selectedSavedMessage;
47+
[ObservableProperty] private bool _isComposeTabSelected = true;
48+
[ObservableProperty] private bool _isPropertiesTabSelected;
49+
[ObservableProperty] private bool _isCustomTabSelected;
4750

4851
public ObservableCollection<CustomProperty> CustomProperties { get; } = new();
4952
public ObservableCollection<SavedMessage> SavedMessages { get; } = new();
@@ -510,4 +513,3 @@ private void PersistSavedMessages()
510513
}
511514
}
512515
}
513-

0 commit comments

Comments
 (0)