zulip/frontend_tests
Vaibhav 1f76374e32 message_list_view: Move edited position conditionals to JS.
This adds three bools to message_container object which calculate bools
where the "(EDITED)" label should appear:

* `edited_in_left_col` -- when label appears in left column.
* `edited_alongside_sender` -- when label appears alongside sender info.
* `edited_status_msg` -- when label appears for a "/me" message.

We use the new bools and remove the complicated if else statements
from the templates for the "(EDITED)" label.

This also allows us to add a unit test to verify the logic.
2019-05-06 21:37:54 -07:00
..
casper_lib eslint: Add key-spacing linter rule. 2018-12-18 10:41:06 -08:00
casper_tests settings: Rename `create_stream_permission` in templates. 2019-05-06 16:30:01 -07:00
node_tests message_list_view: Move edited position conditionals to JS. 2019-05-06 21:37:54 -07:00
zjsunit minor: Remove obsolete add_child method. 2019-04-18 14:01:57 -07:00
.eslintrc.json lint: Check eslint indentation for casper tests. 2018-05-06 19:35:18 -07:00
run-casper tools: Remove pointless uses of shell=True. 2018-07-30 22:39:06 -07:00