-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixed a number of snags * Added paging to cases + exclude non-uploaded file annotations from document queries * Aligned UI and CRM paging for Cases * Fixed broken test * Refactored how we get incident details and documents so that it is testable using fake XRM * Fixed compiler warning
- Loading branch information
Showing
32 changed files
with
265 additions
and
124 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
4 changes: 4 additions & 0 deletions
4
TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/Models/GetIncidentsResult.cs
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,4 @@ | ||
namespace TeachingRecordSystem.Core.Dqt.Models; | ||
|
||
public record GetIncidentsResult(Incident[] Incidents, int TotalRecordCount); | ||
|
5 changes: 5 additions & 0 deletions
5
TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/Models/IncidentDetail.cs
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,5 @@ | ||
namespace TeachingRecordSystem.Core.Dqt.Models; | ||
|
||
public record IncidentDetail(Incident Incident, Contact Contact, Subject Subject, IncidentDocument[] IncidentDocuments); | ||
|
||
public record IncidentDocument(dfeta_document Document, Annotation Annotation); |
2 changes: 1 addition & 1 deletion
2
TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/Queries/GetActiveIncidentsQuery.cs
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,3 +1,3 @@ | ||
namespace TeachingRecordSystem.Core.Dqt.Queries; | ||
|
||
public record GetActiveIncidentsQuery : ICrmQuery<Incident[]>; | ||
public record GetActiveIncidentsQuery(int PageNumber, int PageSize) : ICrmQuery<GetIncidentsResult>; |
2 changes: 1 addition & 1 deletion
2
...gRecordSystem/src/TeachingRecordSystem.Core/Dqt/Queries/GetIncidentByTicketNumberQuery.cs
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,3 +1,3 @@ | ||
namespace TeachingRecordSystem.Core.Dqt.Queries; | ||
|
||
public record GetIncidentByTicketNumberQuery(string TicketNumber) : ICrmQuery<(Incident, dfeta_document[])?>; | ||
public record GetIncidentByTicketNumberQuery(string TicketNumber) : ICrmQuery<IncidentDetail?>; |
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
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
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
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
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
Oops, something went wrong.