Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Cache charmbrowser requests #355

Merged
merged 3 commits into from Jun 2, 2014
Merged

Cache charmbrowser requests #355

merged 3 commits into from Jun 2, 2014

Conversation

makyo
Copy link
Contributor

@makyo makyo commented May 30, 2014

This is a first iteration of caching charmbrowser requests.

To QA, with il flag:

  • deploy a service
  • closer the inspector; interesting should load immediately
  • search for apache
  • deploy a service
  • close the inspector; apache search results should load imeediately.

Empty charmbrowser container on destroy

Test added.
var cachedResults = this.get('cachedResults')[apiEndpoint];
if (cachedResults) {
callbacks.success(cachedResults);
return;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for clarifying that you don't need to cancel in flight requests here - Can you add a comment to why this return is required for future us :)

@hatched
Copy link
Contributor

hatched commented May 30, 2014

👍 with some requests for comments. QA'ing now

@hatched
Copy link
Contributor

hatched commented May 30, 2014

Couple issues with QA:

  • search for apache
  • click home
    The curated results show up right away but the first header is pushed down and then flashes back into the proper place after a second or so.
  • drag and drop a charm
  • click to close the inspector
    Nothing happens for about a second then the inspector hides and shows the curated list.

@jujugui
Copy link
Contributor

jujugui commented May 30, 2014

Test PASSed.
Refer to this link for build results: http://ci.jujugui.org:8080/job/juju-gui/1134/

@makyo
Copy link
Contributor Author

makyo commented Jun 2, 2014

Deferring QA issues to a separate branch. :shipit:

@jujugui
Copy link
Contributor

jujugui commented Jun 2, 2014

Status: merge request accepted. Url: http://ci.jujugui.org:8080/job/juju-gui-merge

@jujugui
Copy link
Contributor

jujugui commented Jun 2, 2014

Test PASSed.
Refer to this link for build results: http://ci.jujugui.org:8080/job/juju-gui/1141/

jujugui added a commit that referenced this pull request Jun 2, 2014
This is a first iteration of caching charmbrowser requests.

To QA, with il flag:
* deploy a service
* closer the inspector; interesting should load immediately
* search for apache
* deploy a service
* close the inspector; apache search results should load imeediately.
@jujugui jujugui merged commit a6dde69 into juju:develop Jun 2, 2014
@jujugui
Copy link
Contributor

jujugui commented Jun 2, 2014

Test FAILed.
Refer to this link for build results: http://ci.jujugui.org:8080/job/juju-gui/1142/

@makyo makyo deleted the curated-cache branch July 24, 2014 14:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants