management(Agile) Added tasks for adding analytics
This commit is contained in:
@@ -74,8 +74,6 @@ else
|
|||||||
return 1.0f - (Toast.Age - fadeoutTime) / (removalTime - fadeoutTime);
|
return 1.0f - (Toast.Age - fadeoutTime) / (removalTime - fadeoutTime);
|
||||||
}
|
}
|
||||||
|
|
||||||
int elapsed = 0;
|
|
||||||
|
|
||||||
protected override void OnInitialized()
|
protected override void OnInitialized()
|
||||||
{
|
{
|
||||||
toastService.Subscribe(OnUpdate);
|
toastService.Subscribe(OnUpdate);
|
||||||
|
|||||||
Binary file not shown.
@@ -1,11 +1,11 @@
|
|||||||
@page "/changelog"
|
@page "/changelog"
|
||||||
@implements IDisposable;
|
@implements IDisposable;
|
||||||
@inject IGitService GitService;
|
@inject IGitService gitService;
|
||||||
|
|
||||||
@layout PageLayout
|
@layout PageLayout
|
||||||
|
|
||||||
|
|
||||||
@if (GitService.IsLoaded())
|
@if (gitService.IsLoaded())
|
||||||
{
|
{
|
||||||
<LayoutMediumContentComponent>
|
<LayoutMediumContentComponent>
|
||||||
<WebsiteTitleComponent>Change Log</WebsiteTitleComponent>
|
<WebsiteTitleComponent>Change Log</WebsiteTitleComponent>
|
||||||
@@ -90,32 +90,21 @@ else
|
|||||||
|
|
||||||
@code {
|
@code {
|
||||||
|
|
||||||
#if NO_SQL
|
private IEnumerable<GitPatchModel> Patches => gitService.GitPatchModels;
|
||||||
public List<GitPatchModel> Patches => GitService.GitPatchModels;
|
|
||||||
|
|
||||||
public List<GitChangeModel> Changes => GitService.GitChangeModels;
|
private List<GitChangeModel> Changes => gitService.GitChangeModels;
|
||||||
#else
|
|
||||||
[Inject]
|
|
||||||
DatabaseContext Database { get; set; }
|
|
||||||
|
|
||||||
[Parameter]
|
|
||||||
public DbSet<PatchModel> Patches { get; set; }
|
|
||||||
|
|
||||||
[Parameter]
|
|
||||||
public DbSet<ChangeModel> Changes { get; set; }
|
|
||||||
#endif
|
|
||||||
|
|
||||||
private bool isViewImportant = true;
|
private bool isViewImportant = true;
|
||||||
|
|
||||||
|
|
||||||
protected override void OnInitialized()
|
protected override void OnInitialized()
|
||||||
{
|
{
|
||||||
GitService.Subscribe(HasChanged);
|
gitService.Subscribe(HasChanged);
|
||||||
}
|
}
|
||||||
|
|
||||||
void IDisposable.Dispose()
|
void IDisposable.Dispose()
|
||||||
{
|
{
|
||||||
GitService.Unsubscribe(HasChanged);
|
gitService.Unsubscribe(HasChanged);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -131,7 +120,7 @@ else
|
|||||||
|
|
||||||
protected override async Task OnInitializedAsync()
|
protected override async Task OnInitializedAsync()
|
||||||
{
|
{
|
||||||
await GitService.Load();
|
await gitService.Load();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user