Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
capdiem committed Mar 5, 2024
1 parent cb1c8c3 commit 1fdb74b
Show file tree
Hide file tree
Showing 79 changed files with 792 additions and 425 deletions.
6 changes: 5 additions & 1 deletion Masa.Blazor.Pro.Client/Masa.Blazor.Pro.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Masa.Blazor" Version="1.3.0-beta.6" />
<!-- <PackageReference Include="Masa.Blazor" Version="1.3.0" />-->
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\MASA.Blazor\src\Masa.Blazor\Masa.Blazor.csproj" />
</ItemGroup>

</Project>
12 changes: 5 additions & 7 deletions Masa.Blazor.Pro.Components/Todo/TodoNav.razor
Original file line number Diff line number Diff line change
Expand Up @@ -71,22 +71,20 @@

private static TodoNavItem[] _categories =
[
new TodoNavItem("Inbox", "mdi-inbox-outline", "/todo"),
new TodoNavItem("Important", "mdi-star-box-outline", "/todo/important"),
new TodoNavItem("Completed", "mdi-checkbox-marked-outline", "/todo/completed"),
new TodoNavItem("Trash", "mdi-trash-can-outline", "/todo/deleted")
new TodoNavItem("Today", "mdi-calendar-today-outline", "/todo"),
new TodoNavItem("Inbox", "mdi-inbox-outline", "/todo/inbox")
];

private static TodoNavItem[] _tags =
[
new TodoNavItem("Team", "purple", "/todo/team"),
new TodoNavItem("Family", "blue", "/todo/family"),
new TodoNavItem("Family", "pink", "/todo/family"),
];

private static TodoNavItem[] _priority =
[
new TodoNavItem("Low", "green", "/todo/low"),
new TodoNavItem("Medium", "yellow", "/todo/medium"),
new TodoNavItem("Low", "blue", "/todo/low"),
new TodoNavItem("Medium", "orange", "/todo/medium"),
new TodoNavItem("High", "red", "/todo/high"),
];

Expand Down
96 changes: 50 additions & 46 deletions Masa.Blazor.Pro.sln
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.0.0
# Visual Studio Version 17
VisualStudioVersion = 17.10.34607.79
MinimumVisualStudioVersion = 16.0.0.0
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Masa.Blazor.Pro", "Masa.Blazor.Pro\Masa.Blazor.Pro.csproj", "{E505F326-BACB-4FF3-93A2-8EC64CC0DCCE}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Masa.Blazor.Pro.Client", "Masa.Blazor.Pro.Client\Masa.Blazor.Pro.Client.csproj", "{944BA7F3-6BDE-4008-81B2-13B9CB517DDB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Masa.Blazor", "..\MASA.Blazor\src\Masa.Blazor\Masa.Blazor.csproj", "{7BBF4E0D-C76F-4770-ADC8-D293D40C87B3}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Masa.Blazor", "..\MASA.Blazor\src\Masa.Blazor\Masa.Blazor.csproj", "{7BBF4E0D-C76F-4770-ADC8-D293D40C87B3}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BlazorComponent", "..\MASA.Blazor\src\BlazorComponent\src\Component\BlazorComponent\BlazorComponent.csproj", "{F483BCBA-6164-445E-A595-B860C09ADC9F}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorComponent", "..\MASA.Blazor\src\BlazorComponent\src\Component\BlazorComponent\BlazorComponent.csproj", "{F483BCBA-6164-445E-A595-B860C09ADC9F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Masa.Blazor.ProApp.Rcl", "Masa.Blazor.ProApp\Masa.Blazor.ProApp.Rcl\Masa.Blazor.ProApp.Rcl.csproj", "{B21CE0B3-EF79-4FD9-A1C7-42FE215EDC6F}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Masa.Blazor.ProApp.Web", "Masa.Blazor.ProApp.Web\Masa.Blazor.ProApp.Web.csproj", "{A36B39BC-9D91-41B1-853E-D3927D8D844A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Masa.Blazor.ProApp", "Masa.Blazor.ProApp\Masa.Blazor.ProApp\Masa.Blazor.ProApp.csproj", "{E704A188-E14D-484D-83A4-B989666FCC74}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Masa.Blazor.Pro.Components", "Masa.Blazor.Pro.Components\Masa.Blazor.Pro.Components.csproj", "{DC495E7A-3E28-48A0-A185-C30BAACFEEE3}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Masa.Blazor.ProApp.Web", "Masa.Blazor.ProApp.Web\Masa.Blazor.ProApp.Web.csproj", "{A36B39BC-9D91-41B1-853E-D3927D8D844A}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProApp", "ProApp\ProApp.csproj", "{067B9CD3-1076-475F-B681-807B266B2645}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Masa.Blazor.Pro.Components", "Masa.Blazor.Pro.Components\Masa.Blazor.Pro.Components.csproj", "{DC495E7A-3E28-48A0-A185-C30BAACFEEE3}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Masa.Blazor.ProApp.Rcl", "Masa.Blazor.ProApp.Rcl\Masa.Blazor.ProApp.Rcl.csproj", "{CF2E55CA-E189-47FC-BC24-735B6E869E86}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -28,18 +28,6 @@ Global
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{944BA7F3-6BDE-4008-81B2-13B9CB517DDB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{944BA7F3-6BDE-4008-81B2-13B9CB517DDB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{944BA7F3-6BDE-4008-81B2-13B9CB517DDB}.Debug|x64.ActiveCfg = Debug|Any CPU
{944BA7F3-6BDE-4008-81B2-13B9CB517DDB}.Debug|x64.Build.0 = Debug|Any CPU
{944BA7F3-6BDE-4008-81B2-13B9CB517DDB}.Debug|x86.ActiveCfg = Debug|Any CPU
{944BA7F3-6BDE-4008-81B2-13B9CB517DDB}.Debug|x86.Build.0 = Debug|Any CPU
{944BA7F3-6BDE-4008-81B2-13B9CB517DDB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{944BA7F3-6BDE-4008-81B2-13B9CB517DDB}.Release|Any CPU.Build.0 = Release|Any CPU
{944BA7F3-6BDE-4008-81B2-13B9CB517DDB}.Release|x64.ActiveCfg = Release|Any CPU
{944BA7F3-6BDE-4008-81B2-13B9CB517DDB}.Release|x64.Build.0 = Release|Any CPU
{944BA7F3-6BDE-4008-81B2-13B9CB517DDB}.Release|x86.ActiveCfg = Release|Any CPU
{944BA7F3-6BDE-4008-81B2-13B9CB517DDB}.Release|x86.Build.0 = Release|Any CPU
{E505F326-BACB-4FF3-93A2-8EC64CC0DCCE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E505F326-BACB-4FF3-93A2-8EC64CC0DCCE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E505F326-BACB-4FF3-93A2-8EC64CC0DCCE}.Debug|x64.ActiveCfg = Debug|Any CPU
Expand All @@ -52,6 +40,18 @@ Global
{E505F326-BACB-4FF3-93A2-8EC64CC0DCCE}.Release|x64.Build.0 = Release|Any CPU
{E505F326-BACB-4FF3-93A2-8EC64CC0DCCE}.Release|x86.ActiveCfg = Release|Any CPU
{E505F326-BACB-4FF3-93A2-8EC64CC0DCCE}.Release|x86.Build.0 = Release|Any CPU
{944BA7F3-6BDE-4008-81B2-13B9CB517DDB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{944BA7F3-6BDE-4008-81B2-13B9CB517DDB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{944BA7F3-6BDE-4008-81B2-13B9CB517DDB}.Debug|x64.ActiveCfg = Debug|Any CPU
{944BA7F3-6BDE-4008-81B2-13B9CB517DDB}.Debug|x64.Build.0 = Debug|Any CPU
{944BA7F3-6BDE-4008-81B2-13B9CB517DDB}.Debug|x86.ActiveCfg = Debug|Any CPU
{944BA7F3-6BDE-4008-81B2-13B9CB517DDB}.Debug|x86.Build.0 = Debug|Any CPU
{944BA7F3-6BDE-4008-81B2-13B9CB517DDB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{944BA7F3-6BDE-4008-81B2-13B9CB517DDB}.Release|Any CPU.Build.0 = Release|Any CPU
{944BA7F3-6BDE-4008-81B2-13B9CB517DDB}.Release|x64.ActiveCfg = Release|Any CPU
{944BA7F3-6BDE-4008-81B2-13B9CB517DDB}.Release|x64.Build.0 = Release|Any CPU
{944BA7F3-6BDE-4008-81B2-13B9CB517DDB}.Release|x86.ActiveCfg = Release|Any CPU
{944BA7F3-6BDE-4008-81B2-13B9CB517DDB}.Release|x86.Build.0 = Release|Any CPU
{7BBF4E0D-C76F-4770-ADC8-D293D40C87B3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7BBF4E0D-C76F-4770-ADC8-D293D40C87B3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7BBF4E0D-C76F-4770-ADC8-D293D40C87B3}.Debug|x64.ActiveCfg = Debug|Any CPU
Expand All @@ -76,30 +76,6 @@ Global
{F483BCBA-6164-445E-A595-B860C09ADC9F}.Release|x64.Build.0 = Release|Any CPU
{F483BCBA-6164-445E-A595-B860C09ADC9F}.Release|x86.ActiveCfg = Release|Any CPU
{F483BCBA-6164-445E-A595-B860C09ADC9F}.Release|x86.Build.0 = Release|Any CPU
{B21CE0B3-EF79-4FD9-A1C7-42FE215EDC6F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B21CE0B3-EF79-4FD9-A1C7-42FE215EDC6F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B21CE0B3-EF79-4FD9-A1C7-42FE215EDC6F}.Debug|x64.ActiveCfg = Debug|Any CPU
{B21CE0B3-EF79-4FD9-A1C7-42FE215EDC6F}.Debug|x64.Build.0 = Debug|Any CPU
{B21CE0B3-EF79-4FD9-A1C7-42FE215EDC6F}.Debug|x86.ActiveCfg = Debug|Any CPU
{B21CE0B3-EF79-4FD9-A1C7-42FE215EDC6F}.Debug|x86.Build.0 = Debug|Any CPU
{B21CE0B3-EF79-4FD9-A1C7-42FE215EDC6F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B21CE0B3-EF79-4FD9-A1C7-42FE215EDC6F}.Release|Any CPU.Build.0 = Release|Any CPU
{B21CE0B3-EF79-4FD9-A1C7-42FE215EDC6F}.Release|x64.ActiveCfg = Release|Any CPU
{B21CE0B3-EF79-4FD9-A1C7-42FE215EDC6F}.Release|x64.Build.0 = Release|Any CPU
{B21CE0B3-EF79-4FD9-A1C7-42FE215EDC6F}.Release|x86.ActiveCfg = Release|Any CPU
{B21CE0B3-EF79-4FD9-A1C7-42FE215EDC6F}.Release|x86.Build.0 = Release|Any CPU
{E704A188-E14D-484D-83A4-B989666FCC74}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E704A188-E14D-484D-83A4-B989666FCC74}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E704A188-E14D-484D-83A4-B989666FCC74}.Debug|x64.ActiveCfg = Debug|Any CPU
{E704A188-E14D-484D-83A4-B989666FCC74}.Debug|x64.Build.0 = Debug|Any CPU
{E704A188-E14D-484D-83A4-B989666FCC74}.Debug|x86.ActiveCfg = Debug|Any CPU
{E704A188-E14D-484D-83A4-B989666FCC74}.Debug|x86.Build.0 = Debug|Any CPU
{E704A188-E14D-484D-83A4-B989666FCC74}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E704A188-E14D-484D-83A4-B989666FCC74}.Release|Any CPU.Build.0 = Release|Any CPU
{E704A188-E14D-484D-83A4-B989666FCC74}.Release|x64.ActiveCfg = Release|Any CPU
{E704A188-E14D-484D-83A4-B989666FCC74}.Release|x64.Build.0 = Release|Any CPU
{E704A188-E14D-484D-83A4-B989666FCC74}.Release|x86.ActiveCfg = Release|Any CPU
{E704A188-E14D-484D-83A4-B989666FCC74}.Release|x86.Build.0 = Release|Any CPU
{A36B39BC-9D91-41B1-853E-D3927D8D844A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A36B39BC-9D91-41B1-853E-D3927D8D844A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A36B39BC-9D91-41B1-853E-D3927D8D844A}.Debug|x64.ActiveCfg = Debug|Any CPU
Expand All @@ -124,13 +100,41 @@ Global
{DC495E7A-3E28-48A0-A185-C30BAACFEEE3}.Release|x64.Build.0 = Release|Any CPU
{DC495E7A-3E28-48A0-A185-C30BAACFEEE3}.Release|x86.ActiveCfg = Release|Any CPU
{DC495E7A-3E28-48A0-A185-C30BAACFEEE3}.Release|x86.Build.0 = Release|Any CPU
{067B9CD3-1076-475F-B681-807B266B2645}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{067B9CD3-1076-475F-B681-807B266B2645}.Debug|Any CPU.Build.0 = Debug|Any CPU
{067B9CD3-1076-475F-B681-807B266B2645}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{067B9CD3-1076-475F-B681-807B266B2645}.Debug|x64.ActiveCfg = Debug|Any CPU
{067B9CD3-1076-475F-B681-807B266B2645}.Debug|x64.Build.0 = Debug|Any CPU
{067B9CD3-1076-475F-B681-807B266B2645}.Debug|x64.Deploy.0 = Debug|Any CPU
{067B9CD3-1076-475F-B681-807B266B2645}.Debug|x86.ActiveCfg = Debug|Any CPU
{067B9CD3-1076-475F-B681-807B266B2645}.Debug|x86.Build.0 = Debug|Any CPU
{067B9CD3-1076-475F-B681-807B266B2645}.Debug|x86.Deploy.0 = Debug|Any CPU
{067B9CD3-1076-475F-B681-807B266B2645}.Release|Any CPU.ActiveCfg = Release|Any CPU
{067B9CD3-1076-475F-B681-807B266B2645}.Release|Any CPU.Build.0 = Release|Any CPU
{067B9CD3-1076-475F-B681-807B266B2645}.Release|Any CPU.Deploy.0 = Release|Any CPU
{067B9CD3-1076-475F-B681-807B266B2645}.Release|x64.ActiveCfg = Release|Any CPU
{067B9CD3-1076-475F-B681-807B266B2645}.Release|x64.Build.0 = Release|Any CPU
{067B9CD3-1076-475F-B681-807B266B2645}.Release|x64.Deploy.0 = Release|Any CPU
{067B9CD3-1076-475F-B681-807B266B2645}.Release|x86.ActiveCfg = Release|Any CPU
{067B9CD3-1076-475F-B681-807B266B2645}.Release|x86.Build.0 = Release|Any CPU
{067B9CD3-1076-475F-B681-807B266B2645}.Release|x86.Deploy.0 = Release|Any CPU
{CF2E55CA-E189-47FC-BC24-735B6E869E86}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CF2E55CA-E189-47FC-BC24-735B6E869E86}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CF2E55CA-E189-47FC-BC24-735B6E869E86}.Debug|x64.ActiveCfg = Debug|Any CPU
{CF2E55CA-E189-47FC-BC24-735B6E869E86}.Debug|x64.Build.0 = Debug|Any CPU
{CF2E55CA-E189-47FC-BC24-735B6E869E86}.Debug|x86.ActiveCfg = Debug|Any CPU
{CF2E55CA-E189-47FC-BC24-735B6E869E86}.Debug|x86.Build.0 = Debug|Any CPU
{CF2E55CA-E189-47FC-BC24-735B6E869E86}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CF2E55CA-E189-47FC-BC24-735B6E869E86}.Release|Any CPU.Build.0 = Release|Any CPU
{CF2E55CA-E189-47FC-BC24-735B6E869E86}.Release|x64.ActiveCfg = Release|Any CPU
{CF2E55CA-E189-47FC-BC24-735B6E869E86}.Release|x64.Build.0 = Release|Any CPU
{CF2E55CA-E189-47FC-BC24-735B6E869E86}.Release|x86.ActiveCfg = Release|Any CPU
{CF2E55CA-E189-47FC-BC24-735B6E869E86}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {41A0DEFD-768D-440B-B382-E4BA2E314018}
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
EndGlobalSection
EndGlobal
File renamed without changes.
62 changes: 62 additions & 0 deletions Masa.Blazor.ProApp.Rcl/Components/DateDigitalClockSheet.razor
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<MBottomSheet Value="Show"
ValueChanged="ShowChanged">
<div class="d-flex">
<MButton Text Color="secondary"
OnClick="@HandleOnCancel">
Cancel
</MButton>
<MSpacer/>
<MButton Text Color="primary"
OnClick="@HandleOnConfirm">
Confirm
</MButton>
</div>
<PDateDigitalClockPickerView Value="_internalDate"
ValueChanged="InternalDateChanged"
TValue="DateTime"
TimeFormat="TimeFormat.Hr24">
</PDateDigitalClockPickerView>
</MBottomSheet>

@code {

[Parameter] public bool Show { get; set; }
[Parameter] public EventCallback<bool> ShowChanged { get; set; }
[Parameter] public DateTime Value { get; set; }
[Parameter] public EventCallback<DateTime> ValueChanged { get; set; }

private DateTime _internalDate;
private bool _previousShow;

protected override void OnParametersSet()
{
base.OnParametersSet();

if (_previousShow != Show)
{
_previousShow = Show;

if (Show)
{
_internalDate = Value;
}
}
}

private void InternalDateChanged(DateTime date)
{
_internalDate = date;
}

private void HandleOnCancel()
{
ShowChanged.InvokeAsync(false);
}

private async Task HandleOnConfirm()
{
await ValueChanged.InvokeAsync(_internalDate);
_ = ShowChanged.InvokeAsync(false);
}

}
64 changes: 64 additions & 0 deletions Masa.Blazor.ProApp.Rcl/Data/ProDatabase.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
using System.Diagnostics.CodeAnalysis;
using Masa.Blazor.ProApp.Rcl.Models;
using SQLite;

namespace Masa.Blazor.ProApp.Rcl.Data;

public class ProDatabase
{
public const string DatabaseFilename = "proapp.db";

public const SQLiteOpenFlags Flags =
// open the database in read/write mode
SQLiteOpenFlags.ReadWrite |
// create the database if it doesn't exist
SQLiteOpenFlags.Create |
// enable multi-threaded database access
SQLiteOpenFlags.SharedCache;

// public static string DatabasePath =>
// Path.Combine(FileSystem.AppDataDirectory, DatabaseFilename);

private SQLiteAsyncConnection? Database { get; set; }

[MemberNotNull(nameof(Database))]
async Task InitAsync()
{
if (Database is not null)
{
return;
}

Database = new SQLiteAsyncConnection(DatabaseFilename, Flags);
await Database.CreateTableAsync<TodoTask>();
}

public async Task<int> CreateTaskAsync(TodoTask task)
{
await InitAsync();
return await Database.InsertAsync(task);
}

public async Task UpdateTaskAsync(TodoTask task)
{
await InitAsync();
await Database.UpdateAsync(task);
}

public async Task<List<TodoTask>> GetTasksAsync(int page, int pageSize, DateTime dateTime = default)
{
await InitAsync();

var table = Database.Table<TodoTask>();

if (dateTime != default)
{
table = table.Where(u => u.DueAt.Date == dateTime.Date);
}

return await table
.Skip((page - 1) * pageSize)
.Take(pageSize)
.ToListAsync();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\..\MASA.Blazor\src\Masa.Blazor\Masa.Blazor.csproj" />
<ProjectReference Include="..\..\Masa.Blazor.Pro.Components\Masa.Blazor.Pro.Components.csproj" />
<ProjectReference Include="..\Masa.Blazor.Pro.Components\Masa.Blazor.Pro.Components.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="sqlite-net-pcl" Version="1.8.116" />
</ItemGroup>

</Project>
36 changes: 36 additions & 0 deletions Masa.Blazor.ProApp.Rcl/Models/Task.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
using System.ComponentModel.DataAnnotations;
using SQLite;

namespace Masa.Blazor.ProApp.Rcl.Models;

public class TodoTask
{
public TodoTask()
{
DueAt = DateTime.Today;
}

[PrimaryKey, AutoIncrement] public int Id { get; set; }

[Required] [Indexed] public string? Title { get; set; }

public string? Description { get; set; }

[Required] public DateTime DueAt { get; set; }

public TodoTaskPriority Priority { get; set; }

public bool Important { get; set; }

public bool Completed { get; set; }

public string? Tags { get; set; }
}

public enum TodoTaskPriority
{
Default,
Low,
Medium,
High
}
File renamed without changes.
Loading

0 comments on commit 1fdb74b

Please sign in to comment.