Skip to content
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

Open
wants to merge 10 commits into
base: develop
Choose a base branch
from

Conversation

Hariom01010
Copy link
Contributor

@Hariom01010 Hariom01010 commented Feb 24, 2025

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?

  • Yes
  • No

Under Feature Flag

  • Yes
  • No

Database Changes

  • Yes
  • No

Breaking Changes

  • Yes
  • No

Development Tested?

  • Yes
  • No

Screenshots

Screenshot 1

Before:

Desktop View:

Screenshot 2025-02-24 190221
Screenshot 2025-02-24 190300

Mobile View:

Screenshot 2025-02-24 200515

After:

Desktop View:

Screenshot 2025-02-24 190235
Screenshot 2025-02-24 190326

Mobile View:

Screenshot 2025-02-24 195450

Test Coverage

Screenshot 1

Task Request Test Coverage:
task request

Task Request Details Test Coverage:
TASK REQUEST DETAILS TEST

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

@RishiChaubey31
Copy link
Member

RishiChaubey31 commented Feb 24, 2025

Can you please also add a screenshot of the mobile view in the screenshot section and the design doc link too

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

Comment on lines 711 to 722
} 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;
}
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please refactor this

@Hariom01010
Copy link
Contributor Author

Can you please also add a screenshot of the mobile view in the screenshot section and the design doc link too

Added a mobile UI view also

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants