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

Fix: Prevent Code Format Overflow in Task Request Page #927

Merged

Conversation

AnujChhikara
Copy link
Contributor

@AnujChhikara AnujChhikara commented Dec 11, 2024

Date: 11 Dec, 2024

Developer Name: @AnujChhikara


Issue Ticket Number

Description

This pull request resolves the issue where content written in code format under "Expected Behavior" and "Current Behavior" on the Task Request page would overflow its container, resulting in a broken UI.

Documentation Updated?

  • Yes
  • No

Under Feature Flag

  • Yes
  • No

Database Changes

  • Yes
  • No

Breaking Changes

  • Yes
  • No

Development Tested?

  • Yes
  • No

Screenshots

Screenshot 1

image

Test Coverage

Screenshot 1

image

Additional Notes

Copy link
Contributor

@fakhruddinkw fakhruddinkw left a comment

Choose a reason for hiding this comment

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

LGTM

@iamitprakash iamitprakash merged commit 8ce0841 into Real-Dev-Squad:develop Dec 16, 2024
4 checks passed
@AnujChhikara AnujChhikara deleted the fix_content_overflow branch December 16, 2024 09:00
iamitprakash pushed a commit that referenced this pull request Dec 18, 2024
* Added input validation and toast based on api response - behind dev flag.

* Added tests for input validation and edit button under dev flag.

* Added dev flag in ER update api request.

* Resolved failing test cases.

* Updated failing tests based on new changes.

* Added missing tests.

* Changed the confusing dev feature flag name.

* Added Error Handling for Unavailable user details.

* Changes style values to 8/4 metric and made toast timing a constant.

* Changed the getSelfUser endpoint to new one.

* Updated the getSelfUser() url for tests.

* Fix: Prevent Code Format Overflow in Task Request Page (#927)

added code css property

* Added input validation and toast based on api response - behind dev flag.

* Took latest pull from develop and merged it.

* Added missing tests.

* Changes style values to 8/4 metric and made toast timing a constant.

* Made shouldDisplayEditButton() a pure function.

* Added tests for input validation and edit button under dev flag.

* Updated failing tests based on new changes.

* Added missing tests.

* Made shouldDisplayEditButton() a pure function.

* Rebased and removed duplicate tests.

---------

Co-authored-by: Rishi <[email protected]>
Co-authored-by: Anuj Chhikara <[email protected]>
@Achintya-Chatterjee Achintya-Chatterjee mentioned this pull request Dec 19, 2024
10 tasks
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.

UI Broken on Task Request Page When Using Code Format
4 participants