zulip/frontend_tests
Steve Howell f3b1e723e0 typeahead: Eliminate render caches.
These were introduced in ff9a929d7a
with no explanation of why they were necessary.

Generally you only render a few things, and it's
important that they're up to date.

We weren't doing a good job of invalidating the cache.

Eliminating the cache will fix bugs (like presence circles
being out of date) and break some dependencies.

I removed some very fragile test code that was relying
on invalid values taken out of the cache.  (We now have
less line coverage, but if we want to test our rendering,
there are much cleaner ways to do it.)

As part of testing this, I renamed Hamlet to "aaron", so
that there are two aarons, and then I logged on as Iago
to see the "secondary" code in action that shows their
emails to distinguish them.
2021-03-24 12:15:36 -07:00
..
node_tests typeahead: Eliminate render caches. 2021-03-24 12:15:36 -07:00
puppeteer_lib eslint: Enable @typescript-eslint/consistent-type-imports. 2021-03-18 17:26:19 -07:00
puppeteer_tests refactor: Rename filter to linkifier in frontend code and docs. 2021-03-15 11:19:59 -07:00
zjsunit eslint: Forbid CommonJS variables in ES6 modules. 2021-03-23 01:42:43 -07:00