Page MenuHomePhabricator

Improve Conpherence column textarea JS behaviors
ClosedPublic

Authored by epriestley on Mar 14 2015, 6:50 PM.
Tags
None
Referenced Files
F15416646: D12086.id29070.diff
Thu, Mar 20, 12:46 PM
F15413665: D12086.diff
Wed, Mar 19, 8:25 PM
F15391492: D12086.id29072.diff
Sat, Mar 15, 10:13 AM
F15387216: D12086.diff
Sat, Mar 15, 2:01 AM
F15380713: D12086.id29070.diff
Fri, Mar 14, 4:12 AM
Unknown Object (File)
Tue, Feb 25, 2:56 AM
Unknown Object (File)
Feb 9 2025, 6:11 PM
Unknown Object (File)
Jan 25 2025, 3:09 AM
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.