295 Commits

Author SHA1 Message Date
Daniel Kmak
d7a0956f89 [FEATURE] Remove fee 2018-04-09 19:27:31 +07:00
Daniel Kmak
4bfe205bdb
[FEATURE] Use Tooltip component for help. 2018-04-09 08:37:43 +02:00
Daniel Kmak
8c30e36fe8 [FEATURE] Create Toggle component, Share code between components 2018-04-09 10:06:29 +07:00
Daniel Kmak
3e10970f83 [FEATURE] Add Redux state for scheduling 2018-04-08 21:50:08 +07:00
Daniel Kmak
b0907c36d0
[FEATURE] Add tooltip to window and fix fee display. 2018-04-06 11:31:44 +02:00
Daniel Kmak
40be251e7b [FEATURE] Gas estimation for scheduling 2018-04-06 15:56:18 +07:00
Joseph Bagaric
1630e9fee9 [FEATURE] Modified Help component to enable acting as a tooltip 2018-04-06 15:56:17 +07:00
Joseph Bagaric
1a7fe08f29 [FEATURE] Timezone inclusion 2018-04-06 15:56:17 +07:00
Daniel Kmak
42af363088 [FEATURE] Move scheduling code into one directory 2018-04-06 15:56:13 +07:00
Daniel Kmak
353eeb5384 [FEATURE] Add Deposit field 2018-04-06 15:56:13 +07:00
Daniel Kmak
62f528fc99 [FEATURE] Add Schedule Gas Limit field 2018-04-06 15:56:04 +07:00
Daniel Kmak
97896b3516 [FEATURE] Add Schedule Gas Price field. 2018-04-06 15:56:00 +07:00
Joseph Bagaric
7097fd3940 [FEATURE] Time/block switch functionality
* Implemented time/block switcher fuctionality
2018-04-06 15:56:00 +07:00
Daniel Kmak
68cc3182ca [FEATURE] Add Window Size field. 2018-04-06 15:55:57 +07:00
Joseph Bagaric
09b1062db1 [FEATURE] Time/block selector 2018-04-06 15:55:53 +07:00
Daniel Kmak
49fa54ba0b [FEATURE] Reimplement Time Bounty. 2018-04-06 15:55:49 +07:00
Joseph Bagaric
53f51221e4 [FEATURE] Timezone selector
* [FEATURE] Scheduling: Timezone selector

* Removed zombie files
2018-04-06 15:55:45 +07:00
Daniel Kmak
2294046603 [FEATURE] Move scheduling to main tab. 2018-04-06 15:55:41 +07:00
Joseph Bagaric
c6ec79a31b [FEATURE] Timestamp scheduling
* Scheduling: Basic date and time widget

* Linting fixes

* Moved the datetime field to new tab

* Fixed push errors

* Added missing specs

* Undid unintentional UI change

* Fixed some failing tests

* Ignore datetime parameter when checking if a transaction is full

* Added a date selector widget and renamed ScheduleTimestamp to ScheduleDate

* Marked componentDidMount

* Initialized Pikaday

* Revert "Initialized Pikaday"

This reverts commit 4e5bf5b2b882f236f5977400abf9b7092cbd1592.

* Revert "Marked componentDidMount"

This reverts commit 85d52192ac58f4b6ca9219e702f7390cd27e582f.

* Revert "Added a date selector widget and renamed ScheduleTimestamp to ScheduleDate"

This reverts commit aaad0ac9b565a78d1bfc631754160919fd38a59b.

* Converted the date picker into a datetime picker

* Added decent styling to the datetimepicker

* Added validation to the datetime picker

* Fixed prepush errors for scheduling timestamp

