Page MenuHomePhabricator

Empty space in Ask your mentor dialogue
Closed, ResolvedPublic

Description

Steps to reproduce:

  1. Go to the homepage (sr.wiki)
  2. Click "Ask your mentor a question"

Screen Shot 2020-06-25 at 3.18.21 PM.png (596×574 px, 42 KB)

Actual result:
You can see that there is a lot of empty space at the bottom of the box. The problem occurs on all projects that use GrowthExperiments.

Expected result:
There shouldn't be that much empty space. :)

Event Timeline

@Acamicamacaraca: Assuming this task is about the GrowthExperiments-Homepage, hence adding that project tag so other people who don't know or don't care about team tags can also find this task when searching via projects.

@Acamicamacaraca: Assuming this task is about the GrowthExperiments-Homepage, hence adding that project tag so other people who don't know or don't care about team tags can also find this task when searching via projects.

Yes. Thank you!

Thanks @Acamicamacaraca - I moved the task to the current sprint team workboard.

@Acamicamacaraca -- thank you for filing this!

You're welcome :). It is in everyone's interest to solve these small problems.

I thought this was intentional (it's from applying the same size constraints we used for the help panel, since the two are sort of the same internally). @RHo am I misremembering?

I thought this was intentional (it's from applying the same size constraints we used for the help panel, since the two are sort of the same internally). @RHo am I misremembering?

Hi @Tgr - unfortunately I can't confirm as I was on leave during the design and implementation of the mentor dialog. However, given that this scneraio shows the question inside a centered dialog instead of the help panel which has a specific pinned position and size, I agree with this task to change it standard OOUI dialog window-frame dependent applied height and width:
Example expected dimensions in 1024px wide window:

image.png (1×2 px, 545 KB)

@Tgr is going to work on this one.

Change 620772 had a related patch set uploaded (by Gergő Tisza; owner: Gergő Tisza):
[mediawiki/extensions/GrowthExperiments@master] Remove large space in homepage mentor dialog and increase question box

https://gerrit.wikimedia.org/r/620772

Changed to standard OOUI dialog size. This still includes some empty space, but much less:

mentor dialog with less empty space.png (434×524 px, 32 KB)

We could make it fully dynamic, but I figured UI consistency with other dialogs is preferable.

Change 620772 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] Remove large space in homepage mentor dialog and increase question box

https://gerrit.wikimedia.org/r/620772

Looks good, with same comment as T256908 around allowing vertically resizing of the textarea only as a very minor improvement.