-
Notifications
You must be signed in to change notification settings - Fork 159
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
Redesign Task Requestor Details Modals #951
base: develop
Are you sure you want to change the base?
Redesign Task Requestor Details Modals #951
Conversation
Can you please also add a screenshot of the mobile view in the screenshot section and the design doc link too |
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 use params.get('dev') == 'true'
everywhere? check if a variable is already storing this otherwise make one and use that
} else { | ||
descriptionValue.textContent = userData.description; | ||
if (params.get('dev') == 'true') { | ||
if (userData.description) { | ||
descriptionValue.textContent = userData.description; | ||
} else { | ||
descriptionValue.textContent = 'N/A'; | ||
descriptionValue.className = 'proposed-description-value'; | ||
} | ||
} else { | ||
descriptionValue.textContent = userData.description; | ||
} | ||
} |
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.
please refactor this
Added a mobile UI view also |
Date: 24 Feb 2024
Developer Name: Hariom Vashista
Issue Ticket Number
Fixes: Issue #803
Description
This PR aims at redesigning the task request details modal and adding it under feature flag.
Documentation Updated?
Under Feature Flag
Database Changes
Breaking Changes
Development Tested?
Screenshots
Screenshot 1
Before:
Desktop View:
Mobile View:
After:
Desktop View:
Mobile View:
Test Coverage
Screenshot 1
Task Request Test Coverage:

Task Request Details Test Coverage:

Additional Notes
The task is under feature flag and after it has been tested on prod for 10-15 days and everything is working fine. Then a new task/PR will be created to remove the feature flag