-
Notifications
You must be signed in to change notification settings - Fork 1
add Simple Bridge UI with related hooks and configuration updates (web-353) #369
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
Merged
Merged
Changes from 35 commits
Commits
Show all changes
100 commits
Select commit
Hold shift + click to select a range
df5aeba
feat: implement Simple Bridge component for seamless TORUS transfers
rodrigooler 50be30c
chore: update ESLint configuration for React
rodrigooler 776aa74
refactor: clean up Simple Bridge page component
rodrigooler 0876ebd
feat: add new SVG icons and enhance wallet balance component
rodrigooler d7ab638
feat: add new SVG icons for balance and bridge components
rodrigooler 6055592
refactor: format SVG icons for improved readability
rodrigooler 864b804
feat: enhance Simple Bridge form with token formatting and contract r…
rodrigooler c88a5e6
refactor: remove ProgressStepper component from Simple Bridge
rodrigooler f2a85c7
refactor: enhance Sidebar component in Torus Bridge
rodrigooler d029b4a
refactor: remove TransferDetails component from Simple Bridge page
rodrigooler 58fa653
feat: add STEP_2_SWITCHING state to Simple Bridge workflow
rodrigooler 10817b4
feat: enhance Simple Bridge form with transaction lifecycle dialog
rodrigooler 1d036c8
feat: implement TransactionLifecycleDialog for enhanced transfer feed…
rodrigooler 04d189f
feat: enhance DualWalletConnector and transaction lifecycle handling
rodrigooler 1ba0749
refactor: simplify useDualWallet hook for improved readability
rodrigooler 80aa7e5
refactor: improve DualWalletConnector component for better readabilit…
rodrigooler 729b702
refactor: streamline FractionButtons component for improved readabili…
rodrigooler ae3a1f5
feat: implement Simple Bridge components for enhanced user experience
rodrigooler 50e8e48
fix: resolve import duplication in SimpleBridgeForm component
rodrigooler e695c43
refactor: enhance TransactionLifecycleDialog for improved status mana…
rodrigooler 77d7b2e
refactor: improve formatting in TransactionLifecycleDialog for better…
rodrigooler ccc1f16
refactor: enhance use-simple-bridge-orchestrated-transfer for improve…
rodrigooler 7936141
refactor: enhance Sidebar component for improved navigation handling
rodrigooler 5d5e866
feat: implement Base to Native and Native to Base transfer flows in S…
rodrigooler 1b39338
refactor: improve code formatting and structure in Simple Bridge hooks
rodrigooler 9dbc5c6
refactor: improve code formatting in simple-bridge-native-to-base-flow
rodrigooler ac688db
feat: enhance Simple Bridge transfer flows with improved validation a…
rodrigooler 78c7733
feat: add contract addresses for different chains and environments in…
rodrigooler 1fb01d8
refactor: streamline import statements in SimpleBridgeForm component
rodrigooler 277caff
refactor: improve debugging output in TransactionLifecycleDialog
rodrigooler dfdbf62
feat: enhance error handling and user feedback in Simple Bridge trans…
rodrigooler 188cf16
feat: enhance user feedback and logging in Simple Bridge transaction …
rodrigooler 83316b0
refactor: improve code readability and logging in Simple Bridge trans…
rodrigooler 7a7fc1f
refactor: simplify token transfer error handling in useTokenTransfer …
rodrigooler 70d211e
refactor: clean up unused variables in use-simple-bridge-orchestrated…
rodrigooler 4f30136
refactor: enhance transaction lifecycle dialog and improve chain swit…
rodrigooler 35dcb53
refactor: improve transaction lifecycle dialog and streamline bridge …
rodrigooler 13a56ea
refactor: simplify native balance calculation in use-simple-bridge-or…
rodrigooler 99f80a3
refactor: optimize transaction lifecycle dialog and streamline transf…
rodrigooler f455bef
refactor: remove unused import in simple-bridge-native-to-base-flow hook
rodrigooler 4e45946
refactor: enhance transaction lifecycle dialog and improve form handling
rodrigooler 64e3b62
refactor: enhance Torus EVM balance polling in native to base transfe…
rodrigooler 9a887fa
refactor: improve logging in native to base transfer flow
rodrigooler ca68d71
refactor: improve transaction lifecycle dialog and error handling in …
rodrigooler 34d03e2
refactor: enhance precision in balance calculations and improve error…
rodrigooler 14e6eb9
refactor: improve code readability in bridge flow hooks
rodrigooler e398405
refactor: enhance event listener management and error handling in bri…
rodrigooler e53f535
refactor: enhance type definitions and documentation in bridge flow h…
rodrigooler f487ecc
refactor: improve type definitions for balance refetch functions in b…
rodrigooler 90f4c5f
refactor: enhance documentation for Native-to-Base bridge flow functions
rodrigooler 355f428
refactor: improve balance handling and documentation in bridge flow h…
rodrigooler fe5095e
refactor: enhance balance handling and documentation in native-to-bas…
rodrigooler 61c3d67
refactor: enhance error handling and retry logic in native to base flow
rodrigooler afe4109
refactor: improve transaction handling and documentation in bridge flow
rodrigooler d8f779b
refactor: enhance documentation for Base-to-Native bridge flow functions
rodrigooler 651d19e
refactor: enhance logging and documentation in bridge transaction lif…
rodrigooler 95175f4
refactor: enhance error handling and documentation in bridge transact…
rodrigooler 94941a4
refactor: improve error handling and polling logic in native to base …
rodrigooler d41dc57
refactor: enhance transaction lifecycle management in bridge flow
rodrigooler 15640bf
docs: add guidelines against using eslint-disable directives
rodrigooler 50b1f43
refactor: improve sidebar navigation and transaction lifecycle manage…
rodrigooler cee76c5
refactor: streamline dual wallet connection and transaction lifecycle…
rodrigooler 6e36cf7
refactor: simplify dual wallet connection logic in bridge component
rodrigooler d6e4fcb
refactor: improve code formatting and readability in bridge components
rodrigooler ddc8509
refactor: enhance transaction lifecycle management in bridge application
rodrigooler 40efd63
refactor: migrate configuration from YAML to JSON in bridge application
rodrigooler 6cd7b1b
chore: update dependencies in pnpm-lock.yaml and remove unused yaml-l…
rodrigooler 6d7aa82
refactor: update SimpleBridgeForm to improve state management and UI …
rodrigooler 0571173
refactor: enhance Torus Bridge and Wallet applications with new APR c…
rodrigooler 22d6244
refactor: enhance UI components in Torus Bridge and Wallet applications
rodrigooler 2bc946f
chore: update pnpm-lock.yaml to remove unused torus-provider dependency
rodrigooler cc97116
refactor: integrate useTorus hook in APRBar components for enhanced A…
rodrigooler 40db630
chore: update pnpm-lock.yaml to reflect dependency version changes
rodrigooler 53f3ee2
Merge remote-tracking branch 'origin/dev' into fix/web-353
rodrigooler 007d100
chore: update pnpm-lock.yaml to resolve merge conflicts and align dep…
rodrigooler ee4ab96
chore: update dependencies to latest versions in package.json and pnp…
rodrigooler 6f90bdf
refactor: improve form field handling in permission management compon…
rodrigooler 748162c
refactor: modularize APRBar component for improved reusability
rodrigooler 79b91aa
Merge remote-tracking branch 'origin/dev' into fix/web-353
rodrigooler 41d3e2f
chore: update pnpm lockfile and improve install command options
rodrigooler d66ae4c
fix: update @tanstack/react-query catalog version to 5.90.2
rodrigooler 24e18f2
fix: move @tanstack/react-query from peerDependency to dependency in …
rodrigooler 66647f2
feat: enhance simple bridge form and transaction handling
rodrigooler d1484eb
fix: improve error message formatting and transaction lifecycle step …
rodrigooler 99f32f3
fix: update gas reserve calculations and improve input component hand…
rodrigooler 3040007
fix: enhance transaction lifecycle steps and improve input accessibility
rodrigooler 5f50d4b
fix: enhance balance refetching and transaction tracking in bridge flows
rodrigooler ab4be74
Merge remote-tracking branch 'origin/dev' into fix/web-353
rodrigooler f167509
chore: update dependencies and add install-no-lockfile command
rodrigooler dbe6e5d
fix: improve optional chaining for safer property access in governanc…
rodrigooler b6c62e4
fix: streamline optional chaining for improved readability in permiss…
rodrigooler 3c44791
chore: enhance dependency installation logic in justfile
rodrigooler 29494b0
chore: fix indentation in install command of justfile
rodrigooler 68e3722
fix: remove emojis from transaction lifecycle messages for consistency
rodrigooler f5caf74
feat: implement fast bridge functionality in torus-bridge app
rodrigooler b2b8617
feat: implement Fast Bridge components and functionality in torus-bri…
rodrigooler 9a96c50
chore: update torus-bridge configuration for automatic redirection
rodrigooler fcf5c6a
refactor: simplify HomePage component in torus-bridge
rodrigooler 543bee0
fix: update routing paths in torus-bridge components
rodrigooler b900ec9
fix: update routing logic in transfer-token-form component
rodrigooler File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions
12
apps/torus-bridge/public/assets/icons/balance/torus-evm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions
9
apps/torus-bridge/public/assets/icons/balance/torus-native.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions
7
apps/torus-bridge/public/assets/icons/bridge/torus-base-simple.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions
12
apps/torus-bridge/public/assets/icons/bridge/torus-evm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions
8
apps/torus-bridge/public/assets/icons/bridge/torus-native-simple.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not import
envinto client components.~/envis explicitly guarded withif (typeof window !== "undefined") throw new Error("Do not import env.mjs in client-side code"). Because this file is marked"use client", bundles run in the browser and will immediately throw, breaking the sidebar entirely.Fix: move the
getLinks(env(...))call into a server-only module/prop, or expose the needed wallet URL via a safe client-config (e.g.,process.env.NEXT_PUBLIC_*constant imported without going through~/env).🤖 Prompt for AI Agents