Commit graph

13 commits

Author SHA1 Message Date
Kosta Korenkov
dcafad99a7 Fix empty space in menu bar with one addon 2015-09-01 06:52:54 +03:00
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
bechi
31cdda01cc change size to bottombar 2015-04-30 16:16:28 -03:00
Matias Alejo Garcia
969712c633 add touchdown elements 2015-04-28 15:02:35 -03:00
bechi
d6b87f8c6c fix bottombar contrast 2015-04-24 16:15:04 -03:00
Matias Alejo Garcia
3c00a4a06c Revert "rm fastclick"
This reverts commit ea7484512f.

Conflicts:
	src/js/controllers/index.js
2015-04-23 17:45:32 -03:00
Matias Alejo Garcia
ea7484512f rm fastclick 2015-04-23 14:12:32 -03:00
Matias Alejo Garcia
faea6dfb6d rm ng class 2015-04-23 13:12:30 -03:00
Matias Alejo Garcia
589200b455 one page 2015-04-23 12:27:57 -03:00
Gustavo Maximiliano Cortez
401490df5e Bug fixes 2015-04-22 15:52:01 -03:00
Matias Pando
a8a1df04b1 Hiding menu on send.js 2015-04-21 13:07:14 -03:00
Gustavo Maximiliano Cortez
4f899dd080 Fix style colors for wp8 2015-04-11 17:12:44 -03:00
Matias Alejo Garcia
320de62f13 bwc 2015-04-11 10:53:15 -03:00