zulip/frontend_tests
Tim Abbott 74c628b105 editing: Fix live update of ability to edit messages.
Previously, we didn't check the organization-level settings when
rendering a message list; instead, we only checked it when putting
messages into the message_store.  That resulted in the state being
stale in the event that the setting controlling whether one can edit
messages was changed.

We remove some node tests, because revidving the node test for their
new home in message_list_view would be more work than we probably want
to do with an upcoming release.  We basically need to be better about
exporting functions like populate_group_from_message_container and
set_topic_edit_properties, so we can do fine grained testing.

When we get around to the node tests, rather than exporting these
functions, it might make sense to create a new module with a name
like message_container.js, which would have all of these
last-second type of data manipulations on message objects.  This
would be nice to split out of message_list_view.js.  MLV is our
biggest module, and it's mostly cohesive, but it's real job
should be about assembling messages into a DOM list, which is
probably 80% of the code now.  The 20% that I'd want to consider
splitting out is actually closer in spirit to message_store.js.

Thanks to Steve Howell for helping with the node tests.
2017-08-23 12:03:35 -07:00
..
casper_lib frontend: Remove purposeless title attributes from gear menu. 2017-08-16 10:19:02 -07:00
casper_tests casper: Make sure account-settings-status is invisible. 2017-08-22 23:37:20 -07:00
node_tests editing: Fix live update of ability to edit messages. 2017-08-23 12:03:35 -07:00
zjsunit node tests: Extract zrequire helper. 2017-08-09 12:32:09 -07:00
.eslintrc.json node tests: Extract zrequire helper. 2017-08-09 12:32:09 -07:00
run-casper py3: Switch almost all shebang lines to use `python3`. 2017-08-16 17:54:43 -07:00