diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-05-22 05:15:34 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-05-22 05:15:34 +0800 |
commit | 3c90024564bee78fe0a9178d3772efaabe147ac5 (patch) | |
tree | 76b574c49742f6a77835907bfddaa286d9daa557 | |
parent | 6209224a6c1129817ebb4cd4a433cf456631c33a (diff) | |
download | tangerine-wallet-browser-3c90024564bee78fe0a9178d3772efaabe147ac5.tar tangerine-wallet-browser-3c90024564bee78fe0a9178d3772efaabe147ac5.tar.gz tangerine-wallet-browser-3c90024564bee78fe0a9178d3772efaabe147ac5.tar.bz2 tangerine-wallet-browser-3c90024564bee78fe0a9178d3772efaabe147ac5.tar.lz tangerine-wallet-browser-3c90024564bee78fe0a9178d3772efaabe147ac5.tar.xz tangerine-wallet-browser-3c90024564bee78fe0a9178d3772efaabe147ac5.tar.zst tangerine-wallet-browser-3c90024564bee78fe0a9178d3772efaabe147ac5.zip |
Label the pending tx icon with a tooltip
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | ui/app/components/transaction-list-item-icon.js | 17 |
2 files changed, 13 insertions, 5 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f894f935..50fa0d858 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## Current Master - Add Transaction Number (nonce) to transaction list. +- Label the pending tx icon with a tooltip. ## 3.6.5 2017-5-17 diff --git a/ui/app/components/transaction-list-item-icon.js b/ui/app/components/transaction-list-item-icon.js index d63cae259..03c6f6615 100644 --- a/ui/app/components/transaction-list-item-icon.js +++ b/ui/app/components/transaction-list-item-icon.js @@ -1,6 +1,7 @@ const Component = require('react').Component const h = require('react-hyperscript') const inherits = require('util').inherits +const Tooltip = require('./tooltip') const Identicon = require('./identicon') @@ -32,11 +33,17 @@ TransactionIcon.prototype.render = function () { }) case 'submitted': - return h('i.fa.fa-ellipsis-h', { - style: { - fontSize: '27px', - }, - }) + return h(Tooltip, { + title: 'Pending', + position: 'bottom', + }, + [ + h('i.fa.fa-ellipsis-h', { + style: { + fontSize: '27px', + }, + }) + ]) } if (isMsg) { |