-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #238 from stayintarkov/simplicity-is-sometimes-best
Change the navigation menu to use something other than NavigationView
- Loading branch information
Showing
12 changed files
with
339 additions
and
335 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,8 @@ | ||
namespace SIT.Manager.Models; | ||
|
||
public class ActionNotification | ||
public class ActionNotification(string actionText, double progressPercentage, bool showActionPanel = true) | ||
{ | ||
public string ActionText { get; set; } | ||
public double ProgressPercentage { get; set; } | ||
public bool ShowActionPanel { get; set; } | ||
|
||
public ActionNotification(string actionText, double progressPercentage, bool showActionPanel = true) | ||
{ | ||
ActionText = actionText; | ||
ProgressPercentage = progressPercentage; | ||
ShowActionPanel = showActionPanel; | ||
} | ||
public string ActionText { get; set; } = actionText; | ||
public double ProgressPercentage { get; set; } = progressPercentage; | ||
public bool ShowActionPanel { get; set; } = showActionPanel; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
using FluentAvalonia.UI.Controls; | ||
using System; | ||
|
||
namespace SIT.Manager.Models; | ||
|
||
public record NavigationItem(string Name, string ToolTip, Symbol Icon, Type NavigationTarget, string? Tag = null); |
Oops, something went wrong.