zulip/frontend_tests
Aman Agrawal eb396b6190 popovers: Don't try to fetch small avatar using email.
It's always better to use the user ID than the email for fetching data
about an object whose unique ID we have, which should be all of them.
And it's also cleaner code to use the standard people.js method; tabbott
checked that indeed all callers get their `user` objects from `people.js`.

Since we restrict spectators from having access to avatars using
email to avoid someone brute forcing a user's email, this removes
a 401 response from the server in spectator view when trying
to open user info popover.

Additionally, this fixes the cached-fetching behavior documented in
the comments we add about the way we construct URLs.
2021-11-02 11:26:19 -07:00
..
node_tests popovers: Don't try to fetch small avatar using email. 2021-11-02 11:26:19 -07:00
puppeteer_lib dialog_widget: Migrate modal to Micromodal. 2021-10-26 18:20:17 -07:00
puppeteer_tests dialog_widget: Migrate modal to Micromodal. 2021-10-26 18:20:17 -07:00
zjsunit minor: Fix typo in zjquery_element.js - "zjquery" was "zjuery". 2021-11-02 10:27:15 -07:00