This repository has been archived by the owner on Jan 15, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
Release v1.5 #1485
Closed
Release v1.5 #1485
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Add new trading page * Add new layout * Add new routes * Add trading page story * Do not use global styles for the new layout * Fix issue with relative path Co-authored-by: Velenir <Velenir@users.noreply.github.com> Co-authored-by: Velenir <Velenir@users.noreply.github.com>
* Add new trading page * Add new layout * Add new routes * Add trading page story * Do not use global styles for the new layout * Add loremp ipsum * Create react decorator * Create swap layout stories * Remove global decorator * Move global style to swap layout * Add trading layout stories * Do not use internal types * Remove initial entities * Use outline instead of border
* Add xDai dex price estimation * Add xDAI block number for contract * Add the graph API for xDAI * Add empty disabled tokens list * Add xDAI to networks * Add WETH in xDAI * Change addressesByNetwork util * Return WETH address in xDAI * Adapt tests and create a new DisabledTokens list * Adapt createTokenListApi * Add xDAI test tokens * Delete unused const * Add placeholder for gas estimation * Remove duplicated util
* Add xDai dex price estimation * Add xDAI block number for contract * Add the graph API for xDAI * Add empty disabled tokens list * Add xDAI to networks * Add WETH in xDAI * Change addressesByNetwork util * Return WETH address in xDAI * Adapt tests and create a new DisabledTokens list * Adapt createTokenListApi * Add xDAI test tokens * Delete unused const * Add placeholder for gas estimation * Remove duplicated util * Remove space * Update dex-js
* Add Wrapped xDAI * Use wxDAI * Generalize isWeth into isWrappable * Add util to get the native token name * Use the right native token in balances page * Adapt trade widget to wrap xDAI * Refactor Wrapping Ether button * Add missing prop
* Move TokenImg to it's common components * Add new simplified tokenImage compoenent * Add decorator * Make story and new token image component * Use a wxDAI image with transparent background * Improve image * Refactor token images * Remove unnecesary prop image * Cleanup dead code, and add issues * Remove dead code * Refactor require context * Remove image props * Update dex-js * Init token images * Add some test data * Simplify expression Co-authored-by: Velenir <Velenir@users.noreply.github.com> Co-authored-by: Velenir <Velenir@users.noreply.github.com>
* Use in xDAI blockscout blockexplorer link and refactor * Simplify expression Co-authored-by: Velenir <Velenir@users.noreply.github.com> * Token image component (#1440) * Move TokenImg to it's common components * Add new simplified tokenImage compoenent * Add decorator * Make story and new token image component * Use a wxDAI image with transparent background * Improve image * Refactor token images * Remove unnecesary prop image * Cleanup dead code, and add issues * Remove dead code * Refactor require context * Remove image props * Update dex-js * Init token images * Add some test data * Simplify expression Co-authored-by: Velenir <Velenir@users.noreply.github.com> Co-authored-by: Velenir <Velenir@users.noreply.github.com> * Use xDAI instead of xDAI as the name for the network * Add stories for xDAI Co-authored-by: Velenir <Velenir@users.noreply.github.com>
* Add Last trades * Add last trades histories * Handle no trades * Add apollo client * Add last trades component * Add last trades stories * Create new apollo decorator for storybook * Create last trades widget * Create stories for last trades widget
* extra gas * orders for order cancellation * earmarkTX is responsible for tx.gas++
* Add image for STAKE, also fix image not being displayed in app * Fix storybook
* require().default storybook workaround * remove workaround * explicit types * replace loader for images
* move earmark gas addition responsibility to mware * fix build
* Simplify types * Remove unused import * Use dex-js 0.8.0 * Add yarn.lock
* don't lie about types * abstract away sell/receiveTokens logic into container * fix rerender loop (give a stable ref) * show NO TOKENS message * more synchronous PendingState * default walletApi.blockchainState * fix build
* stricter and more correct types * fix wcResolver * fix error accumulation in reducer * Typescript 4.0 update (#1458) * update TS and related dependencies * more type correct isPromise util * change deprecated rules * don't use Function as type * don't use {} as type * use labeled tuples * fix import for declare module * (TypeScript/issues/28097) * type useParams * type LastTradeWidget gql params * lint fixes
* removed modali styles from global * StlyedModal aka global syled modali * export modali from StyledModal * change useSubmitTxModal to use new exports * export StyledModali with custom Modal * changing import strings * StyledModal > Modal * remove global variables from Modal * Modali export rename
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3. **This update includes a security fix.** - [Release notes](https://github.com/indutny/elliptic/releases) - [Commits](indutny/elliptic@v6.5.2...v6.5.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bumps [bl](https://github.com/rvagg/bl) from 1.2.2 to 1.2.3. **This update includes a security fix.** - [Release notes](https://github.com/rvagg/bl/releases) - [Commits](rvagg/bl@v1.2.2...v1.2.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bumps [@popperjs/core](https://github.com/popperjs/popper-core) from 2.4.4 to 2.5.3. - [Release notes](https://github.com/popperjs/popper-core/releases) - [Commits](floating-ui/floating-ui@v2.4.4...v2.5.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bumps [webpack](https://github.com/webpack/webpack) from 4.44.1 to 4.44.2. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](webpack/webpack@v4.44.1...v4.44.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bumps [react-hot-loader](https://github.com/gaearon/react-hot-loader) from 4.12.21 to 4.13.0. - [Release notes](https://github.com/gaearon/react-hot-loader/releases) - [Changelog](https://github.com/gaearon/react-hot-loader/blob/master/CHANGELOG.md) - [Commits](https://github.com/gaearon/react-hot-loader/commits/v4.13.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* add stylelint * add stylelint config * fix stylelint errors * add css linting scripts * cleanup * stylelint fix * fix types * stylelint fixes
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
DON'T SQUASH
https://camo.githubusercontent.com/e796f4a5be35084236dcf73f6f425438a1ad452b/68747470733a2f2f6d656469612e7269666673792e636f6d2f696d616765732f33316430363639353935346165393837343263393438346330326239323539632f74656e6f722e676966
📓 Changelog
xDAI integration: wrap/unwrap functionality, conversion from EtherscanLink to xDAI compatible block explorer TxLink component.
Continuation of large components refactor + implementation of their stories.
Storybook
require context fixes, bug fixes,Stylelint
integration for CSS in JS (styled components), custom Modal implementation extendingModali
to simplify global styles + remain in-line with self-contained component approach. Self-contained TokenImg component, Apollo GraphQL library integration into LastTrades component. Fixed a gas issue involving order cancellation. Fixed an issue involving earmark logic in provider middleware.👷♀️ Other small changes and fixes:
54184bf Bump react-hot-loader from 4.12.21 to 4.13.0
5b4d4aa Bump webpack from 4.44.1 to 4.44.2
d2c095f Bump @popperjs/core from 2.4.4 to 2.5.3
cdbd3db [Security] Bump bl from 1.2.2 to 1.2.3
d8e15d8 [Security] Bump elliptic from 6.5.2 to 6.5.3
6aff25f don't count reverted trades we don't display (#1480)
a11c72f Fix settings page (#1457)
119589c Refactor and simplify token types (#1454)
e09d686 require('img').default
30e3111 Require(*).default storybook workaround (#1451)
4c39060 [xdai] Fix images: stake, wxDAI (#1448)
1a0b316 break-word on long price est (#1443)
aa1f21c Merge branch 'develop' into xdai
5a78689 Fix some moved dependency (#1447)
dd9835f Merge branch 'master' into develop
621ada6 Fix issue with initial selection (#1436)
1cc2eac Update dex js (#1433)
f11b75c xDAI Config changes (#1429)
1fbb3de Stories for layouts (#1409)