Files
zulip/static/js
Steve Howell 0681e4ba36 list_render: Clean up initialization.
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.)
2020-04-12 14:59:32 -07:00
..
2020-03-02 17:45:44 -08:00
2020-02-25 15:37:37 -08:00
2020-03-24 20:40:19 -07:00
2020-02-15 12:20:20 -08:00
2020-02-04 12:22:03 -08:00
2020-02-15 12:20:20 -08:00
2020-02-25 15:37:37 -08:00
2019-10-25 13:51:21 -07:00
2020-02-25 15:37:37 -08:00
2020-03-26 21:35:32 -07:00
2020-02-10 15:57:20 -08:00
2020-02-25 15:37:37 -08:00
2020-02-15 12:20:20 -08:00
2020-02-25 15:37:37 -08:00
2019-10-25 13:51:21 -07:00
2020-02-25 15:37:37 -08:00