-
Notifications
You must be signed in to change notification settings - Fork 3
feature/AB#9074 - Add Comments to Applicant profile #2190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
8e67f97
feature/AB#9074 - Add Applicant Comments
plavoie-BC d42e584
Merge branch 'dev' into feature/AB#9074-applicant-comments
plavoie-BC 3837bd1
Merge branch 'dev' into feature/AB#9074-applicant-comments
plavoie-BC 78422d7
[AB#9074] Refactor comments widget manager and update counters
plavoie-BC 4b8fb26
[AB#9074] Update comments widget to refresh counters on init
plavoie-BC 2309307
[AB#9074] Update EmailCommentDto and adjust comment links
plavoie-BC c909a1e
[AB#9074] Replace NotImplementedException with ArgumentOutOfRangeExce…
plavoie-BC 202dfae
Update customization: feature-planner.agent.md
plavoie-BC 339b1db
Update customization: feature-planner.agent.md
plavoie-BC 664a69a
Merge remote-tracking branch 'origin/dev' into feature/AB#9074-applic…
plavoie-BC 2f087a8
[AB#9074] SonarQube fixes
plavoie-BC 15e91f0
[AB#9074] Comment fix
plavoie-BC b45a936
Merge remote-tracking branch 'origin/dev' into feature/AB#9074-applic…
plavoie-BC fa5e634
[AB#9074] Refactor CommentType to use enum in EmailCommentDto
plavoie-BC 3f019d7
[AB#9074] Add GetBaseUrlAsync method and refactor comment link genera…
plavoie-BC 4cc3cd7
[AB#9074] Simplify CommentType enum by removing explicit values
plavoie-BC 74f0a67
[AB#9074] Re-apply ApplicantComments migration
plavoie-BC 5ba8a8e
[AB#9074] Apply suggestions from code review
plavoie-BC b63b26b
[AB#9074] Code Quality Improvements
plavoie-BC fe961c6
Merge branch 'dev' into feature/AB#9074-applicant-comments
plavoie-BC 56b69fc
feature/AB#9074-FixImportsUnused
JamesPasta 5f3bce4
Merge branch 'dev' into feature/AB#9074-applicant-comments
JamesPasta File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
2 changes: 1 addition & 1 deletion
2
applications/Unity.GrantManager/.github/skills/abp-cli/SKILL.md
This file contains hidden or 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
5 changes: 3 additions & 2 deletions
5
...ity.Notifications/src/Unity.Notifications.Application.Contracts/Emails/EmailCommentDto.cs
This file contains hidden or 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,16 @@ | ||
| using System; | ||
| using System.Collections.Generic; | ||
| using Unity.Notifications.Comments; | ||
|
|
||
| namespace Unity.Notifications.Emails; | ||
|
|
||
| [Serializable] | ||
| public class EmailCommentDto | ||
| { | ||
| public string Subject { get; set; } = string.Empty; | ||
| public string From { get; set; } = string.Empty; | ||
| public string Body { get; set; } = string.Empty; | ||
| public string ApplicationId { get; set; } = string.Empty; | ||
| public string OwnerId { get; set; } = string.Empty; | ||
| public CommentType CommentType { get; set; } | ||
| public List<string> MentionNamesEmail { get; set; } = []; | ||
| public string? EmailTemplateName { get; set; } = string.Empty; | ||
| } | ||
This file contains hidden or 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
12 changes: 12 additions & 0 deletions
12
...modules/Unity.Notifications/src/Unity.Notifications.Domain.Shared/Comments/CommentType.cs
This file contains hidden or 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,12 @@ | ||
| using System.Text.Json.Serialization; | ||
|
|
||
| namespace Unity.Notifications.Comments; | ||
|
|
||
| /// Edit Unity.GrantManager.Comments.CommentType if changing this enum as it is shared between the two projects and used in the API layer. | ||
| [JsonConverter(typeof(JsonStringEnumConverter))] | ||
| public enum CommentType | ||
| { | ||
| ApplicationComment, | ||
| AssessmentComment, | ||
| ApplicantComment, | ||
| } |
This file contains hidden or 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
16 changes: 10 additions & 6 deletions
16
applications/Unity.GrantManager/src/Unity.GrantManager.Domain.Shared/Comments/CommentType.cs
This file contains hidden or 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,8 +1,12 @@ | ||
| namespace Unity.GrantManager.Comments | ||
| using System.Text.Json.Serialization; | ||
|
|
||
| namespace Unity.GrantManager.Comments; | ||
|
|
||
| /// If changing this enum, also update the corresponding Unity.Notifications.Comments.CommentType enum, as it is shared between the two projects and used in the API layer. | ||
| [JsonConverter(typeof(JsonStringEnumConverter))] | ||
| public enum CommentType | ||
| { | ||
| public enum CommentType | ||
| { | ||
| ApplicationComment, | ||
| AssessmentComment | ||
| } | ||
| ApplicationComment, | ||
| AssessmentComment, | ||
| ApplicantComment, | ||
| } |
8 changes: 8 additions & 0 deletions
8
applications/Unity.GrantManager/src/Unity.GrantManager.Domain/Comments/ApplicantComment.cs
This file contains hidden or 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,8 @@ | ||
| using System; | ||
|
|
||
| namespace Unity.GrantManager.Comments; | ||
|
|
||
| public class ApplicantComment : CommentBase | ||
| { | ||
| public Guid ApplicantId { get; set; } | ||
| } |
9 changes: 4 additions & 5 deletions
9
applications/Unity.GrantManager/src/Unity.GrantManager.Domain/Comments/ApplicationComment.cs
This file contains hidden or 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,9 +1,8 @@ | ||
| using System; | ||
|
|
||
| namespace Unity.GrantManager.Comments | ||
| namespace Unity.GrantManager.Comments; | ||
|
|
||
| public class ApplicationComment : CommentBase | ||
| { | ||
| public class ApplicationComment : CommentBase | ||
| { | ||
| public Guid ApplicationId { get; set; } | ||
| } | ||
| public Guid ApplicationId { get; set; } | ||
| } |
9 changes: 4 additions & 5 deletions
9
applications/Unity.GrantManager/src/Unity.GrantManager.Domain/Comments/AssessmentComment.cs
This file contains hidden or 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,9 +1,8 @@ | ||
| using System; | ||
|
|
||
| namespace Unity.GrantManager.Comments | ||
| namespace Unity.GrantManager.Comments; | ||
|
|
||
| public class AssessmentComment : CommentBase | ||
| { | ||
| public class AssessmentComment : CommentBase | ||
| { | ||
| public Guid AssessmentId { get; set; } | ||
| } | ||
| public Guid AssessmentId { get; set; } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.