zulip/static
Steve Howell 264dcb6f40 refactor: Extract MessageListData class.
Most of this was straightforward.

Most functions that were grabbed verbatim and whole from
the original class still have one-line wrappers.

Many functions are just-the-data versions of functions that
remain in MessageList:  see add, append, prepend, remove as
examples.  In a typical pattern the MessageList code becomes
super simple:

    prepend: function MessageList_prepend(messages) {
        var viewable_messages = this.data.prepend(messages);
        this.view.prepend(viewable_messages);
    },

Two large functions had some minor surgery:

    triage_messages =
            top half of add_messages +
            API to pass three lists back

    change_message_id =
            original version +
            two simple callbacks to list

For the function update_muting_and_rerender(), we continue
to early-exit if this.muting_enabled is false, and we copied
that same defensive check to the new function
named update_items_for_muting(), even though it's technically
hidden from that codepath by the caller.
2018-05-05 06:31:51 -07:00
..
assets Fix favicon generator script. 2018-01-30 10:32:55 -08:00
audio
generated
html portico: Change CSS class to float-left and float-right. 2018-05-02 15:23:33 -07:00
icons/fonts Generate custom-icon-webfont on each provision or update-prod-static. 2017-11-20 16:36:49 -08:00
images why-zulip: Include cartoon of Julia Evans. 2018-04-30 17:46:02 -07:00
js refactor: Extract MessageListData class. 2018-05-05 06:31:51 -07:00
locale i18n: Update translations. 2018-04-17 12:41:06 -07:00
styles attachments: Stop fetching attachments in / endpoint. 2018-05-04 16:22:26 -07:00
swagger org setting: Add time limits for message deleting. 2018-04-27 19:22:28 -07:00
templates attachments: Use data-attachment-id to refer to attachments. 2018-05-04 16:22:27 -07:00
third upload: Add/enable `uploadStarted` option in jquery-filedrop plugin. 2018-05-02 12:32:13 -07:00
ts webpack: Upgrade webpack version 4.5.0. 2018-04-23 15:49:33 -07:00
.gitignore i18n: Make Git ignore mobile.json resources. 2018-01-29 12:49:51 -08:00
favicon.ico
node_modules