Commit Graph

22 Commits

Author SHA1 Message Date
kyzooghost
d27699e452 [WIP - Tech Debt] Typescript config cleanup (#1073)
* initial tsconfig.json consolidation

* consolidate skipLibCheck

* more consolidate tsconfig.json

* remove strict duplicates

* remove strict duplicates

* removed lib

* more changes

* more changes

* more changes

* centralize noEmit

* run pnpm dedupe

* catalog for ethers and dotenv

* Revert "catalog for ethers and dotenv"

This reverts commit 8fc18db1c6f754ecbf1b175b34f6ebf08837068a.

* first catalog

* added more dependencies to catalog

* apply catalog to many dev dependencies

* ethers in catalog

* finetune ethers version

* fixes

* empty
2025-06-03 17:33:42 +10:00
Victorien Gauch
2ea227d2d5 fix: bump layerswap widget version in bridge ui (#997) 2025-05-13 19:28:14 +02:00
Victorien Gauch
142368897b fix: update bridge ui e2e tests (#994) 2025-05-13 13:57:12 +02:00
viphan007
fc5ed79ff4 feat: restructure and integrate layerswap (#953)
* feat: restructure and integrate layerswap

* fix: remove CEX page from internal nav because it is a duplicate

* fix: update layerswap widget and clean libs

* fix: wagmi connection

* chore: update color and layout

* fix: bump layerswap widget lib to version 0.1.15

* fix: fix widget width

* fix: fix ui issue on mobile

* fix: bump bridge ui version, update release notes and update dockerfile and ci

---------

Co-authored-by: Victorien Gauch <85494462+VGau@users.noreply.github.com>
Co-authored-by: VGau <victorien.gauch@consensys.net>
2025-05-13 11:37:58 +02:00
Babken Mesropyan
570c7c75f6 Layerswap widget integration (#929)
* Add layerswap widget

* update @layerswap/widget version to 0.1.11

* fix: update network logo references from 'ethereum' to 'linea'

* update @layerswap/widget to 0.1.14

* Refactored evm wallet hook

* Renamed nav

* update the pnpm-lock.yml

* fix: lint code

---------

Co-authored-by: Aren <aren@bransfer.io>
Co-authored-by: Victorien Gauch <85494462+VGau@users.noreply.github.com>
Co-authored-by: VGau <victorien.gauch@consensys.net>
2025-05-07 17:25:45 +02:00
Victorien Gauch
1d4deeaf19 Feat: Add Solana support in the bridge UI (#836)
* feat: add solona support in the LiFi widget

* fix: update dockerfile and update bridge ui version

* fix: handle cases where user is connected to non EVM network in native bridge

* fix: bridge ui e2e tests issue
2025-04-04 14:12:30 +02:00
Victorien Gauch
fba1ff4a2d Feat: add onramper to the bridge UI (#825)
* feat: add onramper to the bridge UI

* fix: remove sell mode in onramper
2025-04-01 13:31:16 +02:00
Victorien Gauch
b83d3fccec fix/display-wallet-btn-for-non-connected-users (#819) 2025-03-31 10:45:48 +02:00
kyzooghost
4f346b558d [Feat] Bridge UI Test Workflow (#814)
* add first test

* create connectMetamaskToDapp fixture

* bump testing framework version

* correctly working connectMetamaskToDapp function

* working metamask e2e test

* ci fix

* fix

* some changes

* working transaction history list test

* try version bump

* try version bump

* work on toggleShowTestNetworksInNativeBridgeForm

* try playwright 1.51.1

* ci file change

* test fixture changes

* try

* try

* try

* try

* test

* Revert "test"

This reverts commit 2592b6835530feb912d537a29eefaba37f74560e.

* try fix

* try fix

* test

* test

* Revert "test"

This reverts commit a21634ca9224b3d025290e215ba61917bec043ff.

* working toggle network e2e test

* working confirm and bridge flow on e2e test

* refactor metamask fixtures

* successful e2e case for bridge eth

* did usdc bridge e2e test

* fix pnpm lock

* refactor

* refactor

* lint and try single text

* try

* test

* test ci change

* test

* test ci change

* run once to get cache

* first unit test for bridge-ui

* redo test

* more test logs

* test

* test

* test

* removed console logs

* address one more edge case

* activate all tests

* try

* more comments

* adjust fixture

* did some unit tests

* add more unit tests

* disable unit tests in ci

* new e2e test

* new comment

* new things

* fix

* comment out blockchain tx tests

* add reporter for playwright

* removed pause

* clean-up

* test

* change get token balance mechanic

* fix import

* fixes

* clean up

* test

* try headless

* redo headful
2025-03-28 22:35:59 +11:00
Victorien Gauch
60101122fb Fix: remove native tokens, fix receive amount value and bump next js version (#816)
* fix: remove native tokens that don't have L1 address in the token list + fix receive amount

* fix: bump next js version
2025-03-26 16:43:18 +01:00
Victorien Gauch
40ccbbc7cf fix: update release notes and package json version (#807) 2025-03-24 16:32:23 +01:00
Victorien Gauch
5b09005765 Feat: add lifi and small fixes (#798)
* fix: add gitattribute rules for woff2 files

* feat: add lifi widget + fixes minor issues

* fix: remove unused packages + clean constants declaration and config

* fix: update dockerfile and github ci workflows

* fix: env variable naming issue

* fix: bridge mode alt value issue + remove button component
2025-03-24 14:28:42 +01:00
Victorien Gauch
f3081f6caf fix: update bridge ui version (#790)
* fix: update bridge ui version

* fix: update release notes

* fix: update release note
2025-03-18 14:22:17 +01:00
Victorien Gauch
8f75f73db2 Feat/bridge UI v2 (#776)
* feat: linea bridge ui refresh (#597)

* feat: linea bridge ui refresh

* feat: improve ui components

* chore: restore layout.tsx

* chore: update destination address modal

* chore: update bridge ui by feedback

chore: update bridge ui by feedback

* chore: add skeleton loader

* chore: update header nav

* feat: update new ui

* chore: fix skeleton

* fix: build issue

---------

Signed-off-by: Victorien Gauch <85494462+VGau@users.noreply.github.com>
Co-authored-by: Victorien Gauch <85494462+VGau@users.noreply.github.com>
Co-authored-by: VGau <victorien.gauch@consensys.net>

* feat: add dynamic

* fix: update lock file

* fix: change font size and all rem values

* feat: add currency state, amount, prices management

* feat: add fees calculation

* fix: remove react hook form and create a form store

* feat: add bridging feature

* fix: bridging issue

* fix: limit number of decimals for gas fees

* feat: add history

* fix: remove old code + remove dependencies

* fix: clean folders

* fix: manual claiming issue

* fix: remove warnings and optimize rerenders

* fix: adjust ui + fix network switching

* fix: update bridge ui dockerfile and github ci

* fix: update button text, input styling and history styling

* fix: add cctp deposit feature + cctp util functions and hooks

* feature toggle done for getTokenConfig (#780)

* fix: fees calculation issue (#781)

* [Feat] Bridge UI v2 - Transaction List with CCTPV2 transactions (#783)

* much of fetchCCTPBridgeEvents

* add getClaimTx

---------

Signed-off-by: kyzooghost <73516204+kyzooghost@users.noreply.github.com>

* fix: token history issue

* fix: history issue for erc20 + add confirm address modal

* fix: claiming issue

* feat: add usdc banner

* fix: update usdc banner message

* fix: update usdc banner message

* fix: update usdc banner message

* fix: update bridge ui e2e tests ci

* fix: update min storage version

---------

Signed-off-by: Victorien Gauch <85494462+VGau@users.noreply.github.com>
Signed-off-by: kyzooghost <73516204+kyzooghost@users.noreply.github.com>
Co-authored-by: viphan007 <106945122+viphan007@users.noreply.github.com>
Co-authored-by: kyzooghost <73516204+kyzooghost@users.noreply.github.com>
2025-03-18 11:58:12 +01:00
Alain Nicolas
06294fda72 feat(bridge-ui): Simplify the wallet connection modal (#509)
* feat(bridge-ui): Simplify the wallet connection modal

* Fix copy on metadata

Co-authored-by: The Dark Jester <thedarkjester@users.noreply.github.com>
Signed-off-by: Alain Nicolas <alainncls@users.noreply.github.com>

---------

Signed-off-by: Alain Nicolas <alainncls@users.noreply.github.com>
Co-authored-by: The Dark Jester <thedarkjester@users.noreply.github.com>
2025-01-09 18:37:34 +01:00
kyzooghost
a5119c43b0 Feat/husky lint (#431)
* add poc husky lint script

* test commit change

* undo test change

* test change

* undo test change

* test

* test

* test

* test

* do

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* refactor to pre-commit to NodeJS script

* add logs for demo

* small refactor of pre-commit.js

* add shebang to pre-commit

* add other folders to husky script

* added postman to pre-commit

* remove test md change

* add comments for pre-commit.js

* adjust lint:fix scripts

* Update .husky/pre-commit.js

Co-authored-by: The Dark Jester <thedarkjester@users.noreply.github.com>
Signed-off-by: kyzooghost <73516204+kyzooghost@users.noreply.github.com>

---------

Signed-off-by: kyzooghost <73516204+kyzooghost@users.noreply.github.com>
Co-authored-by: The Dark Jester <thedarkjester@users.noreply.github.com>
2024-12-20 23:34:59 +11:00
Victorien Gauch
45a46989c4 fix: change bridge ui package json version (#372) 2024-12-02 12:28:57 +01:00
Victorien Gauch
7b61cfc893 Fix: update bridge UI dependencies (#165)
* fix: update bridge UI dependencies

* fix: remove axios dependency
2024-10-09 17:57:24 +02:00
Victorien Gauch
ff75ddc060 fix(3102): fix fonts and allowance issue (#42)
* feat: add FAQ page

* fix: update faq content and rephrase some faq titles

* fix: add spacing between paragraph

* fix: remove padding for list in collapse component

* fix: update gasFees calculation and fix typos

* fix: dollars prices display issue

* fix: add new fonts + reorganize components

* fix: allowance issue

* fix: handle wrong networks

* fix: tooltip issue

* fix: update bridge ui release notes and version
2024-09-18 13:57:13 +02:00
Victorien Gauch
6eb6bd808d Feat(3102): bridge page form (#3919)
* fix: refactor state management

* fix: update pnpm lock file and use fixed version for zustand

* feat: add sidebar menu and mobile menu + transaction history page

* feat: add side bar menu and history page

* fix: remove unused code + update TransactionClaimButton component

* fix: update dockerfile to remove warning during build

* feat: bridging page with erc20 bridging

* fix: clean components

* fix: adjust layout, state management and components

* fix: refactor fee calculation + add eth to usd conversion

* fix: remove unused code

* feat: add fee in transaction history

* fix: token image format

* fix: linting issue

* fix: import issue
2024-09-11 13:46:14 +02:00
Victorien Gauch
7566fab773 Feat(3102): add menu and history page (#3852)
* fix: refactor state management

* fix: update pnpm lock file and use fixed version for zustand

* feat: add sidebar menu and mobile menu + transaction history page

* feat: add side bar menu and history page

* fix: remove unused code + update TransactionClaimButton component

* fix: update dockerfile to remove warning during build
2024-09-10 13:08:37 +02:00
Julien Marchand
a001342170 chore: Initial commit
Co-authored-by: Franklin Delehelle <franklin.delehelle@odena.eu>
Co-authored-by: Alexandre Belling <alexandrebelling8@gmail.com>
Co-authored-by: Pedro Novais <jpvnovais@gmail.com>
Co-authored-by: Roman Vaseev <4833306+Filter94@users.noreply.github.com>
Co-authored-by: Bradley Bown <bradbown@googlemail.com>
Co-authored-by: Victorien Gauch <85494462+VGau@users.noreply.github.com>
Co-authored-by: Nikolai Golub <nikolai.golub@consensys.net>
Co-authored-by: The Dark Jester <thedarkjester@users.noreply.github.com>
Co-authored-by: jonesho <81145364+jonesho@users.noreply.github.com>
Co-authored-by: Gaurav Ahuja <gauravahuja9@gmail.com>
Co-authored-by: Azam Soleimanian <49027816+Soleimani193@users.noreply.github.com>
Co-authored-by: Andrei A <andrei.alexandru@consensys.net>
Co-authored-by: Arijit Dutta <37040536+arijitdutta67@users.noreply.github.com>
Co-authored-by: Gautam Botrel <gautam.botrel@gmail.com>
Co-authored-by: Ivo Kubjas <ivo.kubjas@consensys.net>
Co-authored-by: gusiri <dreamerty@postech.ac.kr>
Co-authored-by: FlorianHuc <florian.huc@gmail.com>
Co-authored-by: Arya Tabaie <arya.pourtabatabaie@gmail.com>
Co-authored-by: Julink <julien.fontanel@consensys.net>
Co-authored-by: Bogdan Ursu <bogdanursuoffice@gmail.com>
Co-authored-by: Jakub Trąd <jakubtrad@gmail.com>
Co-authored-by: Alessandro Sforzin <alessandro.sforzin@consensys.net>
Co-authored-by: Olivier Bégassat <olivier.begassat.cours@gmail.com>
Co-authored-by: Steve Huang <97596526+stevehuangc7s@users.noreply.github.com>
Co-authored-by: bkolad <blazejkolad@gmail.com>
Co-authored-by: fadyabuhatoum1 <139905934+fadyabuhatoum1@users.noreply.github.com>
Co-authored-by: Blas Rodriguez Irizar <rodrigblas@gmail.com>
Co-authored-by: Eduardo Andrade <eduardofandrade@gmail.com>
Co-authored-by: Ivo Kubjas <tsimmm@gmail.com>
Co-authored-by: Ludcour <ludovic.courcelas@consensys.net>
Co-authored-by: m4sterbunny <harrie.bickle@consensys.net>
Co-authored-by: Alex Panayi <145478258+alexandrospanayi@users.noreply.github.com>
Co-authored-by: Diana Borbe - ConsenSys <diana.borbe@consensys.net>
Co-authored-by: ThomasPiellard <thomas.piellard@gmail.com>
2024-07-31 18:17:20 +02:00