Skip to content
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

Feat/permissionless bridge #1122

Merged
merged 12 commits into from
Jan 9, 2025
Merged

Feat/permissionless bridge #1122

merged 12 commits into from
Jan 9, 2025

Conversation

trungbach
Copy link
Contributor

This pull request includes several changes to improve the functionality and structure of the codebase. The most important changes include updating dependencies, refactoring components to use forwardRef, and enhancing the token inspector and styling. Below are the key changes grouped by theme:

Dependency Updates

  • Updated the version of @oraichain/orai-token-inspector in package.json from ^0.1.25 to ^0.2.3.

Component Refactoring

  • Modified Input component in src/components/Input.tsx to use forwardRef and added a ref prop to InputProps. [1] [2]
  • Refactored SearchInput component in src/pages/Balance/SearchInput.tsx to use forwardRef and added styling improvements. [1] [2]
  • Updated TokenItem and TransferConvertToken components to include an optional toToken prop and refactored related logic. [1] [2] [3] [4] [5] [6] [7] [8] [9]

Token Inspector Enhancements

  • Replaced the Inspector import with OraichainInspector, SolanaInspector, and TokenInspector in src/initTokenInspector.ts and refactored the initialization logic.

Styling Improvements

  • Added a new closeIcon class and other styling adjustments in src/pages/Balance/Balance.module.scss. [1] [2] [3] [4]
  • Created a new SearchInput.module.scss file for search input styling.

Miscellaneous

  • Updated DEFAULT_TOKEN_ICON_URL in src/helper/constants.ts to a new URL.
  • Various import optimizations and code cleanup in src/pages/Balance/index.tsx. [1] [2]

Copy link

cloudflare-workers-and-pages bot commented Jan 8, 2025

Deploying beta-oraidex with  Cloudflare Pages  Cloudflare Pages

Latest commit: 60940b0
Status: ✅  Deploy successful!
Preview URL: https://fb87eec5.beta-oraidex.pages.dev
Branch Preview URL: https://develop-v3.beta-oraidex.pages.dev

View logs

@trungbach trungbach requested review from vuonghuuhung, haunv3, tubackkhoa and quangdz1704 and removed request for vuonghuuhung and haunv3 January 9, 2025 13:52
@trungbach trungbach requested a review from perfogic January 9, 2025 14:32
@trungbach trungbach merged commit 53b8f85 into main Jan 9, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants