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

Feature/aptos dev #996

Closed

Conversation

ParthMinddeft
Copy link

@ParthMinddeft ParthMinddeft commented Jul 7, 2023

Initial Swap Functionality Commit


PR-Codex overview

This PR focuses on adding new files, exporting types and components, importing modules, and making changes to improve the code structure and functionality of the application.

Detailed summary

  • Added new files: TableFilters.ts, RemoveSectionWidget.ts, PoolFilters.ts, .env.example, AddSectionMyPosition.ts, SelectFeeConcentratedWidget.ts, SelectNetworkWidget.ts, SelectPricesWidget.ts, SelectTokensWidget.ts, providers.tsx, remove/page.tsx, header.tsx, layout.tsx, TokenSelector.tsx, NonSSRWrapper.tsx, providers.tsx, layout.tsx, toast.tsx, PricePanel.tsx, ThunderCoreBanner.tsx, SwapTrade.tsx, tokenData.ts, IconList.tsx.
  • Exported types: Token.
  • Imported modules: @tanstack/react-table, @sushiswap/ui, next/dynamic, @aptos-labs/wallet-adapter-react, react-toastify, @heroicons/react.
  • Improved code structure and functionality.

The following files were skipped due to too many changes: apps/aptos/components/IconList.tsx, apps/aptos/app/pool/PoolsSection/Tables/Cells/columns.tsx, apps/aptos/widget/SwapCurrencyInput.tsx, apps/aptos/app/swap/css/swap.css, apps/aptos/app/pool/add/page.tsx, apps/aptos/components/PoolSection/PoolButtons.tsx, apps/earn/components/RemoveSection/RemoveSectionWidget.tsx, packages/ui/src/future/components/icons/RabbyIcon.tsx, apps/aptos/walletIcons/RiseIcon.tsx, apps/aptos/utils/useUnderlyingTokenBalanceFromPool.ts, apps/aptos/utils/useTokenBalance.ts, apps/aptos/walletIcons/FewchaIcon.tsx, apps/aptos/app/pool/PoolsSection/Tables/SharedCells/PoolNameCell.tsx, apps/aptos/components/PoolSection/PoolPosition/PoolPosition.tsx, apps/aptos/utils/useTokensFromPool.ts, apps/aptos/components/SwapTradeOutput.tsx, apps/aptos/components/Icon.tsx, apps/aptos/utils/usePool.ts, apps/aptos/components/BalancePanel.tsx, apps/aptos/utils/payloadUtil.ts, apps/aptos/components/SwapButton.tsx, apps/aptos/utils/useTotalSupply.ts, apps/aptos/app/pool/PoolsSection/Tables/PositionsTable.tsx, apps/aptos/utils/useTokens.ts, apps/aptos/app/pool/Pool/AddLiquidityButton.tsx, apps/aptos/utils/useSortedTokenList.ts, apps/aptos/app/providers.tsx, apps/aptos/app/pool/Pool/Rate.tsx, apps/aptos/app/pool/PoolsSection/Tables/PoolsTable.tsx, apps/aptos/app/pool/PoolsSection/Tables/TableFilters/PoolFilters.tsx, apps/aptos/components/ConnectView.tsx, apps/aptos/components/NotFoundWalletList.tsx, apps/aptos/components/PoolSection/PoolComposition.tsx, apps/aptos/package.json, apps/aptos/app/pool/[id]/page.tsx, apps/aptos/utils/useTokenWithCache.ts, apps/aptos/components/AddSection/AddSectionMyPosition/AddSectionMyPosition.tsx, apps/aptos/widget/WidgetTitleV2.tsx, apps/aptos/components/NewPositionSection/SelectNetworkWidget.tsx, apps/aptos/components/AddSection/AddSectionMyPosition/AddSectionMyPositionStaked.tsx, apps/aptos/utils/useUserPositions.ts, apps/aptos/components/TokenSelectorCustomTokenOverlay.tsx, apps/aptos/components/PoolsSection.tsx, apps/aptos/components/ConfirmationDialogContent.tsx, packages/chain/src/generated.ts, apps/aptos/utils/useCustomTokens.ts, apps/aptos/components/TokenListItem.tsx, apps/aptos/components/SettingsView.tsx, apps/aptos/utils/useSortedTokensByQuery.ts, apps/aptos/walletIcons/PontemIcon.tsx, apps/aptos/components/TradeRoute.tsx, apps/aptos/components/AddSection/AddSectionMyPosition/AddSectionMyPositionUnstaked.tsx, apps/aptos/app/pool/page.tsx, apps/aptos/config/tokenList.json, apps/aptos/components/PoolSection/PoolPosition/PoolPositionStakedDesktop.tsx, apps/aptos/components/DefaultView.tsx, apps/aptos/components/SwapTradeInput.tsx, apps/aptos/app/swap/page.tsx, apps/aptos/components/NewPositionSection/SelectTokensWidget.tsx, apps/aptos/components/PoolSection/PoolHeader.tsx, apps/aptos/components/WalletSelector.tsx, apps/aptos/components/NewPositionSection/SelectFeeConcentratedWidget.tsx, apps/aptos/utils/usePools.ts, apps/aptos/components/TradeStats.tsx, apps/aptos/components/TradeInput.tsx, apps/aptos/app/pool/Pool/AddSectionReviewModel.tsx, apps/aptos/components/PoolSection/PoolPosition/PoolPositionDesktop.tsx, apps/aptos/components/TokenSelectorImportRow.tsx, apps/aptos/app/pool/Pool/PoolProvider.tsx, apps/aptos/components/TradeReviewDialog.tsx, apps/aptos/walletIcons/MartianIcon.tsx, apps/aptos/components/Search.tsx, apps/aptos/components/TokenListDialog.tsx, apps/aptos/app/swap/trade/TradeProvider.tsx, apps/aptos/components/NewPositionSection/SelectPricesWidget.tsx, apps/aptos/components/RemoveSection/RemoveSectionWidget.tsx, apps/aptos/app/pool/[id]/remove/remove.tsx, apps/aptos/app/pool/Pool/PoolPageV2.tsx, apps/aptos/app/pool/Pool/PoolPage.tsx, apps/aptos/utils/utilFunctions.ts, apps/aptos/trade/TradeProvider.tsx, pnpm-lock.yaml

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

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.

3 participants