Put the big empty textarea into a collapsed details element, and open it if there's anything inside (regression from D7).

Comments

salvis created an issue. See original summary.

salvis’s picture

Status: Active » Needs review
StatusFileSize
new1.95 KB

Here's the patch, as well as some more minor clean-up.

moshe weitzman’s picture

Status: Needs review » Closed (won't fix)
geek-merlin’s picture

Project: Devel » Devel PHP
Component: devel » Code
Status: Closed (won't fix) » Needs work
grimreaper’s picture

Hello,

Sorry, but I don't see the point to put the textarea into a details element, except that may had been a D7 behavior.

It adds an extra step to be able to use the form.

grimreaper’s picture

Category: Bug report » Feature request
Status: Needs work » Postponed (maintainer needs more info)
geek-merlin’s picture

+1 for #5/wontfix.

grimreaper’s picture

Assigned: salvis » Unassigned
Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new2.15 KB

Hello,

I think I understand the need now.

It is when the form is in the block. As there are 20 rows in the texarea it has an important height.

Here is a rework of the patch. So when using the /devel/php page, you don't have an additional click to do.

Thanks for the review.

salvis’s picture

Status: Needs review » Reviewed & tested by the community

Yes, exactly!

I always use the block, never the page, and I completely forgot about the page.

Thanks a lot, Grimreaper!

  • Grimreaper committed 9909b50 on 8.x-1.x
    Issue #2962993 by salvis, geek-merlin, Grimreaper: Tune the Execute PHP...
grimreaper’s picture

Status: Reviewed & tested by the community » Fixed

Hi Salvis,

Thanks for the feedback.

This is merged now!

Status: Fixed » Closed (fixed)

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