Commit Graph
100 Commits
Author SHA1 Message Date
RcleydsonRandenzoggqs 481803e643 add continue button on manage bids that allow user to continue lock and release it, also fix some responsive points
Co-authored-by: enzoggqs <eggqsaraiva@gmail.com>
2023-02-27 20:41:58 -03:00
RcleydsonR 1fe834d12d Merge branch 'develop' into create_alerts 2023-02-27 19:36:38 -03:00
Rafael RamosandGitHub 9c80f89cae Merge pull request #59 from liftlearning/active-lock-value
Active lock value
2023-02-27 18:00:57 -03:00
RcleydsonR 309c57b808 fix waiting component to be rendered by adding the function to render listing component on unMounted lifecycle 2023-02-27 17:23:46 -03:00
RcleydsonR 34c5ce3b87 Add tooltip to inform what a locked value is 2023-02-27 09:43:55 -03:00
RcleydsonR b86a70df19 improve layout from buy confirmed component 2023-02-24 01:39:58 -03:00
RcleydsonR 8f45016532 add text on listing component to show active lock amount 2023-02-24 00:57:34 -03:00
RcleydsonR d686c0b9bc add method to get active lock amount from a seller wallet 2023-02-24 00:50:32 -03:00
RcleydsonR 5cb9103ef5 fix fill color from spinner component to always white instead of passing as parameter 2023-02-24 00:49:06 -03:00
RcleydsonR 189d4e0f33 change from for of iterator to javascript map 2023-02-22 13:19:48 -03:00
RcleydsonR 94640c4492 Add try catch block if user reject a withdraw action 2023-02-22 13:13:27 -03:00
RcleydsonR ec5fb7ef76 Fix menu chevron down not showing on mobile screen 2023-02-22 13:13:27 -03:00
RcleydsonR 2d27d98762 Updating background to purple 2023-02-22 13:13:27 -03:00
RcleydsonR 72b794d534 Fix status card text font color and size 2023-02-22 13:13:27 -03:00
RcleydsonR 1451ff4ee3 Add transactions history with withdeawn option at buy confirmed step 2023-02-22 13:13:27 -03:00
RcleydsonR dc0c28f685 Add spinner component to be reusable and add loading on network liquidity 2023-02-22 13:13:27 -03:00
RcleydsonR c0f388f46e Add loading for listing component and add validation to show withdraw box only when a wallet has atleast one deposit 2023-02-22 13:13:27 -03:00
RcleydsonR 2968b6f7ee Update imports with alias @ that references src folder 2023-02-15 15:26:11 -03:00
RcleydsonR b07e4ca97d Fix address tests with new smart contract address 2023-02-15 15:17:05 -03:00
RcleydsonR b181d380eb Add correct implementation to check unreleased lock using getLocksStatus abi function 2023-02-15 15:14:47 -03:00
RcleydsonR c65a885309 add rule to only show warn modal when window width is under 500px 2023-02-15 13:29:15 -03:00
RcleydsonR 3346b96f18 Fix test cases and improve test from custom modal 2023-02-15 13:29:15 -03:00
RcleydsonRandenzoggqs 03c7d14b4b Fix custom modal css to align it at center independent of device
Co-authored-by: enzoggqs <eggqsaraiva@gmail.com>
2023-02-15 13:28:36 -03:00
RcleydsonR 2ea9f18cc1 Add logic to check for unreleased locks on homeview 2023-02-15 13:28:36 -03:00
RcleydsonR a5d72650ee Add check unreleased lock function 2023-02-15 13:28:36 -03:00
Rafael RamosandGitHub eabc54e5dd Merge pull request #44 from liftlearning/hotfix-deposit
Hotfix deposit
2023-02-15 13:28:02 -03:00
Rafael RamosandGitHub dab0842b65 Merge pull request #41 from liftlearning/withdraw
Withdraw
2023-02-15 00:54:07 -03:00
RcleydsonR 9c0a527970 Improve test and withdraw input style 2023-02-15 00:50:30 -03:00
RcleydsonR 5972f24f4e fix test and build ci to deploy app correctly 2023-02-13 12:58:57 -03:00
RcleydsonR 8f117c8fd7 Merge branch 'p2pix-V2' of github.com:liftlearning/P2Pix-Front-End into p2pix-V2 2023-02-06 14:11:05 -03:00
RcleydsonR ec6e8b84f7 Add exclude paths to vitest coverage 2023-02-06 14:10:30 -03:00
RcleydsonR 600510c719 Improve test cases from components and utils 2023-02-06 14:01:03 -03:00
RcleydsonR 980c0cab76 Fix test cases impacted by new changes on v2 blockchain 2023-02-01 23:53:39 -03:00
RcleydsonR 3340155a3d Adjust withdraw function and listing valid deposits by wallet address, also remove cancel deposit option and use a fixed amount to withdraw while there isn't a input to inform it 2023-02-01 23:49:13 -03:00
RcleydsonRandbrunoedcf 11499661ea Improve return from valid deposits to consider multiple deposit reduced in one for same account and consider changing of network and account to verify liquidity on Search Component
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-31 18:33:24 -03:00
RcleydsonR 361b476d15 Change CI pipeline trigger and remove jest dependencies from package json, also add sonarcloud badges on readme 2023-01-27 20:08:39 -03:00
RcleydsonR 807bceac26 Fix sonar, lint and bug issues 2023-01-27 19:47:52 -03:00
RcleydsonR db2d15b318 Merge branch 'develop' into setup-tests 2023-01-27 19:12:32 -03:00
RcleydsonR 5b2ca86129 Add CI pipeline to test and upload coverage 2023-01-26 18:31:32 -03:00
RcleydsonR 7efb10bfde Fix sonar issues 2023-01-25 23:28:32 -03:00
RcleydsonR f67fade5ee Add package-lock json that is necessary for vite build 2023-01-24 22:31:39 -03:00
RcleydsonR e10e8f89fc Fix lint issues 2023-01-24 22:28:24 -03:00
RcleydsonR 49834745a9 Improve and fix Buy Confirmed Component test 2023-01-24 22:28:02 -03:00
RcleydsonR 8fa16a22c0 Improve and fix ListingComponent test and add mocks for event and valid deposit 2023-01-24 22:26:38 -03:00
RcleydsonR 4b08b6df4b Improve Listing Component and import with alias in other components 2023-01-24 22:25:38 -03:00
RcleydsonR 6b8bbc9e6a Add vitest as test framework and remove jest and its dependencies 2023-01-24 22:23:15 -03:00
RcleydsonR 8b5ba69267 Add environment plugin to change from import meta env to process env 2023-01-24 18:48:13 -03:00
RcleydsonR 65fc11a64f Merge branch 'develop' into setup-tests 2023-01-24 17:13:00 -03:00
RcleydsonRandbrunoedcf 242d28f0e3 Fix listing transaction by getting alchemy provider
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-20 19:16:52 -03:00
RcleydsonR 59538d23d0 Catch list deposit wallet address error to set empty array to wallet transactions 2023-01-20 17:56:32 -03:00
RcleydsonRandbrunoedcf d7723ebf07 Clean up ether store
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-19 19:42:57 -03:00
RcleydsonRandbrunoedcf 2b61625e1e Remove div that show user balance on top bar
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-19 19:28:53 -03:00
RcleydsonRandbrunoedcf 7a080209b3 Fix unexpected behavior from listing transactions and approve tokens
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-19 19:24:28 -03:00
RcleydsonRandbrunoedcf 2a0c069674 Add watch to network when user is on manage bids or transaction history
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-19 18:43:15 -03:00
RcleydsonRandbrunoedcf bb6be691af Add correct etherscan url
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-19 18:12:41 -03:00
RcleydsonR 6ba113ba86 Add connect wallet button on seller view when wallet is not connected 2023-01-18 23:53:46 -03:00
RcleydsonR 51cf33d22b Only show connected network when the user is logged with metamask provider 2023-01-18 23:43:38 -03:00
RcleydsonRandbrunoedcf 98f6a30f35 Remove localhost network implementation and only use goerli and mumbai networks
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-18 23:40:52 -03:00
RcleydsonR be90ff746b Refactor decimalCount method and add it on a file to be used in many components 2023-01-18 23:38:00 -03:00
RcleydsonRandgeovanne97 4999f3d145 Add typing on components layer
Co-authored-by: geovanne97 <geovannessaraiva97@gmail.com>
2023-01-18 23:35:08 -03:00
RcleydsonRandgeovanne97 846fa82f04 Add typing on views layer
Co-authored-by: geovanne97 <geovannessaraiva97@gmail.com>
2023-01-18 23:12:40 -03:00
RcleydsonRandgeovanne97 f87434debe Add valid Deposit model and return types of blockchain methods
Co-authored-by: geovanne97 <geovannessaraiva97@gmail.com>
2023-01-18 23:02:02 -03:00
RcleydsonRandbrunoedcf c8a3fd12b2 Improve code quality by fixing lint issues
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-17 19:32:29 -03:00
RcleydsonRandbrunoedcf 8338064dcd Clean up app strucutre deleting blockchain file and add methods on blockchain folder
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-17 19:31:25 -03:00
RcleydsonRandbrunoedcf d78f7f1fdf Adjust search component and home view to new approaching using alchemy
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-17 19:27:00 -03:00
RcleydsonRandbrunoedcf 2cbf475e09 Add verify network liquidity method
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-17 19:25:22 -03:00
RcleydsonRandbrunoedcf 668acb5cfa Hide network menu when a network is clicked
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-17 17:41:53 -03:00
RcleydsonR e0b4c81b77 Change getValidDeposits to receive a contract in param and use it on getNetworksLiquidity 2023-01-17 14:53:47 -03:00
RcleydsonRandbrunoedcf c546778963 Remove mock token implementation
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-13 19:45:29 -03:00
RcleydsonRandbrunoedcf 6fd2120b63 Refactor methods from blockchain to use new code structure
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-13 19:35:17 -03:00
RcleydsonRandbrunoedcf f40db935d3 Add getP2PixAddress implementation
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-13 19:33:54 -03:00
RcleydsonRandbrunoedcf a5d5c0dde3 fix connect provider call and lint
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-12 19:47:11 -03:00
RcleydsonRandbrunoedcf f8e1b888ba get alchemy provider api url from env and use it to get provider
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-12 19:43:02 -03:00
RcleydsonRandbrunoedcf 86131b5641 Refactor of wallet and provider methods
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-12 19:41:04 -03:00
RcleydsonRandbrunoedcf 8b0a212b78 Add listener to listen chain change and update store network name state, also start refactor with getProvider function
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-12 18:08:08 -03:00
RcleydsonRandbrunoedcf 62dd4349b2 Remove alchemy file and add localhost network to possible network to choose
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-12 18:07:06 -03:00
RcleydsonR aedd4bc532 Add initial alchemy structure code 2023-01-12 00:32:52 -03:00
RcleydsonRandbrunoedcf 6a4884aec9 apply network transition when change network on top bar
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-09 19:33:51 -03:00
RcleydsonR 470f927a6d Improve readme 2023-01-04 16:54:54 -03:00
RcleydsonR 163146a7f5 add state to verify if is seller view and toggle want to buy or sell button on top bar 2023-01-02 19:11:43 -03:00
RcleydsonR 0a4ce0a292 rename from bid history to transaction history to be more coherent 2022-12-30 17:39:21 -03:00
RcleydsonR c657a95a40 fix list buy history width in buy confirmed component 2022-12-30 17:36:20 -03:00
RcleydsonR 0cef35ab28 improve top bar currency menu 2022-12-30 17:27:34 -03:00
RcleydsonR 43ba937a07 Merge branch 'develop' into transaction-history 2022-12-30 17:07:54 -03:00
RcleydsonR 6fdd14f147 rename list component to buy confirmed component and add Listing component inside it 2022-12-30 17:04:52 -03:00
RcleydsonR 060c4f370f change from deposits history to bid history and add it to bid_history router 2022-12-30 16:53:12 -03:00
RcleydsonR 6279acc20d implement logic to await all validDeposits correctly and improve state rendering from listing component 2022-12-30 02:03:23 -03:00
RcleydsonR 59c9eabd30 partial commit (will be removed) 2022-12-28 20:24:41 -03:00
RcleydsonR c6067fb4eb add withdraw deposit function 2022-12-27 17:25:47 -03:00
RcleydsonR 34ffcc2860 change from listening onUpdate on listing component to watch props changes 2022-12-26 19:34:05 -03:00
RcleydsonR 49f7b670a9 add cancel deposit action in manage bids view 2022-12-26 17:58:11 -03:00
RcleydsonR 2ad37d8314 Merge branch 'develop' into transaction-history 2022-12-26 16:31:35 -03:00
RcleydsonR 0f1822ae87 preparing listingComponent to receive empty data and updated this data according to vue lifecycle hook 2022-12-26 00:06:35 -03:00
RcleydsonR d81580a134 add Listing Component inside manage bids view 2022-12-25 23:52:34 -03:00
RcleydsonR 3cf60f267d prepare ListingComponent to receive manager mode 2022-12-25 23:51:00 -03:00
RcleydsonR 7b9c3e0394 add Suspense loading on RouterView Components 2022-12-25 23:49:55 -03:00
RcleydsonR d70b009b93 change from div click to routerling inside top bar menu 2022-12-25 23:26:43 -03:00
RcleydsonRandEnzo Gabriel 36e3368f58 Add initial listing component
Co-authored-by: Enzo Gabriel <eggqsaraiva@gmail.com>
2022-12-22 19:16:01 -03:00
Rafael RamosandGitHub fbf14ee86f Merge pull request #9 from liftlearning/list-tokens
List tokens screen and steps integration (Search, Buy and List)
2022-12-20 09:02:26 -03:00
RcleydsonR bb4dcc34b0 add env file in continuous deployment 2022-12-19 22:09:12 -03:00