mirror of https://github.com/zulip/zulip.git
25ba96488d
This commit has the following changes - - Adds dropdown for changing create_web_public_stream_policy and this dropdown is visible only if settings.WEB_PUBLIC_STREAMS_ENABLED and enable_spectator_access is set to True. This dropdown is live-udpated on changing enable_spectator_access setting. - The web-public stream option in stream creation form and stream privacy modal is hidden if one of settings.WEB_PUBLIC_STREAMS_ENABLED or enable_spectator_access is set to False except in stream privacy modal when the stream is already web-public so that the user is not confused by none of the options being selected. - We disable the web-public stream option in stream creation form and in stream-privacy modals of stream which are not already web-public when the user is not allowed to create web-public streams as per create_web_public_stream_policy setting. - We use on_show parameter to hide or disable the options in stream-privacy modal because we use the visible property of element to remove the bottom border from last element in the stream-privacy choices and thus we have to wait for the modal to be visible. Fixes #20287. Fixes #20296. |
||
---|---|---|
.. | ||
node_tests | ||
puppeteer_lib | ||
puppeteer_tests | ||
zjsunit |