zulip/web/tests/lib
Sahil Batra ae72151ec1 streams: Pass stream_weekly_traffic field in stream objects.
This commit adds code to pass stream traffic data using
the "stream_weekly_traffic" field in stream objects.

We already include the traffic data in Subscription objects,
but the traffic data does not depend on the user to stream
relationship and is stream-only information, so it's better
to include it in Stream objects. We may remove the traffic
data and other stream information fields for Subscription
objects in future.

This will help clients to correctly display the stream
traffic data in case where client receives a stream
creation event and no subscription event, for an already
existing stream which the user did not have access to before.
2023-08-06 18:06:42 -07:00
..
compose_banner.js compose_banner: Remove uploads banners when clearing compose box. 2023-06-23 11:45:04 -07:00
compose.js dropdown_widget: Refactor to use Class. 2023-07-27 14:10:08 -07:00
events.js streams: Pass stream_weekly_traffic field in stream objects. 2023-08-06 18:06:42 -07:00
handlebars.js templates: Enable Handlebars strict mode. 2023-04-05 15:23:54 -07:00
i18n.js node_tests: Move to web/tests. 2023-02-23 16:04:17 -08:00
index.js eslint: Expand no-unused-vars check to all function parameters. 2023-07-02 16:16:38 -07:00
markdown_assert.js node_tests: Move to web/tests. 2023-02-23 16:04:17 -08:00
mdiff.js node_tests: Move to web/tests. 2023-02-23 16:04:17 -08:00
namespace.js namespace: Tighten override_rewire old_value check. 2023-08-04 18:00:38 -07:00
real_jquery.js node_tests: Move to web/tests. 2023-02-23 16:04:17 -08:00
stub.js node_tests: Move to web/tests. 2023-02-23 16:04:17 -08:00
test.js page_params: Make seperate page_params for billing module. 2023-06-23 11:42:29 -07:00
zblueslip.js zblueslip: Show chained causes in unexpected messages. 2023-05-09 13:16:28 -07:00
zjquery_element.js stream_data: Use yield*. 2023-08-02 19:01:20 -07:00
zjquery_event.js node_tests: Move to web/tests. 2023-02-23 16:04:17 -08:00
zjquery.js eslint: Fix unicorn/prefer-spread. 2023-03-02 12:16:56 -08:00
zpage_billing_params.js page_params: Make seperate page_params for billing module. 2023-06-23 11:42:29 -07:00
zpage_params.js node_tests: Move to web/tests. 2023-02-23 16:04:17 -08:00