Commit graph

17 commits

Author SHA1 Message Date
Kosta Korenkov
ea03b87a7e Create availableBalance directive for Send screen
..so it can be decorated by addon.
2015-09-03 14:44:50 +03:00
Gustavo Maximiliano Cortez
deba8f12af Merge pull request #3027 from troggy/refactor/qr-scanner
Add QR scanner directive
2015-08-31 10:27:18 -03:00
Kosta Korenkov
53f114c747 Double check for QR scanner
Now QR scanner returns only if two consecutive scans return the same result.
2015-08-31 08:55:30 +03:00
Kosta Korenkov
43e99c6b7a Add logo directive
.. so that logo can be overriden in addon.
2015-08-21 08:01:34 +03:00
Gustavo Maximiliano Cortez
cebd8fe06e
Allow only dots to separate decimals 2015-08-13 12:59:19 -03:00
Gustavo Maximiliano Cortez
ce05318d94
Replaces comma by dot 2015-08-07 17:21:22 -03:00
Gustavo Maximiliano Cortez
93028b9be0
Fixes decimal inputs 2015-08-07 11:23:32 -03:00
Kosta Korenkov
496b88cc0e Make beforeScan optional 2015-07-23 13:52:00 +03:00
Kosta Korenkov
1f4f78bec0 Make directive to accept onScan and beforeScan callbacks instead of broadcasting 'dataScanned' event.
This will allow to reuse directive for screens different from 'send'
2015-07-23 13:21:31 +03:00
Kosta Korenkov
b673540638 Create qrScanner directive 2015-07-23 11:48:28 +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
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