Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release #1104

Merged
merged 43 commits into from
May 17, 2021
Merged

Release #1104

merged 43 commits into from
May 17, 2021

Conversation

creed-victor
Copy link
Collaborator

No description provided.

creed-victor and others added 30 commits May 3, 2021 20:49
* display warning dialog on smaller viewports

* Make mobile warning dialog cancelable

* Add basic styles

* Small adjustments

Co-authored-by: Victor Creed <69458664+creed-victor@users.noreply.github.com>
* fixes event histories

* Clear site data when needed

Co-authored-by: Victor Creed <rytis.grincevicius+cv@gmail.com>
Co-authored-by: Victor Creed <69458664+creed-victor@users.noreply.github.com>
…s-maintenance

Fixes open positions liquidation price
* #346 margin trade redesign

* #346 margin trade redesign

* #388 tailwind configuration on webpack

* #388 changed default applied classes

* Input fields, buttons and etc. #396 #346

* #396, #405 redesigned inputs

* Form elements from bridge (#464)

* ethereym bridge #422

* removes bridge code from dapp #422

* asset selector #422

* Feat/redesign (Bootstrap -> Tailwind) (#434)

* convert bootstrap to tailwind in Header, WalletConnector

* convert bootstrap styles to tailwind styles

* convert bootstrap to tailwind css

* convert bootstrap to tailwind

* convert bootstrap to tailwind

* convert bootstrap to tailwind

* convert bootstrap to tailwind

* change margin and padding from bootstrap to tailwind

* convert bootstrap width and round to tailwind

* convert bootstrap to tailwind

* convert bootstrap grid to tailwind with gap and margin

* fix incorrect tailwind css

* convert missing bootstrap class to tailwind

* fix grid spacing issue

* convert bootstrap fonts to tailwind

* convert bootstrap text to tailwind

* fix incorrect font styles

* fix missing bootstrap classes

* remove unnecessary codes

* define default colors

* fixes dependency in yarn.lock

Co-authored-by: Victor Creed <rytis.grincevicius+cv@gmail.com>

* Make sure not to purge tailwindcss classes

* Feat/335 - New Swap UI (#379)

* implement new 'Swap' page

* fix lint issues

* implement swap history

* update table select dropdown style, remove transaction fee, status field

* replace transaction hash component with LinkExplorer component

* remove unnecessary codes

Co-authored-by: Victor Creed <69458664+creed-victor@users.noreply.github.com>

* adds rel to anchors with blank target

* Feat/issue 458 (#475)

* Bump react-dev-utils from 10.2.1 to 11.0.4 (#472)

Bumps [react-dev-utils](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-dev-utils) from 10.2.1 to 11.0.4.
- [Release notes](https://github.com/facebook/create-react-app/releases)
- [Changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG-1.x.md)
- [Commits](https://github.com/facebook/create-react-app/commits/HEAD/packages/react-dev-utils)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* implement number input and text input with label, description and readonly

* add new color schemas

* fix typo issue

* update gray color schema

* fix typo issue

* implement new QrCode component

* add tailwind styles for new select

* Feat/460 light charts (#478)

* Initial commit for #460

* Move kaktana charts to utils

* Update datafeed endpoint format

* Refactoring

* Add styling, onHover date/price legend, more config options for TradingChart

* Fix line chart legend value

* changelog

* allows fastbtc only for whitelisted wallets

* Fix to email notification button (#483)

* Bump react-dev-utils from 10.2.1 to 11.0.4 (#472)

Bumps [react-dev-utils](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-dev-utils) from 10.2.1 to 11.0.4.
- [Release notes](https://github.com/facebook/create-react-app/releases)
- [Changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG-1.x.md)
- [Commits](https://github.com/facebook/create-react-app/commits/HEAD/packages/react-dev-utils)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix to email notification button

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Victor Creed <69458664+creed-victor@users.noreply.github.com>

* Implement Swap Form switch assets button for #450 (#484)

* Feat/chart styling (#486)

* New FastBTCDialog translation strings for #457 (#487)

* Add and translate new strings to PT-BR (#488)

* Updated CHANGELOG.md

* Minor changes PT-BR (#491)

* Update Lend/borrow header link text to "Loans". Closes #485 (#493)

* Update Lend/borrow header link text to "Loans". Closes #485

* Update src/locales/pt_br/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* #494 added rel=noreferrer noopener when target is blank (#495)

Signed-off-by: shoeb <shoebsd31@gmail.com>

* Disable repay position button when low liquidity. Closes #474 (#497)

* Feat/show arbitrage opportunity (#496)

* Fix to email notification button

* Added message to show arbitrage opportunity on the USDT amm pool

* Arbitrage opportunity banner

* Use real oracle price instead of base price from amm

Co-authored-by: Victor Creed <69458664+creed-victor@users.noreply.github.com>

* Add new strings and translate to PT-BR (#499)

* Add new strings and translate to PT-BR

* Minor change

* Update README.md

* removes whitelisting from fastbtc

* removes whitelisting from fastbtc

* Minor change PT-BR (#504)

* Fixes issue of failing assertion of graphs (#508)

Wrong item order

* Only show arbitrage notice when there is an arbitrage oppportnity (#506)

* removes whitelisting from fastbtc

* removes whitelisting from fastbtc

* Fix to only show arbitrage notice when there is an arbitrage oppportunity

* Small change to arbitrage show amount

Co-authored-by: Victor Creed <rytis.grincevicius+cv@gmail.com>
Co-authored-by: Victor Creed <69458664+creed-victor@users.noreply.github.com>

* change the fast btc button test as "Top Up" (#517)

* bug/512-remove0 (#518)

* change the decimal of max amount

* fixed decimal and currency position

* fix warning

* Refresh chart every 15s (#536)

* google analytics script added

* Minor change PT-BR (#541)

* unvest in website (#543)

* Feat/501 asset refactor (#533)

* Changed stats page to include tvl and trading volume (#548)

* Add fiat onramp (#481)

* add buy section. add transak sample code

* showing transak widget

* lint

* move transak.ts to utils

* remove TRANSAK_API_K since renamed with REACT_APP

* encapsulate openTransak with useEffect

* change transaks back to components folder

* Update src/app/containers/BuyBTCPage/index.tsx

Co-authored-by: Victor Creed <69458664+creed-victor@users.noreply.github.com>

* lint

* change default crypto to btc

* change environment to env variable

* Update src/app/containers/BuyBTCPage/index.tsx

* Update src/react-app-env.d.ts

* add new transak env variables to .env.example

* remove buyBTCPage component

* move transak to FastBTC dialog

* add onClose

* important fix

* Update src/locales/pt_br/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update src/locales/pt_br/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update src/locales/pt_br/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* add dialog before transak

* Update src/locales/pt_br/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* make address look better

* fix dispatching steps to state

* add explanation in FiatDialog. Translations

* hyper important fix

* replace custom classes with bootstrap classes

* fix merge errors

* fix the repetitive useEffect for real

* add margin top for button

* Update src/locales/pt_br/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update src/locales/pt_br/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update src/locales/pt_br/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update src/locales/pt_br/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update src/locales/pt_br/translation.json

Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>

* Update .env.example

* added public api keys

* Update src/app/containers/FastBtcDialog/components/transak.tsx

* Update .env.production

* added production api keys

Co-authored-by: Victor Creed <69458664+creed-victor@users.noreply.github.com>
Co-authored-by: Rytis Grincevičius <rytis.grincevicius@gmail.com>
Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>
Co-authored-by: Victor Creed <rytis.grincevicius+cv@gmail.com>

* allow non whitelisted users to interact with market-maker

* New copy for whitelist notification. Closes #555 (#556)

* update qrcode component

* update select component

* add margin-bottom of qrcode input

* implement radio button group

* add title of radio group

* update radio button styles

* update radio group

* add slider

* Minor changes PT-BR (#557)

* Minor changes PT-BR

* Minor change

* update trade button

* reordered styles

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: soulBit <its.soulBit@gmail.com>
Co-authored-by: Victor Creed <69458664+creed-victor@users.noreply.github.com>
Co-authored-by: Victor Creed <rytis.grincevicius+cv@gmail.com>
Co-authored-by: BetsyBraddock <69518422+BetsyBraddock@users.noreply.github.com>
Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>
Co-authored-by: shoeb <shoebsd31@gmail.com>
Co-authored-by: boltsr <38220699+boltsr@users.noreply.github.com>
Co-authored-by: Ana G <40721795+Bitcoinera@users.noreply.github.com>
Co-authored-by: Rytis Grincevičius <rytis.grincevicius@gmail.com>

* Merge remote-tracking branch 'origin/development' into redesign

# Conflicts:
#	src/app/components/TradingPositionSelector/index.tsx
#	src/app/components/UserAssets/VestedAssets.tsx
#	src/app/containers/CloseTradingPositionHandler/index.tsx
#	src/app/containers/LendBorrowSovryn/index.tsx
#	src/app/containers/LiquidityAddContainer/index.tsx
#	src/app/containers/LiquidityRemoveContainer/index.tsx
#	src/app/containers/StatsPage/index.tsx
#	src/app/containers/StatsPage/types.ts
#	src/app/containers/SwapTradeForm/index.tsx
#	src/app/containers/TradingPage/index.tsx
#	src/locales/en/translation.json
#	src/locales/pt_br/translation.json
#	src/styles/sass/new-design.scss
#	src/utils/dictionaries/lending-pool-dictionary.ts
#	src/utils/dictionaries/trading-pair-dictionary.ts
#	yarn.lock

* fixes conflicts

* Feat/swap slippage (#739)

* update slippage dialog in swap page.

* add txDialog into swap page.

* add txDialog in swap

* add AssetWalletBalanceInline component

* add swap translation.

* update SwapFormContainer.

* add new Global TxDialog.

* remove antd and SwapHistoryTable

* fix swapHistory fetching data race condition issue

Co-authored-by: Victor Creed <rytis.grincevicius+cv@gmail.com>

* Feat/728 new version check (#819)

* add update daap dialog.

* add sw check to updateDaapDialog.

* finilize updateDaapDialog.

* updateDaap improvments.

* update serviceWorkerToaster.

* update serviceWorkerToaster.

* Update src/app/components/ServiceWorkerToaster/index.tsx

* Update src/app/components/ServiceWorkerToaster/index.tsx

* Update src/index.tsx

* Update src/app/components/ServiceWorkerToaster/index.module.css

* fix serviceWorkerToaster issues.

* Force rebuild

Co-authored-by: Victor Creed <69458664+creed-victor@users.noreply.github.com>

* Feat/margin trading (#880)

* trading ui fixes

* trading modal

* tradings

* trading purging

* removed console log

* active trades table reworked

* trading history table

* merging redesign branch

* merging redesign branch

* fixed header styles

* removed RBTC/SOV pair from trading

* deleted unused code

* revert master conflicts

* Wallet connect integration test (#732)

* wallet connect test

* engage wallet library updated

* fixes engagw wallet button

* redesigned

* redesign fixes

* feat/component_asset (#928)

* fix asset

* fix Asset on Swap page

* change asset on Trading page

* fix comment

* change Asset on SwapHistory

* fix issue on SwapForm

* redesign fixes

* Merge branch 'redesign-fixes' into redesign

# Conflicts:
#	src/app/components/AssetWalletBalance/index.tsx
#	src/app/components/AvailableBalance/index.tsx
#	src/app/containers/SwapFormContainer/index.tsx
#	src/app/pages/BuySovPage/components/BuyForm/index.tsx

* failed to load chunk issue fixes

* fixes asset image and assets in trading pair selector

* swap page asset renderer

* Feat/959 pending transaction in tables. (#1008)

* add customData to TransactionOptions

* show pending transaction on swap history table

* add pending transaction to trade history table.

* fix pending transaction issues.

* Margin trading interface adjustments (#1025)

* Rename rUSDT to USDT

* RenderTradingPairName adjustments

* Merge remote-tracking branch 'origin/development' into redesign

# Conflicts:
#	src/app/components/AssetWalletBalance/index.tsx
#	src/app/components/ServiceWorkerToaster/index.tsx
#	src/app/containers/LendBorrowSovryn/components/ButtonGroup/index.tsx
#	src/app/containers/LendBorrowSovryn/components/CurrencyContainer/CurrencyRow.tsx

* Spot trading UI (#1009)

* spot trading [WIP] #939

* add spot route to header.

* make RadioGroup reusable.

* add spot trading form components.

* add spot trading pairs.

* add spot trading history data.

* fix spot trading.

* add sov price history to spot trade page.

* add translation to pricehistory.

* fix spot hisotry table pair.

* fix spot trade form issues.

* fix spot history order.

Co-authored-by: rick23p <peymannaderi3@gmail.com>

* New Swap UI adjustments (#1026)

* Sort swap history

* Send and receive section adjustments

* Change swap icon

* Responsive version of the swap UI

* Small adjustments

* Do not allow to set the same token in send and receive

Co-authored-by: Victor Creed <69458664+creed-victor@users.noreply.github.com>

Co-authored-by: optisman <42278459+daisai3@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: soulBit <its.soulBit@gmail.com>
Co-authored-by: BetsyBraddock <69518422+BetsyBraddock@users.noreply.github.com>
Co-authored-by: bitcoinuser <bitcoinuser@users.noreply.github.com>
Co-authored-by: shoeb <shoebsd31@gmail.com>
Co-authored-by: boltsr <38220699+boltsr@users.noreply.github.com>
Co-authored-by: Ana G <40721795+Bitcoinera@users.noreply.github.com>
Co-authored-by: Rytis Grincevičius <rytis.grincevicius@gmail.com>
Co-authored-by: Rick <81699526+rick23p@users.noreply.github.com>
Co-authored-by: tiltom <tilnak.tomas@gmail.com>
Co-authored-by: rick23p <peymannaderi3@gmail.com>
* Add new strings and translate to PT-BR

* Update src/locales/pt_br/translation.json

* Update src/locales/pt_br/translation.json

* Update src/locales/pt_br/translation.json

* Minor change

* Minor change

* Minor change

* Minor change

* Update src/locales/pt_br/translation.json

* Update src/locales/pt_br/translation.json

Co-authored-by: Victor Creed <69458664+creed-victor@users.noreply.github.com>
* Add highcharts for lending APR graphs

* Fix TradingChart attribution link color

* Update rounded corner size on Margin Trade form, dropdown chevron padding

* Restore Notification form

* Update corner radius on Spot trade form

* Styling updates for Lending charts

* Add translation string for Loan graph legend

* Margin trade pair select padding fix

* Header menu dropdown position fix

* Use full width for Lending APR display

* Add Tailwindcss prefix, remove unused dependencies
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.6 to 8.2.10.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.2.6...8.2.10)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Adjust margin trade page dialogs styling

* Dialog padding adjustments
Co-authored-by: Victor Creed <69458664+creed-victor@users.noreply.github.com>
Co-authored-by: Pietro MaximOFF <74987028+pietro-maximoff@users.noreply.github.com>
* Changes PT-BR

* Minor change

* Update src/locales/pt_br/translation.json

* Update src/locales/pt_br/translation.json
Bumps [mathjs](https://github.com/josdejong/mathjs) from 7.1.0 to 7.5.1.
- [Release notes](https://github.com/josdejong/mathjs/releases)
- [Changelog](https://github.com/josdejong/mathjs/blob/develop/HISTORY.md)
- [Commits](josdejong/mathjs@v7.1.0...v7.5.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix stringToFixedPrecision issue.

* tiny fix on format countDecimals.

* fix countDecimals

* improve stringToFixedPrecision.
* Allow manual entry on Swap page

* Format amount in AmountInput component itself
* fix spot history pagination issue.

* fix spot trade form rendering pairs.

* fix spot trade showing asset.

Co-authored-by: rick23p <peymannaderi3@gmail.com>
* Minor change PT-BR

* Minor change

* Minor change

* Minor change

* Minor changes

* Changes

* Update src/locales/pt_br/translation.json

* Update src/locales/pt_br/translation.json

* Update src/locales/pt_br/translation.json

* Changes

* Change

* Minor change

* Minor change

* Update src/locales/pt_br/translation.json

* Update src/locales/pt_br/translation.json
tiltom and others added 6 commits May 13, 2021 12:35
Co-authored-by: Pietro MaximOFF <74987028+pietro-maximoff@users.noreply.github.com>
…1092)

* Show dollar value of profit

* Adjust open position table styles

* Add border radius to trade panel
* Upgrade tradingview charts

* imports charting library from private repository #559

* ci build preparations #559

* Cleanup and shell script fixes

* Copy chart libs on build

* Revert scripts change, add workaround to Readme

* bash runner

* serve build removed -s flag

* race-condition fix for chart file copying

* test chart redirect

* Chart border radius

* Update chart config, history depth allowed

* Error handling

* Tidy up

* Responsive fix

* Delete _redirects

Co-authored-by: Victor Creed <rytis.grincevicius+cv@gmail.com>
Co-authored-by: Victor Creed <69458664+creed-victor@users.noreply.github.com>
Co-authored-by: Pietro MaximOFF <74987028+pietro-maximoff@users.noreply.github.com>
@cloudflare-pages
Copy link

cloudflare-pages bot commented May 14, 2021

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 20513cd
Status: ✅  Deploy successful!
Preview URL: https://43cf5c59.sovryn.pages.dev

View logs

tiltom and others added 3 commits May 14, 2021 12:53
* update dialog

* fix notification submitting issue

Co-authored-by: Victor Creed <69458664+creed-victor@users.noreply.github.com>
@creed-victor creed-victor linked an issue May 14, 2021 that may be closed by this pull request
soulBit and others added 2 commits May 17, 2021 09:23
* Minor change PT-BR

* Update src/locales/pt_br/translation.json
@creed-victor creed-victor marked this pull request as ready for review May 17, 2021 06:30
@creed-victor creed-victor merged commit ea4317c into master May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[YBUG.IO] When clicking trade on main page...
8 participants