TryAPL icon indicating copy to clipboard operation
TryAPL copied to clipboard

Provide GO button on mobile

Open abrudz opened this issue 2 years ago • 8 comments

When hiding the single-line input field, replace it with a purple ▷ in the lower right, for mobiles without Enter

abrudz avatar Jul 15 '21 13:07 abrudz

Hi @abrudz, Do you have any suggestions as to where the button should be on the screen?

Edit: Do you think adding a floating purple button on the bottom right corner is a good choice?

image

sloorush avatar Apr 10 '24 12:04 sloorush

I don't see any better options, but why do we hide the single-line input field on mobile?

abrudz avatar Apr 15 '24 08:04 abrudz

why do we hide the single-line input field on mobile?

That is true, I think the single line input field could also solve the issue.

sloorush avatar Apr 16 '24 06:04 sloorush

From what I could find, it is intentionally hidden on mobile devices. It was done in the initial git (GitHub) commit. Do we have any old git or svn history to find more information on why it was done?

https://github.com/Dyalog/TryAPL/blob/7cc020a7b5a98306027634af8bf2d1a0a68482d4/style.css#L27-L31

sloorush avatar Apr 16 '24 07:04 sloorush

There was private history before then. @rikedyp might remember why we did this, but at this point, I think we can just always show it.

abrudz avatar Apr 16 '24 08:04 abrudz

I think I found out why it was intentionally hidden:

So it looks like this when I test on my PC browser emulating a phone (All good):

image

But it looks like this default on the phone (single line bar is hidden behind the bottom menu bar):

But if I zoom out and the browser enables a (kind of) full-screen mode it looks like this (All good):

sloorush avatar Apr 16 '24 11:04 sloorush

Ah yes, I remember now. The mobile browser will hide the bottom of the screen with a keyboard. We really should implement on-screen keyboard ourselves…

abrudz avatar Apr 16 '24 12:04 abrudz

Ah okay! I will try to get it to be visible or add the circle floating run button as we discussed above.

sloorush avatar Apr 18 '24 07:04 sloorush