zulip/static
YashRE42 46247623fc navbar: Fix navbar for unknown streams.
In commit 35c8dcb599 we introduced the
`_stream_params` object within filter.js but we didn't correctly
handle cases where `_stream param`s is undefined within `get_title()`,
`generate_url()` and `get_icon()`, which cause the navbar to if eg a
guest user tries to access a stream they weren't subscribed to.

This commit fixes this by:
  * Adding the relevant checks
  * Adding node tests that include non-existent streams.
  * Adds the 'question-circle-o' icon for non-existent stream narrows.

A side note here is that "non-existent streams" fall under
"common narrows" as per our current definitions, which doesn't really
make sense but shouldn't bother us.

Fixes: #15387.
2020-06-15 16:48:24 -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 navbar: Fix navbar for unknown streams. 2020-06-15 16:48:24 -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