Commit Graph

16 Commits

Author SHA1 Message Date
Yusuf Seyrek
2c399a2f16
feat: lend and withdraw modals (#257)
* feat: lend/withdraw functionality

* feat: addressed to pr discussions

* rename: data hook members
2023-06-23 13:30:08 +03:00
Yusuf Seyrek
db9f222732
Mp 2993 update smart contracts (#262)
* feat: update contract addresses and types

* feat: add account type

* feat: comment out old contract vaults

* tests: disable vaults test suite

* instantiate contract-specfiic clients

* fix build

* rebase and fix test

---------

Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
2023-06-21 00:20:42 +02:00
Bob van der Helm
0037c3dedf
Mp 2547 unlocking modal (#256)
* add modal

* add tests and update naming

* fix pr comments
2023-06-19 20:46:32 +02:00
Yusuf Seyrek
878434dfec
feat: lending page and tables (#248) 2023-06-15 15:34:12 +03:00
Bob van der Helm
7b5d4c3255
Mp 2546 borrow asset modal (#255)
* Refactor Modal folder and setup basic addassetsmodal

* basic tables

* Update basic logic

* small fixes

* Update closing for modals

* fix slider update bug and set borrowing subtitle

* fix store

* add missing dependency

* fix tests for VaultBorrowings

* Add DisplayCurrency test for VaultBorrowings

* trigger updated

* update borrowModal import path

* update imports for modals

* updating paths again

* update structure of modals directory

* fix all file naming and relative imports

* fix icon spacing button and jest.mocked import

* fix icon classes for button

* change Map to array and add BNCoin

* add AssetImage

* update logic for selecting borrow denoms
2023-06-15 13:00:46 +02:00
Bob van der Helm
0f8e656651
Mp 2543 farm adv borrow (#247)
* add calculation for max borrowings

* implement borrow side for modal

* add test and resolve comments
2023-06-07 16:22:13 +02:00
Yusuf Seyrek
2c149fabcf
tests: fix, improve utility, separate workflows (#241) 2023-06-05 08:47:42 +02:00
Bob van der Helm
ac7e82b0a4
Mp 2758 updated tooltip component (#238)
* update tooltip styling

* refactor Tooltip and fix build

*  add Tooltip unit tests

* remove width and height

* update tests and yarn format script

* Apply suggestions from code review

Co-authored-by: Yusuf Seyrek <yusufseyrek@users.noreply.github.com>

---------

Co-authored-by: Yusuf Seyrek <yusufseyrek@users.noreply.github.com>
2023-05-31 10:34:26 +02:00
Yusuf Seyrek
e651e9c797
feat: store and component mocks setup (#237)
* feat: store and component mocks setup

* feat: more examples
2023-05-30 11:16:13 +02:00
Bob van der Helm
de89ecb7ed
Mp 2757 token input errors (#235)
* Refactor TokenInput

* add TokenInput test + warning

* change title assigned select

* add unit tests for Card

* remove marketAssets from broadcast store
2023-05-30 09:01:07 +02:00
Yusuf Seyrek
a3b436f8dd
feat: enzyme installation (#228) 2023-05-29 10:20:08 +02:00
Yusuf Seyrek
ee20c2fde2
feat: finalize button component with tests (#224)
* feat: finalize button component with tests

* fix: import

* fix: import
2023-05-24 16:07:08 +03:00
Yusuf Seyrek
999d936f85
feat: react helmet implementation (#223)
* feat: dynamic page metadata implementation

* cleanup: unused imports

* cleanup: more unused imports
2023-05-24 16:05:19 +03:00
Yusuf Seyrek
b24bbb3376
New architecture (#196)
* feat: move app to pages features

* feat: route changes

* Use React Router, Remove SSR

* Fix account menu

* Remove app folder

* remove old useParams

* Moved pages back to pages and refactor names

* add layout to route

* clean up

* create hooks for api fetching

* fix refetch of all data on tx complete

* formatting

* fix: fixed the wallet-connector race condition

* remove cosmjs/stargate (#202)

* remove cosmjs/stargate

* add Yusuf as code-orwner

* Singleton client (#203)

* remove cosmjs/stargate

* add Yusuf as code-orwner

* create signleton client and refactor vaults api

* update client name, add apollo apr env

* Setup validate-env and remove checking from apis

* uncomment vaults

* Resolve comments

* fix: html templating, add checks for hydration&window object, reduce bundle size (#204)

* fix: tests

* Fix routing and wallet client (#205)

* Add header to router (as layout)

* Refactor Wallet component

* Remove server fallback packages webpack

* add missing dependency for useeffect

---------

Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
2023-05-16 12:39:52 +02:00
Yusuf Seyrek
a59e880559
feat: fix code coverage workflow (#195)
* feat: create a dummy component for testing coverage workflow

* feat: add test for dummy component

* fix: delta

* fix: command

* fix: remove test file regexp

* chore: break tests

* fix: tests

* feat: add test for footer component

* fix: delete dummy component
2023-05-12 10:55:51 +03:00
Yusuf Seyrek
ae1f8d481b
feat: jest testing setup, example tests (#181) 2023-05-08 16:47:19 +02:00