fable-compiler / repl-legacy

http://fable.io/repl
MIT License
14 stars 10 forks source link

Improve mobile experience ? #26

Open MangelMaxime opened 6 years ago

MangelMaxime commented 6 years ago

On twitter @dsyme mentioned:

On mobile people will just want to run samples, especially any education ones.

This give me some ideas, on focusing the mobile experience to be "read only". Like they pick the samples, run it and can see the code. But we don't need to focus on the edit experience etc.

This issue, is mostly a reminder for when I got some time

alfonsogarciacaro commented 6 years ago

Hmm, the REPL on mobile is going to be difficult. I tested it in an iPad pro and it was unusable because it was too slow. To run samples we already have the SAMPLES page. Maybe later when we have a backend for user scripts we can automatize the move from the REPL to the samples section.

MangelMaxime commented 6 years ago

I didn't test the performance but yes it they are that bad then, we can probably just show a page saying that the Repl is available only on desktop ?

alfonsogarciacaro commented 6 years ago

That could be an option, yes :)

MangelMaxime commented 5 years ago

We are now detecting the platform used by the user. If this is a mobile platform (mobile and tablet) then we display this message:

capture d ecran 2018-09-23 a 20 38 20