* Adjusted validation logic scheduling timestamp
2018-04-06 15:55:40 +07:00
Daniel Kmak
9a70d776b4 [FEATURE] Redirection to the DApp for details. 2018-04-06 15:55:36 +07:00
Daniel Kmak
e3884fc5ae [FEATURE] Move to main menu. 2018-04-06 15:55:32 +07:00
Daniel Kmak
d2b3d9c47f [FEATURE] TimeBounty slider. 2018-04-06 15:55:32 +07:00
Daniel Kmak
eb19dd9f0b [FEATURE] Move the Schedule Payment to the main tab. 2018-04-06 15:55:27 +07:00
Daniel Kmak
f2afd78f4e [FEATURE] Initial EAC integration. 2018-04-06 15:55:21 +07:00
William O'Beirne
acd1610083 Fix unlock header toggle logic (#1454) 2018-04-05 16:23:15 -05:00
William O'Beirne
c3d1e4e3af Token Balance retry button & equivalent values fix (#1453)
* Add refresh button to token balances error. Refactor actions a bit.

* Fix assertion error from bn on rates
2018-04-05 16:19:14 -05:00
Daniel Ternyak
c9676cac62
Deterministic Webpack 4 (#1445)
* (Reapplied) Upgrade to Webpack 4

* remove yarn.lock from gitignore

* add yarn.lock

* custom hashing for css and client bundle filenames

* add hash-files dep

* update deps

* add .wwp-cache to .gitignore

* use latest git hash as filename hash

* remove unused hash-files dep

* update favicon plugin

* remove yarn.lock
2018-04-05 15:53:36 -05:00
Daniel Ternyak
a4872e6558
Add checksumming to payment request & confirmation modal (#1428)
* Add checksum to payment request to address

* add checksum to confirmation modal
2018-04-02 14:38:54 -05:00
Daniel Ternyak
7930ab6611
Revert "Upgrade to Webpack 4 (#1386)" (#1406)
This reverts commit d19c4f44e6b74fee412e69019cb2c98c876e1c8e.
2018-03-28 14:34:29 -05:00
James Prado
b7e2bbef96 Fix textarea styles (#1398) 2018-03-27 16:06:55 -05:00
William O'Beirne
d19c4f44e6 Upgrade to Webpack 4 (#1386)
* Initial attempt at webpack 4 upgrade, still not working.

* Remove unused modules, update some more packages.

* Wrangle types due to webpack weirdness.

* Undefined function

* Package updates.

* Replace extract text plugin. Re-add unusable code, but comment it out.

* Fix uglification

* Remove custom uglify, disable concatenateModules

* Upgrade and reenable favicons. Get rid of CSS warning.

* Fix up tscheck

* Add webpack modes to freezer, electron.

* Uodate webpack dev middleware
2018-03-26 23:04:08 -05:00
Daniel Ternyak
bb0014dbbb
Fix typos in translations (#1384) 2018-03-26 12:48:41 -05:00
Daniel Ternyak
b2c2d12a14
Fix translation issue (#1378) 2018-03-23 11:58:33 -05:00
James Prado
910093b761 Update code blocks & generate / send tx buttons (#1333)
* Update account view routing

* update styles

* Fix WalletDecrypt types

* Replace disabled textareas with code blocks

* Fix broken animation

* Update snapshot

* Make contract interact dropdowns clearable & searchable

* Update node-sass to v4.8.3

* Fix swap inputs incorrectly incorrectly displaying invalid

* Refactor send tx & generate tx button

* Update broadcast tx & add more transaction details in tx confirmation

* Add signing prop to send button

* Update lite send

* Update codeblock styles

* Update snapshot

* Revert renaming Dropdown
2018-03-23 11:41:47 -05:00
William O'Beirne
02711b390f Shapeshift Token Box UI (#1371)
* Convert to box style, fix TRST

* Disabled option, better responsive behavior.

* Removed unnecessary logic of splitting out origin and destination option arrays.
2018-03-23 11:25:44 -05:00
William O'Beirne
bdaf40a0ce Send Form Style Adjustments (#1368)
* Remove title from account, tighten buttons and subtabs.

* Send everything button in input.

* Request tx to full width, adjust transaction fee spacing.

* Fix token balances button spacing.

* Fix address identicon flying offscreen. Tighten up identicon, show border even when theres no identicon.

* Add isSelfAddress boolean to AddressField, use it on WalletInfo tab.

* Use short amount again.

* Unused
2018-03-22 13:30:51 -05:00
Michael - Blurpesec
68b1447b31 Update keystore visual indicator (#1355)
* update keystore visual indicator

* Update Keystore.tsx

* visual indication using filename

* updated for visual indication using filename
2018-03-22 13:00:55 -05:00
James Prado
816ce3180f Translation Updates (#1323)
* Update account view routing

* Temporarily add unicode character to translated strings for testing

* Temporarily select add unicode to all untranslated strings

* Format changes

* Add all english translations for /account & /generate

* Add the rest of the english translations

* Add a few more missing translations

* Update en translations

* Get selectedLanguage from localstorage instead of redux sttate

* Update snapshots

* Add missing translation keys & Update translate functs & change variable prefix

* translate all markdown strings & remove old translation strings

* Update snapshot

* Add a few more translation strs

* Move raw strings being translated into json

* All translation keys are now Uppercase

* Fix up the last few translations

* Update snapshot

* Uppercase de translation strings

* Bring back shapeshift logo on swap

* Fix contracts tab translations

* Fix a few more translations

* Fix translations

* remove debugging stuff

* Update snapshots

* Use react.fragment as markdown root renderer

* Seperate markdown translations into their own function

* Clean up translation functions

* Clean up translation functions

* Update snapshot

* Fix some broken translation strings

* Add prettier ignore file
2018-03-21 22:50:25 -05:00
William O'Beirne
7521337bda Custom DPaths, Improvements, and Fix SingularDTV (#1351)
* Add dpath to select option display

* Re-enable custom path

* Make it a submittable form to behave better with HW wallets

* Adjust styles

* Widen regex to allow for SingularDTV dpath
2018-03-21 15:19:15 -05:00
Michael - Blurpesec
8eeefe7e25 Fix offline broadcast link (#1350)
* Fixed offline broadcast link

* fix for link from root
2018-03-21 13:49:33 -05:00
Daniel Ternyak
8c0dd3f455
Use ethereum-blockies-base64 (#1326)
* use makeBlockie from ethereum-blockies-base64

* adjust type ethereum-blockies-base64 type declaration

* add ethereum-blockies-base64

* update ethereum-blockies-base64; remove redundent declaration file
2018-03-17 16:31:28 -05:00
William O'Beirne
db6b737cad Show Recent Txs on Check Tx Page (#1147)
* Save transactions to local storage.

* Checksum more things + reset hash on network change.

* Fix IHexTransaction type, grab from from tx object directly.

* Refactor storage of recent transactions to use redux storage and loading.

* Refactor types to a transactions types file.

* Initial crack at recent transactions tab on account

* Punctuation.

* Transaction Status responsive behavior.

* Refactor transaction helper function out to remove circular dependency.

* Fix typings

* Collapse subtabs to select list when too small.

* s/wallet/address

* Type select onChange

* Get fields from current state if web3 tx
2018-03-14 15:10:14 -05:00
anticlimactic
16469e1a62 Show Disabled Send Button on /pushtx (#1302)
* Fixes #1291. Implemented a new boolean that allows you to toggle whether you are using a disabled send tx button that persists or a send tx button that remains invisible until a valid transaction is present.

* Fixed object shorthand precommit error.

* Cleanup boolean logic, remove redundant code, make comparision elements more obvious
2018-03-12 00:06:09 -05:00
James Prado
4788381641 Update Account SubTab Routing / Token Scanner CSS Updates (#1276)
* Redirect user to subtab after logging in

* Update token balances styles

* Adjust routing for readOnly wallets
2018-03-11 17:19:35 -05:00
James Prado
9cac0298a2 Improve accessibility (a11y) (#1267)
* Manage modal focus

* Add isOpen prop to CustomNodeModal

* Remove outline overrides

* Update outline style for inputs

* Fix modal focus management & Cleanup CustomNodeModal

* Add aria-label on modal close button

* Fix modal scroll to top

* Add aria-live property for notifications

* Add aria-busy to Spinner component

* Fix border styles for generatewallet password inputs

* Update token balances inputs

* Remove multiple h1's & Update styles

* Add alt text to all img elements

* Update swap link from bity to shapeshift

* Update aria-labels and alt text

* Only show keystore password input when required

* Revert "Only show keystore password input when required"

This reverts commit 7ec5de52da0982cd3131f365b142f6915638d831.

* address changes requested
2018-03-08 13:28:43 -06:00
HenryNguyen5
94b3f3403b Fix recommended gas price breaking on subtab switch (#1268) 2018-03-07 17:55:46 -06:00
HenryNguyen5
16e6677c0f Derive available tx metadata (#1257)
* Derive "from" and "unit" parameters from current transaction when possible

* Fix tsc errors

* Address changes
2018-03-07 17:42:16 -06:00
HenryNguyen5
c340246ca0 Enable no-implicit-any (#1263)
* Progress commit

* Update more types

* Fix more types

* Fix abi function types

* Fix lib types

* Fix rest of types

* Address wbobeirne changes

* Change origin and destination check
2018-03-07 17:36:05 -06:00
Daniel Ternyak
3278318fa6
Fix Coinbase Widget (#1286)
* Connect Promos; pass current wallet address to Coinbase

* Use ShapeShift as promo if no wallet instance when showing Coinbase

* use appstate for typing
2018-03-07 10:54:14 -06:00
William O'Beirne
a5be81e96d Change swap link icon to ShapeShift logo. Get rid of new banner. (#1264) 2018-03-05 21:22:45 -06:00