Viewing charm details makes another request even though it should be cached
Bug #1290580 reported by
Jeff Pihach
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-gui |
Triaged
|
Low
|
Unassigned |
Bug Description
We make a query to charmworld for the charm list and details. Once clicking to view a charm it makes another request to pull down the data again.
Changed in juju-gui: | |
status: | New → Triaged |
importance: | Undecided → Low |
To post a comment you must log in.
Charm details should get the charm data from the cache:
https:/ /github. com/juju/ juju-gui/ blob/develop/ app/subapps/ browser/ browser. js#L551
and that should be populated via the search/editorial views via:
https:/ /github. com/juju/ juju-gui/ blob/develop/ app/subapps/ browser/ browser. js#L598 /github. com/juju/ juju-gui/ blob/develop/ app/subapps/ browser/ views/editorial .js#L153
https:/
I wonder if the revisionless ids has caused us a regression here or something else has changed.