Make WordPress Core

Opened 2 years ago

Closed 22 months ago

Last modified 22 months ago

#61785 closed defect (bug) (fixed)

Misalignment of Search Text Box and Keywords Dropdown on Add New Plugin Page

Reported by: jomonthomaslobo1 Owned by: audrasjb
Priority: normal Milestone: 6.8
Component: Plugins Version: 6.6.1
Severity: normal Keywords: has-patch has-screenshots commit
Cc: Focuses: ui, css, administration

Description

Description:
On the Add New Plugin page, there is an issue with the alignment of the Search Text Box and the Keywords Dropdown. The two elements are not properly aligned, causing a visual inconsistency that can affect user experience.

Steps to Reproduce:

  1. Navigate to the Add New Plugin page.
  2. Observe the Search Text Box and Keywords Dropdown on the page.

Expected Result:
The Search Text Box and Keywords Dropdown should be properly aligned with each other, maintaining a consistent and professional appearance.

Actual Result:
The Search Text Box and Keywords Dropdown are misaligned, causing an uneven layout that disrupts the visual flow of the page.

Impact:
This misalignment affects the visual consistency of the page and may lead to a less intuitive user experience. It can also indicate potential issues with the page's CSS or layout configuration.

Screenshots:
https://i.imgur.com/WyqjVbR.png

Suggested Fix:

  1. Review and adjust the CSS styles or layout configuration for the Search Text Box and Keywords Dropdown to ensure proper alignment.
  2. Test the page in different browsers and screen sizes to ensure consistent alignment across various devices.

Severity: Minor

Additional Notes:

  • This issue should be addressed to enhance the user interface and overall user experience on the Add New Plugin page.

Attachments (4)

61785.patch​ (616 bytes ) - added by iflairwebtechnologies 2 years ago.
Fixed: #61785 Misalignment of Search Text Box and Keywords Dropdown on Add New Plugin Page
Screenshot 2024-10-18 at 12.10.05 PM.png​ (66.8 KB ) - added by peterwilsoncc 2 years ago.
before-patch.png​ (106.6 KB ) - added by shailu25 22 months ago.
Before Patch
after-patch.png​ (113.2 KB ) - added by shailu25 22 months ago.
After Patch

Download all attachments as: .zip

Change History (26)

This ticket was mentioned in ​Slack in #core by jomonthomaslobo1. ​View the logs.


2 years ago

#2 @sabernhardt
2 years ago

  • Component General → Plugins
  • Focuses administration added; template removed
  • Keywords needs-patch added; has-patch removed
  • Milestone Awaiting Review → Future Release
  • Version 6.6.1 → 6.6

This ticket was mentioned in ​PR #7108 on ​WordPress/wordpress-develop by ​@narenin.


2 years ago
#3

  • Keywords has-patch added; needs-patch removed

​jomonthomaslobo commented on ​PR #7108:


2 years ago
#4

https://core.trac.wordpress.org/ticket/61785#ticket Thanks for fixing.Look like the patch works
https://github.com/user-attachments/assets/1265ea8f-4941-4f97-8a2f-ff8ee11e6ad5

This ticket was mentioned in ​PR #7113 on ​WordPress/wordpress-develop by ​iflair.


2 years ago
#5

We have tested it with the patch provided above... But it seems like this is not working with many devices. Therefore we have attached the patch file for the solution and made it work across all devices.
Attached image: ​https://tinyurl.com/28xxju56

@iflairwebtechnologies
2 years ago

Fixed: #61785 Misalignment of Search Text Box and Keywords Dropdown on Add New Plugin Page

#6 follow-up: @iflairwebtechnologies
2 years ago

  • Version 6.6 → 6.6.1

@jomonthomaslobo1
We have tested it with the patch provided above... But it seems like this is not working with many devices. Therefore we have attached the patch file for the solution and made it work across all devices.
Attached image: ​https://tinyurl.com/28xxju56

#7 in reply to: ↑ 6 @jomonthomaslobo1
2 years ago

