DescriptionRemoves the old API from the Charmview
-Replaces use of the old API and loadByPath with the new API and charm.
-Removes last_change from both models, as no such thing exists in the API;
replaces it by adding recent_commits and associated logic to old Charm model.
-CharmView now creates last_change data from the recent_commits. There's an
argument to be had for refactoring the template/view to properly use the charm
attrs, but as charmview will be destroyed once we have the new inspector, it's
not worth the effort.
-Assorted drive by fixes.
-Test updates.
https://code.launchpad.net/~jcsackett/juju-gui/remove-old-api-charm-model/+merge/176998
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 2
Patch Set 2 : Removes the old API from the Charmview #
Total comments: 1
Patch Set 3 : Removes the old API from the Charmview #
MessagesTotal messages: 6
|