aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/containers
Commit message (Collapse)AuthorAgeFilesLines
* feat: give all stateless components a displayName or make them privatefragosti2019-01-021-2/+2
|
* Merge branch 'development' into fix/instant/signature-deniedBrandon Millman2018-12-211-12/+21
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: (914 commits) Unfix compiler version except for top level contracts Move OrderValidator to extensions Update CHANGELOG Remove assembly version of matchOrders Add getOrderInfo check before calling fillOrder Update comments and hard code function selector constants Fix build after rebase update comments Fix build and add back tests Update dependency paths Add OrderMatcher tests feat: Add OrderMatcher contract that takes spread in multiple assets by calling `matchOrders` followed by `fillOrder` Update CHANGELOG Use more efficient equality checks Add note about input validation Use more efficient check for overflow Check if amount == 0 before doing division Reapply prettier New relayers feat(sra_client.py): Test deployed pkg via tox ...
| * feat(instant): ETH/USD toggleSteve Klebanoff2018-12-121-12/+21
| |
* | fix(instant): catch unknown errors from executeBuyAsync, report them and ↵Brandon Millman2018-12-211-0/+3
|/ | | | show could not submit transaction
* feat: only use display name from provider in uifragosti2018-12-081-1/+1
|
* Merge pull request #1365 from 0xProject/fix/instant/token-selectorBrandon Millman2018-12-041-1/+4
|\ | | | | [instant] various polish items
| * feat(instant): add token symbol to buy button textBrandon Millman2018-12-011-1/+4
| |
* | feat(instant): provide a custom wallet display nameBrandon Millman2018-12-011-1/+3
|/
* Merge pull request #1342 from 0xProject/feature/instant/misc-close-analyticsSteve Klebanoff2018-12-011-0/+3
|\ | | | | [instant] Close and View Transaction analytics events
| * Merge branch 'development' into feature/instant/misc-close-analyticsSteve Klebanoff2018-11-302-18/+23
| |\
| * | feat(instant): Close and View Transaction analytics eventsSteve Klebanoff2018-11-281-0/+3
| | |
* | | Merge branch 'development' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-12-012-18/+23
|\ \ \ | | |/ | |/| | | | fix/instant/instant-bounces-on-error
| * | Merge branch 'development' into feature/instant/quote-analyticsSteve Klebanoff2018-11-291-16/+21
| |\ \
| | * | Track install wallet clickedSteve Klebanoff2018-11-281-16/+21
| | |/
| * | Move fetch origin out of optionsSteve Klebanoff2018-11-291-2/+1
| | |
| * | fetchedVia -> fetchOriginSteve Klebanoff2018-11-291-1/+1
| | |
| * | QuoteFetchedVia -> QuoteFetchOriginSteve Klebanoff2018-11-291-2/+2
| | |
| * | feat(instant): Quote fetch trackingSteve Klebanoff2018-11-281-1/+2
| |/
* / fix: instant error no longer makes instant movefragosti2018-11-291-1/+7
|/
* feat(instant): implement account related eventsBrandon Millman2018-11-211-2/+6
|
* isDisabled -> isInputDisabledSteve Klebanoff2018-11-211-6/+6
|
* Allow user to select other token on successSteve Klebanoff2018-11-211-0/+8
|
* Merge pull request #1273 from 0xProject/fix/instant/heartbeat-errorsSteve Klebanoff2018-11-161-1/+5
|\ | | | | [instant] Don't show errors from heartbeat buy quote calls
| * Send in affiliate info as optionSteve Klebanoff2018-11-161-7/+4
| |
| * Have heartbeat update not trigger errorsSteve Klebanoff2018-11-161-1/+8
| |
* | fix: remove redundant handlerfragosti2018-11-161-5/+5
| |
* | feat: make onUnlockWalletClick different based on ONfragosti2018-11-161-2/+25
|/
* fix: do not remove payment dropdown when confirmation pendingfragosti2018-11-141-2/+1
|
* Merge branch 'development' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-11-145-26/+43
|\ | | | | | | feature/instant/different-install-wallet-copy-for-mobile
| * Merge branch 'feature/instant/metamask-connect-flow' of ↵fragosti2018-11-142-21/+36
| |\ | | | | | | | | | https://github.com/0xProject/0x-monorepo into feature/instant/metamask-connect-flow
| | * Remove ConnectedZeroExInstantContainer, introduce ↵Steve Klebanoff2018-11-142-21/+36
| | | | | | | | | | | | ConnectedBuyOrderProgressOrPaymentMethod
| * | Merge https://github.com/0xProject/0x-monorepo into ↵fragosti2018-11-143-5/+7
| |\ \ | | |/ | |/| | | | feature/instant/metamask-connect-flow
| | * chore(instant): update selectedAssetAmount in the redux state to be named ↵Brandon Millman2018-11-143-7/+7
| | | | | | | | | | | | selectedAssetUnitAmount
| | * feat(instant): calculate per unit eth amount to populate OrderDetails componentBrandon Millman2018-11-131-0/+2
| | |
* | | feat: display the correct provider type and change unlock / install prompt ↵fragosti2018-11-141-0/+1
|/ / | | | | | | content
* | chore: run linterfragosti2018-11-131-1/+1
| |
* | feat: use Omit type to improve type defitions in some containersfragosti2018-11-132-17/+6
| |
* | feat: integrate wallet flow with heartbeat and other branchesfragosti2018-11-131-6/+33
| |
* | Merge branch 'development' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-11-101-2/+2
|\| | | | | | | feature/instant/metamask-connect-flow
| * Merge pull request #1237 from 0xProject/feature/instant/buy-quote-heartbeatSteve Klebanoff2018-11-101-2/+2
| |\ | | | | | | [instant] Heartbeats for account info and buy quotes
| | * Use existing functions instead of writing our ownSteve Klebanoff2018-11-101-4/+2
| | |
| | * Merge branch 'development' into feature/instant/buy-quote-heartbeatSteve Klebanoff2018-11-101-14/+5
| | |\
| | * | wip: abstract out updating buy quoteSteve Klebanoff2018-11-091-39/+4
| | | |
* | | | Merge branch 'development' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-11-101-8/+33
|\| | | | | | | | | | | | | | | feature/instant/metamask-connect-flow
| * | | feat(instant): Dismissible overlay error messagesSteve Klebanoff2018-11-101-8/+33
| | |/ | |/| | | | | | | Adds dismissible overlay to error messages on mobile
* | | feat: open metamask sliding panel if locked on clickfragosti2018-11-101-3/+17
| | |
* | | feat: connect payment method to state and display different content based on ↵fragosti2018-11-101-1/+3
| | | | | | | | | | | | account state
* | | feat: add account payment method containerfragosti2018-11-101-0/+21
| | |
* | | feat: make zero ex instant container switch between progress and paymentfragosti2018-11-101-0/+21
| | |
* | | feat: implement CurrentStandardSlidingPanel and put it in the main containerfragosti2018-11-102-2/+32
|/ /
* | Merge branch 'development' into feature/instant/account-state-changeBrandon Millman2018-11-091-51/+5
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: [instant] Viewport specific errors (#1228) Added more comments Include wholeNumberSchema in sra-spec schemas chore(instant): fix linter Fix isNode fix(instant): update buy quote at start up in the case of default amount fix: apply css reset to overlay as well fix(website): turn off production flag when building locally chore: linter fix: progress bar fix: use fontSize prop in button feat: make instant resistant to external styles feat: add faux externall css file Add upstream issue Use const require instead of import Fix tslint issues Use detect-node Set curstom inspect printer in BigNumber
| * fix(instant): update buy quote at start up in the case of default amountBrandon Millman2018-11-081-51/+5
| |
* | feat(instant): fetch balance at startupBrandon Millman2018-11-081-0/+8
| |
* | feat(instant): fetch account address at startup and drive account state changesBrandon Millman2018-11-081-1/+5
|/
* feat(instant): fallback to an empty wallet provider when none is injectedBrandon Millman2018-11-082-26/+29
|
* chore(instant): update OrderState enum to follow capitalization conventionsBrandon Millman2018-11-073-5/+5
|
* Merge branch 'development' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-11-031-5/+4
|\ | | | | | | feature/instant/maker-asset-datas-interface
| * Merge branch 'development' into ↵Steve Klebanoff2018-11-033-21/+46
| |\ | | | | | | | | | fix/instant/decimal-fields-scaling-amount-input-bn
| * | Getting rid of BigNumberInput in favor of BigNumberSteve Klebanoff2018-11-021-5/+4
| | |
* | | Merge branch 'development' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-11-033-21/+46
|\ \ \ | | |/ | |/| | | | feature/instant/maker-asset-datas-interface
| * | Merge pull request #1208 from 0xProject/fix/instant/zero-NaNSteve Klebanoff2018-11-031-1/+1
| |\ \ | | | | | | | | [instant] Fix NaN issue with zero input
| | * | fix(instant): dont get buy quote for zero valueSteve Klebanoff2018-11-031-1/+1
| | | |
| * | | feat(instant): implement affiliateFeeInfo propBrandon Millman2018-11-032-8/+24
| |/ /
| * | Merge branch 'development' into feature/instant/simulated-progress-barSteve Klebanoff2018-11-023-6/+10
| |\|
| * | removing unused importsSteve Klebanoff2018-11-021-1/+1
| | |
| * | Move file to new file to reflect the new export nameSteve Klebanoff2018-11-021-2/+0
| | |
| * | Rename exportSteve Klebanoff2018-11-021-1/+1
| | |
| * | Move BuyOrderProgress to its own componentSteve Klebanoff2018-11-021-38/+4
| | |
| * | ended -> hasEndedSteve Klebanoff2018-11-021-3/+3
| | |
| * | Rename to SelectedAssetProgressSteve Klebanoff2018-11-011-2/+2
| | |
| * | Removing old simulated progress bar, and adding documentation to ↵Steve Klebanoff2018-11-011-2/+0
| | | | | | | | | | | | TimedProgressBar
| * | WIP of new timedprogressbar using CSS animationsSteve Klebanoff2018-11-011-5/+13
| | |
| * | Explicit actions for setting different order statesSteve Klebanoff2018-11-012-40/+8
| | | | | | | | | | | | This allows us to dispatch updates with less syntax, and allows us to not have to send in progress info when setting failure and success
| * | Get rid of old demoSteve Klebanoff2018-10-312-25/+0
| | |
| * | Use simulated progress bar for txnSteve Klebanoff2018-10-312-24/+72
| | |
| * | Remove old filesSteve Klebanoff2018-10-311-37/+0
| | |
| * | Simulated Progress component workingSteve Klebanoff2018-10-311-0/+48
| | |
| * | Placeholder for estimated timeSteve Klebanoff2018-10-311-1/+1
| | |
| * | Dispatching progressSteve Klebanoff2018-10-311-0/+37
| | |
| * | store estimated time in Ms on stateSteve Klebanoff2018-10-301-3/+3
| | |
* | | feat: reset input after token selectionfragosti2018-11-031-1/+2
| | |
* | | feat: auto-close panel when a token is selectedfragosti2018-11-021-2/+10
| | |
* | | feat: add states to the erc20 input for no assets or only 1 assetfragosti2018-11-022-11/+11
| | |
* | | feat: implement basic erc20 token selectorfragosti2018-11-011-0/+36
| |/ |/|
* | chore: address PR feedbackfragosti2018-11-012-2/+2
| |
* | feat: implement sliding panelfragosti2018-10-312-7/+9
| |
* | feat: refactor animation codefragosti2018-10-312-4/+6
|/
* Merge branch 'development' into feature/instant/fixed-orders-in-render-methodBrandon Millman2018-10-302-9/+17
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: Has Sufficient Funds/Balance -> Has Sufficient ETH When transaction too low, treat as validation error. also modify callback: errorMessage could be AssetBuyError as well onPendingValidation -> onValidationPending linting Simpler way of validaitng has enough eth questionmark syntax instead of '| undefined' Validate enough ETH when user clicks buy acccount for no address move funct into util move imports yarn.lock changes feat(instant): Show message if user doesn't have enough ETH ethDecimals -> ETH_DECIMALS
| * Merge pull request #1193 from 0xProject/feature/not-enough-ethSteve Klebanoff2018-10-302-8/+13
| |\ | | | | | | [instant] Not enough ETH error message
| | * When transaction too low, treat as validation error. also modify callback: ↵Steve Klebanoff2018-10-301-2/+2
| | | | | | | | | | | | errorMessage could be AssetBuyError as well
| | * onPendingValidation -> onValidationPendingSteve Klebanoff2018-10-291-2/+2
| | |
| | * lintingSteve Klebanoff2018-10-272-6/+1
| | |
| | * Simpler way of validaitng has enough ethSteve Klebanoff2018-10-272-13/+11
| | |
| | * Validate enough ETH when user clicks buySteve Klebanoff2018-10-271-0/+6
| | |
| | * Merge branch 'development' into feature/not-enough-ethSteve Klebanoff2018-10-274-93/+35
| | |\
| | * | acccount for no addressSteve Klebanoff2018-10-271-1/+1
| | | |
| | * | move funct into utilSteve Klebanoff2018-10-271-5/+2
| | | |
| | * | move importsSteve Klebanoff2018-10-271-4/+2
| | | |
| | * | Merge branch 'development' into feature/not-enough-ethSteve Klebanoff2018-10-271-15/+15
| | |\ \
| | * | | feat(instant): Show message if user doesn't have enough ETHSteve Klebanoff2018-10-271-1/+13
| | | | |
* | | | | Merge branch 'development' into feature/instant/fixed-orders-in-render-methodBrandon Millman2018-10-295-93/+45
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: fix(instant): refactor some props to use isDisabled instead of disabled linting imports feat(instant): Disable input when processing Add back debounce Make doesBuyQuoteMatchState in reducer less strict fix(instant): prevent outdated quote requests from overriding the correct quote selected asset buy order state button -> selected asset buy order state buttons buy order state button -> buy order state buttons feat(order_utils.py): ERC721 asset data codec (#1186) Add note about tslint false positive tsx -> ts Get BuyOrderState one big connected component, and let user view failure Show View Transaction button on failure, and allow setting of width for Try Again button and View Txn button Added string to constants chore: Update contract-wrappers CHANGELOG.json fix(contract-wrappers): Fix tslint errors that were lingering due to misconfiguration chore: Add --format stylish to tslint
| * | | | Merge pull request #1194 from 0xProject/feature/instant/input-to-fixedSteve Klebanoff2018-10-271-0/+10
| |\ \ \ \ | | |_|_|/ | |/| | | [instant] Disable input when processing
| | * | | fix(instant): refactor some props to use isDisabled instead of disabledBrandon Millman2018-10-271-6/+6
| | | | |
| | * | | feat(instant): Disable input when processingSteve Klebanoff2018-10-271-0/+10
| | | |/ | | |/|
| * | | Merge pull request #1189 from 0xProject/feature/instant/txn-failureSteve Klebanoff2018-10-274-93/+35
| |\ \ \ | | |/ / | |/| | [instant] View txn on failure
| | * | selected asset buy order state button -> selected asset buy order state buttonsSteve Klebanoff2018-10-271-4/+7
| | | |
| | * | buy order state button -> buy order state buttonsSteve Klebanoff2018-10-271-2/+2
| | | |
| | * | tsx -> tsSteve Klebanoff2018-10-271-0/+0
| | | |
| | * | Get BuyOrderState one big connected component, and let user view failureSteve Klebanoff2018-10-264-127/+59
| | | |
| | * | Show View Transaction button on failure, and allow setting of width for Try ↵Steve Klebanoff2018-10-262-5/+12
| | |/ | | | | | | | | | Again button and View Txn button
* | / Refactor error handling such that errorMessage lives on the top level stateBrandon Millman2018-10-273-15/+29
|/ /
* | Merge branch 'development' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-10-264-15/+33
|\| | | | | | | feature/instant/input-fees-rounding
| * Making failure txHash requiredSteve Klebanoff2018-10-261-2/+3
| |
| * txnHash -> txHashSteve Klebanoff2018-10-262-7/+7
| |
| * new try/catch pattern and new prop names per code review feedbackSteve Klebanoff2018-10-261-4/+4
| |
| * take out unused importsSteve Klebanoff2018-10-262-2/+2
| |
| * feat(instant): Be able to view transaction when transaction is in progressSteve Klebanoff2018-10-251-1/+5
| |
| * Associate txnhash with processing stateSteve Klebanoff2018-10-251-3/+11
| |
| * Introduce new OrderProcessStateSteve Klebanoff2018-10-254-10/+10
| |
| * Merge pull request #1180 from 0xProject/feature/instant/metamask-denialSteve Klebanoff2018-10-251-0/+5
| |\ | | | | | | [instant]Message when signature denied
| | * Message when signature deniedSteve Klebanoff2018-10-251-0/+5
| | |
* | | chore: dont override toString of BigNumber and other PR feedbackfragosti2018-10-261-12/+13
| | |
* | | Merge branch 'development' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-10-255-9/+44
|\| | | | | | | | | | | feature/instant/input-fees-rounding
| * | Get rid of react-shared as a dependency, write own etherscanUtilSteve Klebanoff2018-10-251-3/+2
| |/
| * Merge branch 'development' into feature/instant/processing-stateSteve Klebanoff2018-10-243-41/+22
| |\
| * | feat(instant): Procesing and Success statesSteve Klebanoff2018-10-245-14/+51
| | |
| * | Placing order buttonSteve Klebanoff2018-10-231-2/+4
| | |
* | | Merge branch 'development' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-10-257-29/+63
|\ \ \ | | |/ | |/| | | | feature/instant/input-fees-rounding
| * | rename containerSteve Klebanoff2018-10-241-3/+3
| | |
| * | null -> undefinedSteve Klebanoff2018-10-241-2/+2
| | |
| * | move buy order state to its own componentSteve Klebanoff2018-10-241-18/+2
| |/
| * feat(instant): Add failure state and iconSteve Klebanoff2018-10-201-0/+5
| |
| * lintingSteve Klebanoff2018-10-202-3/+0
| |
| * Merge branch 'feature/instant/beta-render-et-al' into ↵Steve Klebanoff2018-10-206-13/+48
| |\ | | | | | | | | | feature/instant/failure-state
| | * Merge branch 'development' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-10-205-12/+15
| | |\ | | | | | | | | | | | | feature/instant/beta-render-et-al
| | | * feat(instant): Indicate that order details section is loading by having ↵Steve Klebanoff2018-10-191-0/+3
| | | | | | | | | | | | | | | | pulsing placeholder
| | | * Moved LatestErrorDisplay to types file and gave generic nameSteve Klebanoff2018-10-191-2/+3
| | | |
| | | * Rename update function to set function since it doesnt take a parameterSteve Klebanoff2018-10-191-3/+3
| | | |
| | | * fix camel casing of updateBuyOrderStateSteve Klebanoff2018-10-192-4/+4
| | | |
| | | * quoteState -> quoteRequestStateSteve Klebanoff2018-10-192-5/+5
| | | |
| * | | Selected Asset buttonSteve Klebanoff2018-10-203-8/+62
| | | |
| * | | WIP: clear buy quote workingSteve Klebanoff2018-10-201-0/+2
| | | |
| * | | wip: retry buttonSteve Klebanoff2018-10-201-21/+8
| | | |
| * | | Show order failed messaging when order failsSteve Klebanoff2018-10-191-0/+2
| | | |
* | | | feat: have basic scaling amount input workingfragosti2018-10-231-1/+1
| |/ / |/| |
* | | feat: use color from metaData instead of default primaryColorfragosti2018-10-191-0/+32
|/ /
* | Merge branch 'development' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-10-195-28/+78
|\| | | | | | | feature/instant/beta-render-et-al
| * chore: change package org from 0xproject to 0xJacob Evans2018-10-184-7/+7
| |
| * selectedAssetBuyState -> buyOrderStateSteve Klebanoff2018-10-182-5/+5
| |
| * add concept of quoteStateSteve Klebanoff2018-10-182-9/+18
| |
| * creating big error util file per francescos comment in PRSteve Klebanoff2018-10-182-5/+5
| |
| * latestErrorDismissed -> latestErrorDisplay enumSteve Klebanoff2018-10-181-6/+5
| |
| * feat(instant): Handle AssetBuyer errorsSteve Klebanoff2018-10-182-1/+48
| |
* | feat: MVP of passing in sraApiUrl, assetData and other settings from render ↵fragosti2018-10-192-16/+58
|/ | | | method
* Add ts-optchain and use it instead of lodash getfragosti2018-10-162-2/+4
|
* feat: model asset meta data and add dynamic assetData statefragosti2018-10-131-11/+20
|
* feat: make redux actions type-sagefragosti2018-10-132-15/+13
|
* feat: populate order details with information from worst buy quotefragosti2018-10-122-1/+27
|
* feat: debounce the fetching of new quotesfragosti2018-10-121-10/+14
|
* feat: Move over features from zrx-buyerfragosti2018-10-114-36/+142
|
* Fix empty input bugfragosti2018-10-101-1/+1
|
* Apply linterfragosti2018-10-051-5/+5
|
* Create SelectedAssetInputAmountfragosti2018-10-051-0/+36