Commit graph

7 commits

Author SHA1 Message Date
Kosta Korenkov
e6785335a9 Addon support
Addons are simple Angular modules with views, controllers, services etc. Addons can register
themselves in Copay using pluginManagerProvider. It allows them to add extra items to the bottom
menu and as well as extra tab-views:

````
  addonManagerProvider.registerAddon({
    menuItem: {
      'title': 'Assets',
      'icon': 'icon-pricetag',
      'link': 'assets'
    },
    view: {
      id: 'assets',
      'class': 'assets',
      template: 'colored-coins/views/assets.html'
    }
  });
````

Addons can consume core Copay services and listen for events to react on changes. For this very
first addon system inplementation Copay emits additional BalanceUpdated event so that interested
addons can react on new transactions (see plugin reference implementation below).

As bottom menu can accomodate only 6 items without sacrificing usability, so it was reworked to
have second layer of items. Now If menu has more than 6 items, toggle button will be added to
the menu allowing to reveal extra items in a sliding panel. Bottom menu in this case will show
only 5 items, the rest will be rendered on sliding panel.

This changes addresses issue #2949 and reference implementation of addon could be found here:
https://github.com/troggy/copay-colored-coins-plugin
2015-07-10 14:31:17 +03:00
Matias Alejo Garcia
476d5ecba7 fix touchdown default in android. reconnecting debouce 2015-05-04 13:30:41 -03:00
Matias Alejo Garcia
5b88b82623 add customr swipe 2015-04-29 12:08:42 -03:00
Gustavo Maximiliano Cortez
703022f054
Fix console error at init 2015-04-24 10:28:25 -03:00
Matias Alejo Garcia
67d140e981 fix changing wallet / form reset 2015-04-24 02:42:17 -03:00
Gustavo Maximiliano Cortez
cc45d5d081 Fix secret form validator 2015-04-16 12:12:12 -03:00
Matias Alejo Garcia
320de62f13 bwc 2015-04-11 10:53:15 -03:00