zulip/frontend_tests/casper_tests
Steve Howell 3a1bf04a56 compose: Add pills for typing in PM recipients.
@brockwhittaker wrote the original prototype for having
pills in the recipient box when users compose PMs (either
1:1 or huddle).  The prototype was test deloyed on our
main realm for several weeks.

This commit includes all the original CSS and HTML from
the prototype.

After some things changed with the codebase after the initial
test deployment, I made the following changes:

    * In prior commits I refactored out a module called
      `user_pill.js` that implemented some common functions
      against a more streamlined version of `input_pill.js`,
      and this commit largely integrates with that.

    * I made changes in a prior commit to handle Zephyr
      semantics (emails don't get validated) and tested
      this commit with zephyr.

    * I fixed a reload bug by extracting code out to
      `compose_pm_pill.js` and re-ordering some
      calls to `initialize`.

There are still two flaws related to un-pill-ified text in the
input:

    * We could be more aggressive about trying to pill-ify
      emails when you blur or tab away.

    * We only look at the pills when you send the message,
      instead of complaining about the un-pill-ified text.
      (Some folks may consider that a feature, but it's
      probably surprising to others.)
2018-03-07 15:53:11 -08:00
..
00-realm-creation.js urls: Use /new endpoint for creating new realm. 2018-02-28 13:47:54 -08:00
01-login.js casper: Always use REALMS_HAVE_SUBDOMAINS. 2017-08-24 20:44:37 -07:00
02-site.js lint: Fix several no-unused-vars eslint rule violations. 2016-12-03 18:43:47 -08:00
03-narrow.js right-sidebar: Enable up and down arrow keys. 2018-02-12 15:38:23 -08:00
04-compose.js compose: Add pills for typing in PM recipients. 2018-03-07 15:53:11 -08:00
05-subscriptions.js Revert "Streams: Disallow certain markdown characters in stream names." 2018-02-05 16:55:21 -08:00
06-settings.js display_settings: Change success/failure feedback interface. 2018-03-04 17:47:05 -08:00
07-stars.js 07-stars.js: Remove waitForText. 2017-06-07 13:41:59 -07:00
08-edit.js refactor: new message content -> compose textarea. 2017-11-28 12:53:40 -08:00
09-navigation.js Add stream ids to urls for stream-related narrows. 2018-02-19 09:03:11 -08:00
10-admin.js org settings: Change create stream permission to be dropdown. 2018-01-23 14:26:40 -05:00
11-mention.js markdown: Require double-asterisk around all mentions. 2018-02-16 11:45:08 -08:00
12-toggle-message-editing.js org settings: Make button-clicking code more clear. 2018-01-16 13:25:19 -05:00
13-user-deactivation.js Rename "Administration" to "Organization" in the settings UI. 2017-04-07 17:32:56 -07:00
14-drafts.js compose: Add pills for typing in PM recipients. 2018-03-07 15:53:11 -08:00
15-delete-message.js casper: Fix waiting condition in message deletion tests. 2017-05-30 22:49:59 -07:00