feat(jobs): complete workspace draft parity
CI and Deploy / test (pull_request) Successful in 5m4s
CI and Deploy / deploy (pull_request) Has been skipped

This commit is contained in:
cesnimda
2026-08-15 17:34:32 +02:00
parent 3b86ea2da0
commit deed948183
28 changed files with 676 additions and 131 deletions
@@ -34,6 +34,8 @@ public sealed record WorkspaceOverviewDto(
string? DescriptionLanguage,
IReadOnlyList<string> Tags,
string? Notes,
string? ApplicationAnswerDraft,
string? RecruiterMessageDraft,
string? Source,
string? CountryCode,
bool HasJobDescription,
@@ -131,7 +133,9 @@ public sealed class ApplicationWorkspaceService : IApplicationWorkspaceService
job.TranslatedDescription,
job.DescriptionLanguage,
JobApplicationHelpers.SplitTags(job.Tags).Distinct(StringComparer.OrdinalIgnoreCase).ToList(),
job.Notes,
JobApplicationHelpers.RemoveSavedApplicationAnswerDraft(job.Notes),
JobApplicationHelpers.ExtractSavedApplicationAnswerDraft(job.Notes),
job.RecruiterMessageDraft,
job.Job?.Source,
job.Job?.CountryCode,
!string.IsNullOrWhiteSpace(job.Description) || !string.IsNullOrWhiteSpace(job.TranslatedDescription),