zulip/static
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
..
assets eslint: Forbid CommonJS variables in ES6 modules. 2021-03-23 01:42:43 -07:00
audio notificaiton_sounds: Add some atonal sounds created by @stwime. 2021-02-05 12:28:20 -08:00
generated
html logo: Update Zulip logo. 2020-07-16 01:37:08 -07:00
images logos: Optimize jotform.svg with svgo 2. 2021-03-04 12:24:25 -08:00
js typeahead: Eliminate render caches. 2021-03-24 12:15:36 -07:00
shared typeahead: Always rank exact string match first. 2021-02-25 17:55:54 -08:00
styles notifications: Remove in_browser_notify and bootstrap-notify. 2021-03-22 23:40:38 -07:00
templates popovers: Change "Delete all messages in topic" to "Delete topic". 2021-03-23 15:46:00 -07:00
third notifications: Remove in_browser_notify and bootstrap-notify. 2021-03-22 23:40:38 -07:00
.gitignore dependencies: Replace moment.js with date-fns. 2021-02-05 11:04:32 -08:00