Fix: sometimes the avatars cache isn't used

When going back to a thread list from another page, the Community
Console shows the thread list using the cached list (it doesn't retrieve
the list again from the API), and so the avatars feature times out while
waiting for the XHR interceptor to handle invalidations, and gets the
threads from the server instead of from the cache.

Now, after the wait times out, it will be assumed that the API request
didn't occur and so the avatars in the cache are still valid, so the
cache entry will be used if it exists instead of calling the API.

Fixed: twpowertools:10, twpowertools:8
Change-Id: I992e3c9692c0523be6470bded049500997b46222
1 file changed
tree: 0c2824d80ad78cd103d28dd6e7434286b0d6cc76
  1. .clang-format
  2. .editorconfig
  3. .github/
  4. .gitignore
  5. .gitreview
  6. .zuul.yaml
  7. LICENSE
  8. Makefile
  9. OWNERS
  10. README.md
  11. docs/
  12. package-lock.json
  13. package.json
  14. playbooks/
  15. roles/
  16. src/
  17. tagRelease.bash
  18. templates/
  19. tools/
  20. webpack.config.js
README.md

TW Power Tools

Available in the Chrome Web Store

An extension which brings several enhancements to the Google Forums and the Community Console.

For a list of features/enhancements, check out the feature list doc.

Information for contributors

This extension is being actively developed, and everyone is welcome to make feature requests, report issues and contribute code changes.

In order to make feature requests or report issues, please do so at the Monorail Issue Tracker:

To see a more exhaustive guide on how to contribute, and information on how to contribute code changes, please read the following doc:

Beta channel

Before releasing updates to the stable channel, the newest versions are uploaded to the beta channel so they can be tested by everyone who's interested. This is another way to contribute to the project, because beta testing can make us notice bugs before they reach the stable channel.

The beta channel for Chrome is available here.