288 Commits

Author SHA1 Message Date
Daniel Kmak
3e10970f83 [FEATURE] Add Redux state for scheduling 2018-04-08 21:50:08 +07:00
Daniel Kmak
ac0a398a9a
[FEATURE] Hide scheduling when sending tokens. 2018-04-06 15:47:15 +02:00
Daniel Kmak
6596f70e7b
[FIX] Fix ethereumjs-abi dependency. 2018-04-06 14:19:11 +02:00
Joseph Bagaric
6e3ed8e0a8 [FEATURE] UI changes and descriptions 2018-04-06 15:56:22 +07:00
Daniel Kmak
37e81f7040 [FEATURE] Additional validation 2018-04-06 15:56:18 +07:00
Daniel Kmak
40be251e7b [FEATURE] Gas estimation for scheduling 2018-04-06 15:56:18 +07:00
Daniel Kmak
2cf2cc5b26 [FEATURE] Call contract to validate scheduling params 2018-04-06 15:56:17 +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
e4cd2ecfae [FEATURE] Default Window Size 2018-04-06 15:56:17 +07:00
Daniel Kmak
e0a08cf834 [FIX] Update CSS of logo. 2018-04-06 15:56:17 +07:00
Daniel Kmak
57dfc3d28a [FEATURE] Add link to image. 2018-04-06 15:56:17 +07:00
Daniel Kmak
98772c440a [FEATURE] Add ChronoLogic logo. 2018-04-06 15:56:17 +07:00
Joseph Bagaric
1a7fe08f29 [FEATURE] Timezone inclusion 2018-04-06 15:56:17 +07:00
Joseph Bagaric
a79b1d72e9 [FEATURE] Timestamp Scheduling basic functionality 2018-04-06 15:56:17 +07:00
Joseph Bagaric
7795aacbe9 [FIX] Datetime picker not working on md screens 2018-04-06 15:56:17 +07:00
Joseph Bagaric
c2f1d002b5 [FIX] Scheduling responsiveness 2018-04-06 15:56:13 +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
Joseph Bagaric
02ba3ea0c3 [FEATURE] "Scheduled" button styling
* Reordered, renamed and centered scheduling elements

* Added the toggle button styling

* Class -> ClassName
2018-04-06 15:56:08 +07:00
Daniel Kmak
62f528fc99 [FEATURE] Add Schedule Gas Limit field 2018-04-06 15:56:04 +07:00
Daniel Kmak
7267f3555f [FEATURE] Add basic styling and network check. 2018-04-06 15:56:04 +07:00
Joseph Bagaric
7428b126e4 [FEATURE] Scheduling toggle 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
Daniel Kmak
49fa54ba0b [FEATURE] Reimplement Time Bounty. 2018-04-06 15:55:49 +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
eb19dd9f0b [FEATURE] Move the Schedule Payment to the main tab. 2018-04-06 15:55:27 +07:00
Piotr Kosiński
577ab52a4e Title and explanation 2018-04-06 15:55:21 +07:00
Daniel Kmak
f2afd78f4e [FEATURE] Initial EAC integration. 2018-04-06 15:55:21 +07:00
HenryNguyen5
1047975b1b Update to typescript 2.8.1 (#1456) 2018-04-05 21:17:58 -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
bb0014dbbb
Fix typos in translations (#1384) 2018-03-26 12:48:41 -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
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
5d41a7f774 Remove all LESS code (#1348)
* Checking in removal process.

* Final removal of all SCSS

* Remove unnecessary test

* tscheck
2018-03-20 15:08:57 -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
William O'Beirne
4b8adc81ce Allow 0 ETH Transactions (#1307)
* Allow zero number

* Fail when request payment is zero value, or if you try to send token with zero value.

* Parseint instead of addition casting to catch empty string.
2018-03-14 14:51:37 -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
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
HenryNguyen5
2d057eb0b2 Fix swap timer (#1265) 2018-03-05 22:51:31 -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
William O'Beirne
3a36818412 Add Check TX Button to Transaction Notification (#1217)
* Reinstates v3 behavior on transaction send:

* Alert shows Check TX Status button

* Check TX page uses txHash query param

* LogOutPrompt now carries over search params and hash

* Remove console log

* Update test.
2018-03-05 12:58:53 -06:00