zulip/static
Steve Howell 37eeb90695 list_render: Clean up create/update.
For some widgets we now avoid duplicate redraw
events from this old pattern:

    widget = list_render.create(..., {
    }).init();
    widget.sort(...);

The above code was wasteful and possibly
flicker-y due to the fact that `init` and
`sort` both render.

Now we do this:

    widget = list_render.create(..., {
        init_sort: [...],
    });

For other widgets we just clean up the need
to call `init()` right after `create()`.

We also allow widgets to pass in `sort_fields`
during initialization (since you may want to
have `init_sort` use a custom sort before the
first render.)

Finally, we make the second and third calls
eliminate the prior updates from the previous
widget.  This can prevent strange bugs with
double-reversing columns (although that's
been prevented in a better way with a recent
commit), as well as avoiding double work
with sorting.
2020-04-15 15:13:26 -07:00
..
assets styles: Finish removing manual antialiasing configuration. 2019-08-30 14:51:52 -07:00
audio notifications: Add a setting for changing the notification sound. 2018-12-09 21:25:30 -08:00
generated
html static: Serve webpack bundles from the root domain. 2020-04-10 00:48:02 -07:00
images webhook/semaphore: Use Semaphore 2.0 logo for the integration. 2020-04-09 12:41:40 -07:00
js list_render: Clean up create/update. 2020-04-15 15:13:26 -07:00
shared typeahead: Convert to ES6 module. 2020-02-19 14:36:42 -08:00
styles compose: Fix color of preview icon. 2020-04-13 14:58:10 -07:00
templates settings: Extract DropdownListWidget from default_code_language_widget. 2020-04-14 12:50:10 -07:00
third text: Fix some typos (most of them found and fixed by codespell). 2020-03-27 17:25:56 -07:00
.eslintrc.json lint: Delegate console.log check to ESLint. 2020-02-07 14:09:47 -08:00
.gitignore team: Generate team page data using cron job. 2020-04-08 12:52:31 -07:00
favicon.ico