feat: Enrich DTOs and UI to display member names instead of UUIDs for task assignees, creators, and shift signups.
This commit is contained in:
@@ -17,7 +17,9 @@ public record ShiftDetailDto(
|
||||
);
|
||||
|
||||
public record ShiftSignupDto(
|
||||
Guid Id,
|
||||
Guid MemberId, string? ExternalUserId,
|
||||
DateTimeOffset SignedUpAt
|
||||
Guid Id,
|
||||
Guid MemberId,
|
||||
string? MemberName,
|
||||
string? ExternalUserId,
|
||||
DateTimeOffset SignedUpAt
|
||||
);
|
||||
|
||||
@@ -1,15 +1,17 @@
|
||||
namespace WorkClub.Application.Tasks.DTOs;
|
||||
|
||||
public record TaskDetailDto(
|
||||
Guid Id,
|
||||
string Title,
|
||||
string? Description,
|
||||
string Status,
|
||||
Guid? AssigneeId,
|
||||
Guid CreatedById,
|
||||
Guid ClubId,
|
||||
DateTimeOffset? DueDate,
|
||||
DateTimeOffset CreatedAt,
|
||||
DateTimeOffset UpdatedAt,
|
||||
bool IsAssignedToMe
|
||||
Guid Id,
|
||||
string Title,
|
||||
string? Description,
|
||||
string Status,
|
||||
Guid? AssigneeId,
|
||||
string? AssigneeName,
|
||||
Guid CreatedById,
|
||||
string? CreatedByName,
|
||||
Guid ClubId,
|
||||
DateTimeOffset? DueDate,
|
||||
DateTimeOffset CreatedAt,
|
||||
DateTimeOffset UpdatedAt,
|
||||
bool IsAssignedToMe
|
||||
);
|
||||
|
||||
@@ -8,10 +8,11 @@ public record TaskListDto(
|
||||
);
|
||||
|
||||
public record TaskListItemDto(
|
||||
Guid Id,
|
||||
string Title,
|
||||
string Status,
|
||||
Guid? AssigneeId,
|
||||
DateTimeOffset CreatedAt,
|
||||
bool IsAssignedToMe
|
||||
Guid Id,
|
||||
string Title,
|
||||
string Status,
|
||||
Guid? AssigneeId,
|
||||
string? AssigneeName,
|
||||
DateTimeOffset CreatedAt,
|
||||
bool IsAssignedToMe
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user