From af7ceaf7a2db8a2b892eaa70f5a87e95b7431bdd Mon Sep 17 00:00:00 2001 From: 0xsysr3ll <31414959+0xSysR3ll@users.noreply.github.com> Date: Tue, 19 Aug 2025 21:43:51 +0200 Subject: [PATCH] feat(requests): add user's avatar next to Requested/Last Modified by icon (#1750) * feat(requests): add user's avatar in front of Requested/Last Modified by * refactor(requests): wrap both the avatar and the username in Link * fix(requests): remove unnecessary margin between avatar and username --- src/components/RequestBlock/index.tsx | 43 ++++++++++++++++++++------- 1 file changed, 33 insertions(+), 10 deletions(-) diff --git a/src/components/RequestBlock/index.tsx b/src/components/RequestBlock/index.tsx index 6f428a90e..2ebc9f230 100644 --- a/src/components/RequestBlock/index.tsx +++ b/src/components/RequestBlock/index.tsx @@ -1,5 +1,6 @@ import Badge from '@app/components/Common/Badge'; import Button from '@app/components/Common/Button'; +import CachedImage from '@app/components/Common/CachedImage'; import Tooltip from '@app/components/Common/Tooltip'; import RequestModal from '@app/components/RequestModal'; import useRequestOverride from '@app/hooks/useRequestOverride'; @@ -95,36 +96,58 @@ const RequestBlock = ({ request, onUpdate }: RequestBlockProps) => {
- - - - + + + + + + + {request.requestedBy.displayName}
{request.modifiedBy && (
- - - - + + + + + + + {request.modifiedBy.displayName}