zulip/static
Ryan Rehman e0b1fdb81c message view: Show home view bottom loading indicators.
As explained in 67053ff479,
multiple message fetches may be taking place at the same time.
So some other narrows / the home message list's indicator might
get shown for the current narrow.

This commit moves the updation of the indicators display logic
to the `fetch_status` API.
Now the `loading_newer_messages_indicator` gets displayed along
with the `loading_newer` = true updation for that narrow's message
list, i.e. just before we send the API request. But only if the
message list we are fetching matches with our current message list.

The same indicator is hidden similarly, along with the
`loading_older` = false updation for that narrow's message list,
i.e. just after the success response is recieved. But only if
the message list whose data we recieved  matches with our current
message list.

Also the indicators are hidden everytime we activate narrow
or deactivate narrow (`home_msg_list`). And on entering
`narrow.activate` we fetch for it's messages so they get
displayed again, if need be.
This is the reason `message_scroll.hide_indicators();` was
moved to a location above `fetch_messages`.

Fixes #15374.
2020-06-15 22:25:41 -07:00
..
assets python: Convert more percent formatting to Python 3.6 f-strings. 2020-06-14 23:27:22 -07:00
audio
generated
html docs: Update URLs to use https://zulip.com. 2020-06-08 18:10:45 -07:00
images webhooks/circleci: Overhaul the CircleCI integration. 2020-06-14 13:14:55 -07:00
js message view: Show home view bottom loading indicators. 2020-06-15 22:25:41 -07:00
shared typeahead: Convert to ES6 module. 2020-02-19 14:36:42 -08:00
styles sidebars: Replace chevron with ellipsis-v icon from the sidebars. 2020-06-14 20:57:43 -07:00
templates navbar: Add missing internationalization to navbar. 2020-06-15 16:48:24 -07:00
third markdown: Add timestamp syntax to markdown processors. 2020-05-20 14:23:55 -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