zulip/frontend_tests
sahil839 c6e553427a settings: Hide invite users link in settings overlay based on settings.
There was a bug where invite users link is shown in the Invitations
section of settings overlay, irrespective if the user is allowed to
invite or not based on the realm settings. So here we just use the
'can_invite_others_to_realm' field of page_params, that was added in
previous commit itself to hide the link accordingly.

Also added the code in server_events_dispatch.js for this field.
Though it doesn't do live update when the overlay is opened similar
to other policies like create_stream_policy, but it ensures that the
visibility of link is correct if the overlay is opened after the
settings has changed.

We should probably do the complete live update in future of the
elements related to such realm settings.
2021-04-07 09:05:16 -07:00
..
node_tests settings: Hide invite users link in settings overlay based on settings. 2021-04-07 09:05:16 -07:00
puppeteer_lib puppeteer_tests: Use more stable selectors. 2021-03-31 09:00:51 -04:00
puppeteer_tests refactor: Update some uses of "filter" to "linkifier". 2021-04-05 18:14:07 -07:00
zjsunit node tests: Clear page_params at start of run_test. 2021-04-03 15:03:00 -04:00