Page MenuHomePhabricator

Improve Conpherence column textarea JS behaviors
ClosedPublic

Authored by epriestley on Mar 14 2015, 6:50 PM.
Tags
None
Referenced Files
F14476259: D12086.diff
Sat, Dec 28, 2:00 AM
Unknown Object (File)
Thu, Dec 26, 12:11 PM
Unknown Object (File)
Thu, Dec 26, 12:11 PM
Unknown Object (File)
Thu, Dec 26, 12:11 PM
Unknown Object (File)
Thu, Dec 26, 12:11 PM
Unknown Object (File)
Thu, Dec 26, 11:50 AM
Unknown Object (File)
Tue, Dec 24, 7:52 PM
Unknown Object (File)
Wed, Dec 18, 2:15 PM
Subscribers

Details

Summary
  • Don't show a loading state on the whole column while sending chat. We could show some kind of minor loading state, but standard JX.Busy stuff will kick in after a couple seconds anyway.
  • Blank the textarea immediately on submit so you can start typing more text.
  • Don't disable the form while submiting; disabling it prevents you from typing more text.
  • Hide the placeholder while the textarea is focused. If we don't do this, the placeholder reappearing after submitting text feels weird to me.
Test Plan
  • Sent a lot of text.
  • Real fast.
  • Focused and unfocused the area.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Improve Conpherence column textarea JS behaviors.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: chad, btrahan.
chad edited edge metadata.
This revision is now accepted and ready to land.Mar 14 2015, 6:57 PM

General behavioral thing here is that typing a bunch of text real fast and mashing return a lot should send all the text you typed, not some of the text you typed.

This revision was automatically updated to reflect the committed changes.