Skip to content

Commit

Permalink
Implemented Add an alert journey in TRS Console
Browse files Browse the repository at this point in the history
Implemented Add an alert journey + some tweaks to alert type reference data

Added ability to toggle Alerts feature on or off via config
  • Loading branch information
hortha committed Sep 18, 2024
1 parent acdf47a commit 775020c
Show file tree
Hide file tree
Showing 49 changed files with 6,157 additions and 80 deletions.
2 changes: 1 addition & 1 deletion TeachingRecordSystem/TeachingRecordSystem.sln
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TeachingRecordSystem.Author
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "gen", "gen", "{5E273A79-2EA3-46CD-9049-769F880868FE}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TeachingRecordSystem.Api.Generator", "gen\TeachingRecordSystem.Api.Generator\TeachingRecordSystem.Api.Generator.csproj", "{7EA8C0A7-C149-4928-8E37-55D44976D765}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TeachingRecordSystem.Api.Generator", "gen\TeachingRecordSystem.Api.Generator\TeachingRecordSystem.Api.Generator.csproj", "{7EA8C0A7-C149-4928-8E37-55D44976D765}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.AspNetCore.Mvc.RazorPages;
using TeachingRecordSystem.AuthorizeAccess.DataAnnotations;
using TeachingRecordSystem.UiCommon.DataAnnotations;
using TeachingRecordSystem.UiCommon.FormFlow;

namespace TeachingRecordSystem.AuthorizeAccess.Pages.RequestTrn;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ public void Configure(EntityTypeBuilder<AlertCategory> builder)
builder.HasData(
new AlertCategory { AlertCategoryId = Guid.Parse("ee78d44d-abf8-44a9-b22b-87a821f8d3c9"), Name = "EEA Decision" },
new AlertCategory { AlertCategoryId = Guid.Parse("0ae0707b-1503-477d-bc0f-1505ed95dbdf"), Name = "Failed induction" },
new AlertCategory { AlertCategoryId = Guid.Parse("768c9eb4-355b-4491-bb20-67eb59a97579"), Name = "Flags" },
new AlertCategory { AlertCategoryId = Guid.Parse("768c9eb4-355b-4491-bb20-67eb59a97579"), Name = "Flag" },
new AlertCategory { AlertCategoryId = Guid.Parse("06d98708-b52d-496a-aaa7-c1d7d2ca8b24"), Name = "GTC Decision" },
new AlertCategory { AlertCategoryId = Guid.Parse("70b7d473-2ec8-4643-bfd4-d4ab9a9a0988"), Name = "GTC Prohibition from teaching" },
new AlertCategory { AlertCategoryId = Guid.Parse("790410c1-b884-4cdd-8db9-64a042ab54ae"), Name = "GTC Restriction" },
new AlertCategory { AlertCategoryId = Guid.Parse("b2b19019-b165-47a3-8745-3297ff152581"), Name = "Prohibition from teaching" },
new AlertCategory { AlertCategoryId = Guid.Parse("e8a9ee91-bf7f-4f70-bc66-a644d522384e"), Name = "DBS" },
new AlertCategory { AlertCategoryId = Guid.Parse("e8a9ee91-bf7f-4f70-bc66-a644d522384e"), Name = "Restricted/DBS" },
new AlertCategory { AlertCategoryId = Guid.Parse("cbf7633f-3904-407d-8371-42a473fa641f"), Name = "Restriction" },
new AlertCategory { AlertCategoryId = Guid.Parse("38df5a00-94ab-486f-8905-d5b2eac04000"), Name = "Section 128 (SoS)" },
new AlertCategory { AlertCategoryId = Guid.Parse("227b75e5-bb98-496c-8860-1baea37aa5c6"), Name = "TRA Decision (SoS)" },
new AlertCategory { AlertCategoryId = Guid.Parse("ff18c0a8-aaea-4c8b-93a2-2206beea1d7a"), Name = "Not true alert" });
new AlertCategory { AlertCategoryId = Guid.Parse("e4057fc2-a010-42a9-8cb2-7dcc5c9b5fa7"), Name = "SoS Restriction" });
}
}

Large diffs are not rendered by default.

Loading

0 comments on commit 775020c

Please sign in to comment.