Problem/Motivation

Using Drupal 8.9 in mobile, in the view settings page, the Save and the Cancel buttons are closer than they should be.

Steps to reproduce

  • Create a view from a mobile device
  • Find the Save and Cancel buttons in the views setting page

Proposed resolution

There should be some gap between those buttons.

Issue fork seven-3201325

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Kumar Ashutosh created an issue. See original summary.

bhumikavarshney’s picture

Status: Active » Needs review
StatusFileSize
new6.3 KB

I have created a patch regarding this issue.
Please review

abhijith s’s picture

StatusFileSize
new5.51 KB

Fixed custom commands fail issue in patch #1.

indrajithkb’s picture

Assigned: Unassigned » indrajithkb
indrajithkb’s picture

StatusFileSize
new31.91 KB
new32.35 KB

HI @Abhijith S thanks for the patch, i have applied the patch successfully and it's working as expected. Attaching the screenshot before and after the patch applied.

Before patch

before patch

After Patch

after patch

Adding RTBC +1

indrajithkb’s picture

Assigned: indrajithkb » Unassigned
adalbertov’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new52.29 KB
new61.94 KB

Hello people, i have reviewed the patch #3 has well. The changes seemed ok for me, and the patch worked too so I'm moving the issue to RTBC. (Also adding the print of before and after the patch)

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 3: 3201325-2.patch, failed testing. View results

indrajithkb’s picture

Status: Needs work » Needs review
Madhu kumar’s picture

StatusFileSize
new60.16 KB

Patch #3 is applied cleanly and working as expected , but there is one more issue where the page title is too long it will go out of the screen. sharing screenshot for reference.

bhumikavarshney’s picture

StatusFileSize
new6.39 KB
gauravvvv’s picture

StatusFileSize
new6.39 KB

Rerolled patch #11.

Needs review.

gauravvvv’s picture

StatusFileSize
new5.58 KB
djsagar’s picture

Status: Needs review » Needs work
StatusFileSize
new58.5 KB
new408.5 KB

After patch 3201325-12.patch applied cleanly and working as expected, but there is one more issue which i found, top and bottom space is not not equal as it before for more info please check the attachment.

There is also "Unexpected missing end-of-source newline" issue on this patch.

And interdiff is also missing.

Thanks!

djsagar’s picture

Status: Needs work » Needs review
StatusFileSize
new5.59 KB
new64.19 KB
new697 bytes

I re-uploading the patch with interdiff and also it's resolved issue which i mentioned on comment #15.

Please review.

Thanks!

tanmaykadam’s picture

Assigned: Unassigned » tanmaykadam
tanmaykadam’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new123.93 KB
new123.89 KB

Before applying the patch

After applying the patch

Verified and tested patch #21.
Patch applied successfully and looks good to me.

Testing steps:
# Goto: /admin/structure/views/view/block_content
# View buttons save and cancel for the mobile device should not stick to each other.

Looks good to me.
Please refer attached screenshots for Before and After patch.

tanmaykadam’s picture

Assigned: tanmaykadam » Unassigned
lauriii’s picture

Title: In mobile screen buttons get too closed » In mobile screen buttons get too close
Version: 8.9.x-dev » 9.2.x-dev
Status: Reviewed & tested by the community » Needs work

Can we tidy up the patch to only change the necessary parts to fix the bug?

tanmaykadam’s picture

Assigned: Unassigned » tanmaykadam
StatusFileSize
new456 bytes

@lauriii
Considering comment #19
I have updated the patch.
Please review the patch.

tanmaykadam’s picture

Assigned: tanmaykadam » Unassigned
Status: Needs work » Needs review
chetanbharambe’s picture

Assigned: Unassigned » chetanbharambe
chetanbharambe’s picture

Verified and tested patch #20.
Patch applied successfully and looks good to me.

Testing Steps:
# Go to any Responsiveness device.
# Goto: admin/structure/views/view/content
# Check Save and Cancel button

Expected Results:
# After Applying Patch, the User should see the Margin between Save and Cancel button.

Actual Results:
# Before Applying Patch, the User is able to see Save and Cancel buttons getting too Close.

Looks good to me.
Can be a move to RTBC.

chetanbharambe’s picture

Assigned: chetanbharambe » Unassigned
Status: Needs review » Reviewed & tested by the community

Version: 9.2.x-dev » 9.3.x-dev

Drupal 9.2.0-alpha1 will be released the week of May 3, 2021, which means new developments and disruptive changes should now be targeted for the 9.3.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 20: buttons-issue-3201325-20.patch, failed testing. View results

catch’s picture

Status: Needs work » Needs review

Restoring status after HEAD was broken.

rinku jacob 13’s picture

StatusFileSize
new70.63 KB
new64.84 KB

Verified and tested patch#20 on the drupal 9.3.x-dev version. Patch applied successfully and looks good to me.Adding screenshot for the reference.

chetanbharambe’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new276.78 KB
new281.15 KB
new269.63 KB
new269.31 KB

Verified and tested patch #20.
Patch applied successfully and looks good to me.

Testing Steps:
# Go to any Responsiveness device.
# Goto: admin/structure/views/view/content
# Check Save and Cancel button

Expected Results:
# After Applying Patch, the User should see the Margin between Save and Cancel button.

Actual Results:
# Before Applying Patch, the User is able to see Save and Cancel buttons getting too Close.

Looks good to me.
Can be a move to RTBC.

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.0-rc1 was released on November 26, 2021, which means new developments and disruptive changes should now be targeted for the 9.4.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

quietone’s picture

Status: Reviewed & tested by the community » Needs work
Issue tags: +Bug Smash Initiative

The patch in this issue is for 9.2.x and there are failing tests, it needs to be updated to 9.4.x.

@chetanbharambe, it helps reviewers if the before and after screenshots are included in the IS, a link to the file is fine. Check before posting screenshots, you have posted two sets on the same patch #20.

djsagar’s picture

Status: Needs work » Needs review
StatusFileSize
new456 bytes

Rerolled patch #20.

Status: Needs review » Needs work

The last submitted patch, 32: 3201325-32.patch, failed testing. View results

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.0-alpha1 was released on May 6, 2022, which means new developments and disruptive changes should now be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

longwave’s picture

Project: Drupal core » Seven
Version: 9.5.x-dev » 1.0.0-alpha1
Component: Seven theme » Code

The Seven theme has been removed from Drupal 10 core. I confirmed that this issue only affects Seven and no other themes included with Drupal core, so I am moving this to the contributed Seven project.

avpaderno’s picture

Version: 1.0.0-alpha1 » 1.0.x-dev
avpaderno’s picture

Title: In mobile screen buttons get too close » In mobile screens, buttons get too close
avpaderno’s picture

The patches are for Drupal core.

immaculatexavier made their first commit to this issue’s fork.

immaculatexavier’s picture

Status: Needs work » Needs review
avpaderno’s picture

Issue summary: View changes
Issue tags: -Needs merge request, -Needs reroll
avpaderno’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new15.92 KB

screenshot

avpaderno’s picture

  • avpaderno committed 8f66e1db on 2.0.x
    Issue #3201325: In mobile screens, buttons get too close
    
avpaderno’s picture

Status: Reviewed & tested by the community » Fixed
avpaderno’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.