Homec4science

Disable live previews on mobile

Authored by epriestley <git@epriestley.com> on Dec 22 2015, 21:27.

Description

Disable live previews on mobile

Summary:
Fixes T1895. Now that we have on-demand prviews, we can use them on mobile. On mobile:

  • don't show live previews;
  • only save drafts every 10 seconds.

Also, show fewer remarkup buttons on mobile to try to make sure the more important ones (preview, e.g.) fit.

Test Plan:

  • Made window narrower and wider to trigger preview/no-preview behavior.
  • Used DarkConsole to verify request rate.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T1895

Differential Revision: https://secure.phabricator.com/D14856

Details

Committed
epriestley <git@epriestley.com>Dec 22 2015, 21:52
Pushed
aubortJan 31 2017, 17:16
Parents
rPHf5ff10fe283d: Put inline previews in remarkup textareas
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH8752bd4966f1: Disable live previews on mobile (authored by epriestley <git@epriestley.com>).Dec 22 2015, 21:52