Comments

mherchel created an issue. See original summary.

mherchel’s picture

Issue summary: View changes
gauravvvv’s picture

Status: Active » Needs review
Related issues: +#3192656: Text inputs can create horizontal scrolling at narrow viewports in Olivero
StatusFileSize
new755 bytes
new55.26 KB

I have attached a patch, please verify if it is working or not.

Adding after patch screenshot for ref.

mitthukumawat’s picture

StatusFileSize
new41.06 KB

I manually tested the patch #3 and it is working fine. Adding after patch screenshot for reference.

kristen pol’s picture

Issue tags: +Bug Smash Initiative

@mitthukumawat Your screenshot shows the overflow issue. Did you upload the wrong image?

I reviewed the code change and it's fine and tests are passing. If we get a good screenshot with it patched, this is RTBC if we don't need tests which I'm assuming we don't for this type of visual issue. Well, unless we want to fix Bartik now as well, or that could be a follow-up issue.

mitthukumawat’s picture

StatusFileSize
new348.2 KB

@Kristen Pol
I have added that screenshot for bartik theme. I am adding new screenshot for Olivero. We will need it to be fixed for bartik theme as well.

gauravvvv’s picture

Report Bartik issue on Bartik theme, not here. @mitthukumawat.

mitthukumawat’s picture

@Gauravmahlawat You are right, I have created that issue in bartik theme.

manojithape’s picture

StatusFileSize
new75.92 KB
new84.66 KB

Verified and tested patch#3 on the drupal 9.3.x-dev version and Olivero 9.3.0-dev version. Patch applied successfully and looks good to me.

Testing Steps:

  1. Install drupal 9.3.x-dev version with default Umami demo site profile.
  2. Go to Appearance -> Set Olivero theme as admin and default theme
  3. Go to Content and click on any recipe content.
  4. Click on the "Quick Edit" option.
  5. Observe the Quick edit in Tabledrag has overflow on the other part of the page.
  6. Now apply the patch and clear catche.
  7. Again go to the content view page and click on "Quick Edit" option and verify after patch at time of Quick edit Tabledrag not overflow on the other part of the page.

Testing Results:
After applying the patch Quick edit in Tabledrag has not overflow on the other part of the page.
Please refer attached Before patch and After patch images for reference.

Moving this ticket to RTBC.

manojithape’s picture

Status: Needs review » Reviewed & tested by the community

Status: Reviewed & tested by the community » Needs work

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

gauravvvv’s picture

Status: Needs work » Reviewed & tested by the community

Random failure, moving to RTBC

mherchel’s picture

Status: Reviewed & tested by the community » Needs work

It looks like you're setting 100% on all form inputs. This will cause unintended visual changes. The fix should only affect the one specific use case.

gauravvvv’s picture

StatusFileSize
new824 bytes

Patch updated. please review.

gauravvvv’s picture

Status: Needs work » Needs review
gauravvvv’s picture

StatusFileSize
new874 bytes

Patch updated.

gauravvvv’s picture

kristen pol’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community
StatusFileSize
new265.08 KB
new141.46 KB

Thanks for the update. Marking RTBC based on:

  1. Manually tested similar to #9 and the overflow is fixed (see screenshots)
  2. Also used quick edit form to make changes and they worked as expected
  3. CSS is now limited to quickedit-form per feedback in #13
  4. Automated tests pass
  5. Assume additional tests aren't needed since this may be very difficult to write a test for

lauriii’s picture

Status: Reviewed & tested by the community » Needs work
StatusFileSize
new147.64 KB

I'm not sure how this is supposed to work but I'm not sure this is more usable than before. For example on my screen, you can see how narrow the textfields are after applying the patch:

indrajithkb’s picture

Status: Needs work » Needs review
StatusFileSize
new2.16 KB
new1.08 KB
new19.49 KB
new23.6 KB

Hi @Gauravmahlawat thanks for the #16 patch.

Hi @lauriii i have made some changes (Reduced the space b/w the input fields) please review.

Adding screenshot after reduced space.

image

image

indrajithkb’s picture

StatusFileSize
new2 KB
new391 bytes

Fixing the custom command failure.

guilhermevp’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new91.83 KB
new165.64 KB

Patch #21 has good spacing for the column. Works as intended. Moving to rtbc.

Before:
1

After:
2

lauriii’s picture

Status: Reviewed & tested by the community » Needs work
Issue tags: +Usability

Based on screenshots in #20, I think #19 is still an issue. Maybe this is something that should be reviewed in one of the UX meetings.

aaronmchale’s picture

Hi all

We discussed this issue at #3221110: Drupal Usability Meeting 2021-07-02.

We first looked at the screenshots and then tested the patch on a local Drupal site to compare what was happening.

After discussing this for a bit we settled on the following points/recommendations:

  1. We thought that the patch was generally an improvement over the current situation.
  2. However, we did wonder if it was possible for text input boxes to wrap their text, so it doesn't overflow and doesn't require scrolling the cursor along to read everything. I did a quick search online and it looks like it might not be possible for text inputs, despite that we still felt this was an improvement.
  3. It would seem that this problem likely occurs for other themes where Quick Edit is used and may not be specific to Olivero. We felt it would be best to try and fix this problem in Quick Edit itself. Since Quick Edit is injecting its UI and CSS into the page when it is in use, we felt this was appropriate, fix it for all themes not just one. I also noted that there may be precedent for doing this, I was involved in a similar kind of fix for select lists on the Off Canvas Dialogue #3043467: Multi-select list items "escape" bounding box in Off-Canvas Forms when using WebKit and Mozilla based browsers which landed in a minor release (actually was yourself @lauriii who signed off on us fixing that).
  4. I have a feeling I'm forgetting something, but can't check until the recording is posted, so I might be back with an update tomorrow, either way, points 1-3 stand.

Edit 6 July 21: I reviewed the recording and I believe I did cover all the key points above, so striking off point 4 above as it is no longer relevant.

Thanks,
-Aaron

benjifisher’s picture

I said this at the Usability meeting yesterday. The whole point of Quickedit, rather than the traditional edit form, is to see the things you are editing in context. Comparing the two screenshots in #22, I think the one with the patch applied does a better job.

I did not see anything with the text cut off like the screenshot in #19. I think that is because the patches in #20, #21 made an improvement.

aaronmchale’s picture

Title: Olivero: Quickedit in Tabledrag has overflow » Quickedit in Tabledrag has overflow
Component: Olivero theme » quickedit.module

As per #24, moving this to quickedit.module, to see if we can address this issue in the Quick Edit CSS itself.

swatichouhan012’s picture

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.

spokje’s picture

Project: Drupal core » Quick Edit
Version: 9.4.x-dev » 1.0.x-dev
Component: quickedit.module » Code

Due to Quickedit being moved out of Drupal Core and into a Contrib Module, moving this issue to the Contrib Module queue.