Commit Graph

423 Commits

Author SHA1 Message Date
Linkie Link
029780203e
feat: convert inputValues to amounts and amounts to inputValues (#152) 2023-04-04 16:11:36 +02:00
Bob van der Helm
a747a585af
Repay modal (#146)
* enable repay

* update formatters

* remove suffix from numberInput

* implement repay
2023-04-03 13:31:00 +02:00
Bob van der Helm
8e0bb97839
Account balances endpoint (#147)
* add accounts/positions to api

* strong type apis
2023-04-03 13:30:16 +02:00
Bob van der Helm
77080d064a
Borrow functionality (#144)
* remove hard coded data

* add borrow message

* update deposit message

* update borrow and deposit

*  add tailwind-elements

* 🍱 add plus, shield, arrowbullish

* configuration for tw-elements

* add accordion + account summary

* remove tw-elements and update accordion

* update borrowmodal

* fixed svgs

* re-add blur for modals

* fix build errors and warnings
2023-03-28 18:25:35 +02:00
Linkie Link
a680f1ffde
Mp 2348 visual feedback on creating a credit account (#138)
* tidy: UI updates to the borrow tables

* feat: styled the toasts

* tidy: format

* fix: removed peer

* fix: fixed the svgs

* fix: stupid svgs

* rename: X to Cross

* tidy: wrap up the logic
2023-03-26 10:08:21 +02:00
Linkie Link
69da882fa0
feat: created the create account flow (#136)
* feat: created the create account flow

* fix: right not left

* fix: updated the styles and removed images

* tidy: refactor
2023-03-24 11:45:43 +01:00
Bob van der Helm
f1ff3e88d4
Mp 2267 rewrite mutations (#137)
* remove react-query

*   remove unused packages
2023-03-23 15:44:55 +01:00
Linkie Link
94175d6181
UI adjustments (#135)
* fix: restored sanity in fontSizes

* fix: added gap to borrow table

* env: dependency updates

* feat: added backdrop blur to clickaway overlay
2023-03-23 10:43:35 +01:00
Linkie Link
3f13dd822e
chore: updated dependencies and fixed a button error (#133) 2023-03-22 16:56:29 +01:00
Bob van der Helm
c3b1550452
Mp 2436 settings (#131)
* MP-2436: added Settings menu

* tidy: refactor

* fix: react to server side rendering

* fix: fixed the background animations

* fix: enableAnimations for bg classes

* small merge fix

* fix: fixed the animation less circular progress

---------

Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
2023-03-22 15:32:52 +01:00
Bob van der Helm
740e982956
Borrow modal adjustments (#128)
*   add Draggable

* 💄 Add martian red

* 🍱 Add Slider component

* 🔒 update yarn

* 🔥 remove unused components

* 🩹 fix graphql errors

* tidy: tailwind refactor

* set default port to 3001

* 🍱 add Divider and Container

* 🍱 add NumberInput

* allow left and right icon for button

* 🍱 add TokenInput, expand borrowModal

* update borrow modal, adjust modal component, remove container

* fix value change

* update svgs

---------

Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
2023-03-22 15:12:19 +01:00
Linkie Link
21d31c0f79
Button border fixes (#129)
* fix: fixed the glas borders

# Conflicts:
#	src/components/Card.tsx

* fix: fixed the Copy Address button and removed all borders from button classes
2023-03-22 12:24:52 +01:00
Linkie Link
e3118004ce
Small adjustments (#115)
* fix: added current SCs

* fix: fixed disabled buttons

* chore: updated all packages

* tidy: cleanup

---------

Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
2023-03-21 13:32:21 +01:00
Bob van der Helm
b1d42b1335
Borrow page adjustments (#114)
* Hide activeBorrowings when not present

* add extra info to borrowmodal
2023-03-10 15:57:56 +01:00
Linkie Link
b937c96423
Env update (#113)
* env: updated env structure to make the vercel deployment work

* env: updated the URL_API to be compatible with vercel

* feat: add vercel.json

* env: vercel protection bypass

* env: adding bypass logic

* fix: changed 127.0.0.1 back to localhost

* env: readded cors

* env: delete vercel.json

* env: update headers

* env: moved cors back to vercel.json

* env: allow all headers

* env: switched from headers to query variables

* env: still need CORS

* env: ignore cookie

* env: tidy

* tidy: cleanup
2023-03-09 10:26:16 +01:00
Linkie Link
21268e5536
UI style updates (#106)
* feat: updates on the button styles

* env: updated yarn.lock

* fix: added account actions

* fix: updated the orbs logic

* fix: fixed the blur presets

* feat: updated the button logic

* fix: wallet modal style adjustments

* fix: updated close icon

* fix: fixed the close button

* fix: fix types

* fix: fixed the build

* tidy: component cleanup

* feat:  added new AccountDetails component

* refactor: propper usage of tailwind

* refactor: imports

* feat: added pages for all scenarios

* fix: fix the loading component

* fix: remove loading from default trade

* fix: fixed the build

* fix: fixed losing the provider on hotplug

* tidy: remove unused code

* fix: added error messages

* add borrow page structure

* env: enhanced debugging by restructuring the ENV object

* fix: fixed the build

* fix: fixed the wording on missing env variables

* feat: added button hover (#112)

* feat: added button hover

* fix: added bg transition to primary buttons

* feat: pages refactored (#111)

* feat: pages refactored

* fix: added loader for AccountNavigation

* fix: fixed the wallet store management

* fix: get rid of the walletSlice and refactor

* fix: added gap to the borrow page

* fix: fixed some dependencies

* fix: added initClients back

* fix: fixed according to feedback

---------

Co-authored-by: bwvdhelm <34470358+bobthebuidlr@users.noreply.github.com>
2023-03-08 10:44:39 +01:00
Bob van der Helm
cbb0700455
update layout for modal, implement borrow tables (#105) 2023-03-01 13:49:57 +01:00
Linkie Link
493ec7c44c
fix: reanabled fundAccount and created base for toasts (#103)
* fix: reanabled fundAccount and created base for toasts

* Update toaster + add router refresh

---------

Co-authored-by: bwvdhelm <34470358+bobthebuidlr@users.noreply.github.com>
2023-02-28 09:20:53 +01:00
Bob van der Helm
29ce98f4d7
updated cards,borrow page (#102) 2023-02-24 15:19:23 +01:00
Linkie Link
b5c097d661
Upgrade next (#100)
* upgrade to next 13

* WIP: adjust to app dir

* add docker + wallet connector

* fix: update the wallet connect component

* tidy: format

* wip: make the wallet balance fetcher work

* fix balance retrieval

* MP-2258: added estimateFee hook (#94)

* Mp 2259 queries to api (#96)

* update next config for build errors

* Convert queries to API + remove config

* tidy: save some bytes by adding constants/env.ts

* tidy: added URL_ prefix to REST, RPC and GQL

---------

Co-authored-by: Linkie Link <linkielink.dev@gmail.com>

* MP-2261: created useBroadcast hook for transactions (#95)

* tidy: remove unneeded wallet images

* Mp 2264 convert store (#97)

* Merge stores into 1

* refactor codebase to use new store

* fiex build and rename whitelisted to marketassets

* tidy: import refactor

* updated account navigation basics

* feat: added loading component and fixed the disconnect button

* fix: format

* update new routing system

* update config and dependencies

* feat: create and delete credit account are restored

* tidy: format

* fix: fixed the deployment

* update route structure (#98)

* fix: creditAccountDeposit works again

* fix: bugfixes

* add apis, remove allowedCoins, get basic borrow tables (#99)

Co-authored-by: bwvdhelm <34470358+bobthebuidlr@users.noreply.github.com>

---------

Co-authored-by: bwvdhelm <34470358+bobthebuidlr@users.noreply.github.com>
2023-02-24 09:47:27 +01:00
Linkie Link
dc6fc3991a
MP-2046: Created CookieConsent component (#84) 2023-01-20 20:47:49 +01:00
Linkie Link
6efa380a98
Ux and details update (#77)
* fix: added the metadata base

* tidy: refactor the config structure

* fix: fixed the denom and fetching shenanigans

* fix: get rid of injective

* fix: removed logs

* tidy: updated dependencies

* fix: replaced static fallbacks with networkConfig.asset.base

* fix: remove memo

* tidy: added TODO comment

* fix: fixed the accountDetails

* fix: fixed the wallet connector suffix
2022-12-23 12:23:00 +01:00
Linkie Link
83fa513bf0
Mp 1691 credit account details (#67) 2022-12-13 14:21:30 +01:00