zulip/zproject
Shubham Padia e228687094 search: Make search query a contenteditable div for search pill.
Input pills require a contenteditable div with a class named input
to fall inside the pill container. On converting the input tag into
a div, the size of the input decreases which is compensated by a
line-height of 40px. Comment above letter-spacing:normal was removed
as chrome and firefox do not change the letter-spacing to normal
for a div via the default browser stylesheet.

NOTE: Currently writing something into the div will call the action
corresponding to that key in the keyboard shortcuts. The input will
work fine once the pills have been initiated.

For the casper tests, for now, we just use the legacy search code.
When we change that, $.val() cannot be used on contenteditable div, so
$.html() will need to be used instead in select_item_via_typeahead.
2018-07-23 11:29:10 -07:00
..
jinja2 zproject: Change use of typing.Text to str. 2018-05-10 14:19:49 -07:00
__init__.py Rename Django project to zproject. 2013-08-07 11:04:03 -04:00
backends.py auth: Restore a minimal SocialAuthMixin. 2018-07-03 18:53:59 +02:00
dev_settings.py search: Add setting to control whether search pills are enabled. 2018-07-23 11:29:10 -07:00
dev_urls.py casper: Show casper debug files in the dev server. 2018-06-04 09:02:58 -07:00
email_backends.py requirements: Upgrade pyflakes to 2.0.0. 2018-05-24 11:31:36 -07:00
legacy_urls.py urls: Move the json/fetch_api_key endpoint to be an API-style route. 2018-01-08 13:15:52 -05:00
prod_settings_template.py thumbnaling: Support S3 upload backend in thumbor. 2018-07-15 00:57:59 +05:30
settings.py search: Add setting to control whether search pills are enabled. 2018-07-23 11:29:10 -07:00
slack_importer_test_settings.py slack importer: Use standalone database for running tests. 2018-01-07 09:50:27 -05:00
terms.md.template Add TERMS_OF_SERVICE setting. 2016-07-29 20:47:31 -07:00
test_settings.py search: Make search query a contenteditable div for search pill. 2018-07-23 11:29:10 -07:00
urls.py thumbor: Complete implementation of thumbnailing. 2018-07-15 00:39:41 +05:30
wsgi.py python: Add lint rule banning 'from os.path import'. 2017-09-22 04:55:38 -07:00