-
Notifications
You must be signed in to change notification settings - Fork 160
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
Feature: Display User Details for Task Progress Updates #1292
Feature: Display User Details for Task Progress Updates #1292
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@AnujChhikara is attempting to deploy a commit to the RDS-Team Team on Vercel. A member of the Team first needs to authorize it. |
src/components/taskDetails/ProgressUpdateCard/LatestProgressUpdateCardPresentation.tsx
Outdated
Show resolved
Hide resolved
src/components/taskDetails/ProgressUpdateCard/LatestProgressUpdateCardPresentation.tsx
Show resolved
Hide resolved
src/components/taskDetails/ProgressUpdateCard/LatestProgressUpdateCardPresentation.tsx
Show resolved
Hide resolved
Can you please add mobile UI changes recording also. |
src/components/taskDetails/ProgressUpdateCard/ProgressUpdateCardPresentation.tsx
Outdated
Show resolved
Hide resolved
added |
src/components/taskDetails/ProgressUpdateCard/LatestProgressUpdateCardPresentation.tsx
Outdated
Show resolved
Hide resolved
src/components/taskDetails/ProgressUpdateCard/ProgressUpdateCardPresentation.tsx
Outdated
Show resolved
Hide resolved
src/components/taskDetails/ProgressUpdateCard/LatestProgressUpdateCard.tsx
Outdated
Show resolved
Hide resolved
src/components/taskDetails/ProgressUpdateCard/latest-progress-update-card.module.scss
Outdated
Show resolved
Hide resolved
src/components/taskDetails/ProgressUpdateCard/latest-progress-update-card.module.scss
Outdated
Show resolved
Hide resolved
src/components/taskDetails/ProgressUpdateCard/LatestProgressUpdateCardPresentation.tsx
Show resolved
Hide resolved
src/components/taskDetails/ProgressUpdateCard/LatestProgressUpdateCardPresentation.tsx
Show resolved
Hide resolved
src/components/taskDetails/ProgressUpdateCard/LatestProgressUpdateCardPresentation.tsx
Show resolved
Hide resolved
src/components/taskDetails/ProgressUpdateCard/progress-update-card.module.scss
Outdated
Show resolved
Hide resolved
src/components/taskDetails/ProgressUpdateCard/latest-progress-update-card.module.scss
Outdated
Show resolved
Hide resolved
@@ -37,6 +45,7 @@ export default function ProgressUpdateCardPresentation({ | |||
className={ | |||
styles['progress-update-card__more-less-button'] | |||
} | |||
data-testid="progress-update-card-read-more-completed" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Give this a better name
styles['progress-update-card__date-container'] | ||
<Tooltip | ||
tooltipPosition={ | ||
isDevMode |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you define the CSS here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am passing the css as props as to set the Tooltip position. We are already doing this in the repo with tooltip component.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Refactor this file as you used too much nesting
Date: 10 Dec 2024
Developer Name: @AnujChhikara
Issue Ticket Number
Description
This PR implementing a feature to display the details of the user who made the task progress update. The user image will be shown as a clickable link that leads to their user management page, ensuring accountability and transparency in task progress updates. When you hover over the user image it also show their username.
Documentation Updated?
Under Feature Flag
Database Changes
Breaking Changes
Development Tested?
Screenshots
Updated UI
Mobile UI
Dev Flag Working
Test Coverage
Screenshot 1
Additional Notes
Currently, the progress data does not include the
userData
field. After discussing with Ankush, we decided to proceed with the frontend changes behind a feature flag. Once this is complete, I will work on the backend implementation.To handle the
?dev=true
query parameter, I utilizeduseRouter
in the code. In the tests, I mockeduseRouter
to simulate scenarios where thedev
query parameter is set totrue
orfalse
.Additionally, I wrote extra tests to improve the overall test coverage.