Thanks @iflairwebtechnologies

​iflair commented on ​PR #7113:


2 years ago
#8

We have tested it with the patch provided above... But it seems like this is not working with many devices. Therefore we have attached the patch file for the solution and made it work across all devices.
Attached image: ​https://tinyurl.com/28xxju56
Trac ticket URL : https://core.trac.wordpress.org/ticket/61785

​@jomonthomaslobo1 commented on ​PR #7113:


2 years ago
#9

@iflair @sagarbhatia-iflair Thanks for the updated fix

​@jomonthomaslobo1 commented on ​PR #7113:


2 years ago
#10

https://github.com/user-attachments/assets/f175ca1b-04a9-496c-8ebb-db346dffcd39
Works fine

#11 @SergeyBiryukov
2 years ago

  • Milestone Future Release → 6.7

#12 @peterwilsoncc
2 years ago

I'm seeing a regression on small screens in the linked pull request so will move this off the milestone as WP 6.7 is approaching the release candidate in a few days. See Screenshot 2024-10-18 at 12.10.05 PM.png​

#13 @peterwilsoncc
2 years ago

  • Milestone 6.7 → 6.8

This ticket was mentioned in ​PR #7935 on ​WordPress/wordpress-develop by ​@im3dabasia1.


2 years ago
#14

Trac ticket: https://core.trac.wordpress.org/ticket/61785

The margin in the search input box on the 'Add New Plugins' page was breaking below 1138px before the fix. Specifically, the top margin was set to 0px, and the overall appearance of the search box was inconsistent between 1000px and 1138px. There was no margin at the top or bottom during this range. Now, the margin is consistent across all breakpoints.

### Before:

https://github.com/user-attachments/assets/7e0ddba6-80b2-40f8-ace3-da54c9ffe8b2

### After:
#### Chrome Browser:

​https://github.com/user-attachments/assets/4117aa3a-6603-44a0-8d2d-ecc141e41475

#### Brave Browser:

​https://github.com/user-attachments/assets/aae70082-d3d5-4afd-8cd7-632e9bc2dfe8

#### Safari Browser:

​https://github.com/user-attachments/assets/ca4f855e-59dd-44f1-b618-9f9370c0373d

​@audrasjb commented on ​PR #7935:


22 months ago
#15

This changeset looks good to me.

​screen-capture (2).webm

​@audrasjb commented on ​PR #7935:


22 months ago
#16

This changeset looks good to me.

​screen-capture (2).webm

​@audrasjb commented on ​PR #7935:


22 months ago
#17

This changeset looks good to me.
​screen-capture (3).webm

#18 @audrasjb
22 months ago

  • Keywords has-screenshots commit added
  • Owner set to audrasjb
  • Status new → accepted

#19 @shailu25
22 months ago

Test Report

Description: This report validates the indicated patch works as expected.

PR Tested: ​https://github.com/WordPress/wordpress-develop/pull/7935

Environment

WordPress: 6.8-alpha-59702
PHP: 8.2.12
Browser: Firefox
OS: Windows
Theme: Twenty Twenty-One
Plugins: Beta Tester

Actual Results

  • Issue Resolved With Patch.✅

#20 @audrasjb
22 months ago

  • Resolution → fixed
  • Status accepted → closed

In 59706:

Plugins: Improve search box margin behavior in the Add Plugins screen.

This changeset fixes a margin issue in the search input box on the Add New Plugins screen, which was previously breaking below 1138px. Specifically, the top margin was set to 0px, and the overall appearance of the search box was inconsistent between 1000px and 1138px. Now, the margin is consistent across all breakpoints.

Props jomonthomaslobo1, narenin, iflairwebtechnologies, peterwilsoncc, audrasjb, shailu25.
Fixes #61785.

#21 @shailu25
22 months ago

@audrasjb I think you forgot to give prop to
@im3dabasia1 in this ticket.

#22 @audrasjb
22 months ago

@shailu25 thanks, fixed manually.

Note: See TracTickets for help on using tickets.