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

Merge latest for deployment #995

Merged
merged 84 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
4f227cc
944: Start of redesign
Jul 24, 2024
ceb30f0
944: Progress
Jul 30, 2024
85d63a6
944: Added TokenSelectBackground
makkelie-dev Sep 15, 2024
cf42b31
944: Finished TokenSelectBackground
makkelie-dev Sep 16, 2024
0ee1cb2
944: Added styling for back button
makkelie-dev Sep 20, 2024
a62b30c
944: Redesign TokenList and Overlay
makkelie-dev Sep 20, 2024
950f8ed
Redesign of TopBar and Toolbar
makkelie-dev Sep 25, 2024
7854f45
944: Added redesign of ExpirySelector and max button
makkelie-dev Sep 25, 2024
7c9a418
944: Added redesign of wallet select
makkelie-dev Sep 27, 2024
75343c4
944: Progress
makkelie-dev Sep 30, 2024
4a66077
944: Fixed SwapInputs input focus effect
makkelie-dev Oct 4, 2024
8cd968a
944: Fixed feedback japlet
makkelie-dev Oct 7, 2024
e69e13d
Merge pull request #957 from airswap/feature/944-redesign
makkelie-dev Oct 8, 2024
5058fd9
V5 upgrade (#949)
dmosites Oct 8, 2024
48668c7
order detail fix for unconnected wallet
makkelie-dev Oct 15, 2024
0cf4b79
Merge pull request #964 from airswap/fix/otc-order-detail
makkelie-dev Oct 19, 2024
7c1c22d
Progress
makkelie-dev Oct 19, 2024
04fade4
Added useElementSize and useIsOverflowing hooks
makkelie-dev Oct 20, 2024
b228b5c
Added gradient to otc orders list
makkelie-dev Oct 20, 2024
5f5e51b
More styling fixes
makkelie-dev Oct 20, 2024
4666c0f
Merge pull request #966 from airswap/feature/otc-orders-list
makkelie-dev Oct 21, 2024
e635766
955: Progress
makkelie-dev Oct 21, 2024
4a830c4
955: More styling fixes
makkelie-dev Oct 22, 2024
aa4df5d
955: Removed useClickOutsideTransactionsTab
makkelie-dev Oct 22, 2024
a46c9c4
955: Fixed WidgetFrame styling when transactions tab is open
makkelie-dev Oct 22, 2024
28dc88d
955: More styling fixes
makkelie-dev Oct 22, 2024
6d55960
955: Added BlurredOverlay
makkelie-dev Oct 23, 2024
9a2dee9
Added BlurredOverlay to Page (woohoo, it works!)
makkelie-dev Oct 23, 2024
89c9e96
955: Readded useClickOutsideTransactionsTab
makkelie-dev Oct 24, 2024
3f3dd30
955: Fixed cleanup bugs
makkelie-dev Oct 24, 2024
978639d
954: Added showTransactionOverlay to Interface context
makkelie-dev Oct 24, 2024
d9d4337
954: Renamed Overlay to ModalOverlay
makkelie-dev Oct 24, 2024
84a1239
954: Added TransactionOverlay
makkelie-dev Oct 25, 2024
fafdd8c
954: Added TransactionOverlay to OrderDetailWidget
makkelie-dev Oct 27, 2024
43813d2
954: Expiry styling changes
makkelie-dev Oct 28, 2024
ee65860
Merge pull request #967 from airswap/feature/955-transactions
makkelie-dev Oct 31, 2024
8a86b17
Merge pull request #968 from airswap/feature/954-transaction-overlay
makkelie-dev Oct 31, 2024
7cc226b
969: Added redesign for error list
makkelie-dev Nov 1, 2024
ce6bfaf
973: Added new glow animation to BorderedButton
makkelie-dev Nov 3, 2024
d4fbbd0
971: Added redesign to Make widget
makkelie-dev Nov 3, 2024
0b9345d
Merge pull request #976 from airswap/feature/971-make-redesign
makkelie-dev Nov 3, 2024
3b18356
Merge pull request #975 from airswap/feature/973-button-highlight
makkelie-dev Nov 3, 2024
8b5e82f
Merge pull request #974 from airswap/feature/969-error-redesign
makkelie-dev Nov 3, 2024
a7ad4ce
feat: add thai locale
goffxnca Nov 8, 2024
5bb0854
WIP: RFQ redesign (#979)
makkelie-dev Nov 16, 2024
816621d
970: Added ApprovalSubmittedScreen to OrderDetailWidget
makkelie-dev Nov 16, 2024
a6b89ab
Merge pull request #984 from airswap/feature/970-rfq-redesign-part2
makkelie-dev Nov 16, 2024
ca18927
Merge pull request #980 from goffxnca/feature/thai-locale
makkelie-dev Nov 16, 2024
951668e
972: Added InfoSectionHeading and PriceConverter
makkelie-dev Nov 16, 2024
0615cde
Added RecipientAndStatus. Refactored ExpiryIndicator and OrderRecipie…
makkelie-dev Nov 17, 2024
c48ffae
972: Fixed InfoSection and ActionButtons
makkelie-dev Nov 18, 2024
7c5a25b
972: Styling fixes
makkelie-dev Nov 18, 2024
c246650
972: Removed InfoButtons
makkelie-dev Nov 18, 2024
60dc84c
972: Swap inputs token text update
makkelie-dev Nov 18, 2024
fec480e
972: Fixed token icon size of TokenSelect
makkelie-dev Nov 18, 2024
efb8963
Merge pull request #987 from airswap/feature/972-take-redesign
makkelie-dev Nov 18, 2024
e39550a
937: Added fix for unknown tokens balance bug
makkelie-dev Nov 18, 2024
f7b7f7b
Merge pull request #988 from airswap/fix/937-otc-balance-bug
makkelie-dev Nov 19, 2024
1f44363
Added useBalanceLoading
makkelie-dev Nov 20, 2024
a17f7db
985: Added useBalanceLoading to all widgets
makkelie-dev Nov 23, 2024
6a5930d
language updates; libraries package upgrade; remove join modal (#989)
dmosites Nov 23, 2024
68b406f
Merge pull request #991 from airswap/feature/985-balances-loading
makkelie-dev Nov 23, 2024
ffc6322
990: Fix for rfq order fetch failing
makkelie-dev Nov 23, 2024
595fb31
985: Fixed useBalanceLoading bug
makkelie-dev Nov 23, 2024
45d63b5
Merge pull request #992 from airswap/fix/990-rfq-loading
makkelie-dev Nov 23, 2024
927febd
Added streamedLastLookOrder to quotes store
makkelie-dev Nov 30, 2024
76d9874
Removed legacy pricing store
makkelie-dev Nov 30, 2024
f5f9730
Fixed OrderSubmittedScreen for last look
makkelie-dev Nov 30, 2024
9c2385f
Added streamedBestPricing and fixed translation
makkelie-dev Dec 1, 2024
42ed2c3
Merge pull request #993 from airswap/feature/961-last-look-handling
makkelie-dev Dec 2, 2024
0a3346f
update stats link
dmosites Dec 3, 2024
8efcbd9
update stats link
dmosites Dec 3, 2024
c54a8e3
997: Added fix to getStakerTokens
makkelie-dev Dec 4, 2024
51d7a19
Merge pull request #998 from airswap/fix/997-get-staker-tokens
makkelie-dev Dec 5, 2024
a20236f
Removed metadata all tokens from cache
makkelie-dev Dec 5, 2024
601c1fc
Improved metadata store when swiching wallet
makkelie-dev Dec 7, 2024
dd3dd2f
useTakerTokenInfo small fix
makkelie-dev Dec 8, 2024
ed6c3ad
Improved balance handling. Unknown token caching.
makkelie-dev Dec 8, 2024
77f3199
update edit button label
dmosites Dec 9, 2024
b45cf09
Refactor of metadata tokens and saving to localStorage. Removed metad…
makkelie-dev Dec 9, 2024
a5b87ce
Merge pull request #999 from airswap/fix/metadata-cache
makkelie-dev Dec 9, 2024
fb2cfb0
OTC Review (#1001)
dmosites Dec 10, 2024
3cd5294
RFQ Review (#1002)
dmosites Dec 11, 2024
b6e2de0
983: Submitted Deposit overlay (#1003)
makkelie-dev Dec 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{
"css.customData": [".vscode/css_custom_data.json"]
"css.customData": [
".vscode/css_custom_data.json"
]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"prepare": "husky install"
},
"dependencies": {
"@airswap/libraries": "4.3.6",
"@airswap/libraries": "5.0.3",
"@akkafinance/web3-react-bitkeep": "^1.0.0",
"@coinbase/wallet-sdk": "^3.7.2",
"@craco/craco": "^6.2.0",
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://use.typekit.net/wyd3jpl.css" />
<link rel="stylesheet" href="https://use.typekit.net/eix0liv.css" />
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XSB2E7X42G"></script>
<script>
window.dataLayer = window.dataLayer || [];
Expand Down
89 changes: 48 additions & 41 deletions public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"addToTokenSet": "Import",
"balance": "Balance",
"failedToFetchAllowances": "Failed to fetch token allowances",
"failedToFetchAllowancesCta": "Please reload the page",
"tokenBalances": "Token balances",
"unsupportedToken": "Not yet supported"
},
Expand Down Expand Up @@ -41,11 +40,12 @@
"language": "Language",
"learn": "learn",
"light": "Light",
"make": "Make",
"make": "OTC",
"makeOrder": "Make new order",
"max": "Max",
"minutes": "minutes",
"minutesShort": "Min",
"myOrders": "OTC",
"networks": "Networks",
"no": "No",
"noResultsFound": "No results found",
Expand All @@ -56,8 +56,9 @@
"receive": "Receive",
"reloadPage": "Reload Page",
"review": "Review",
"rfq": "RFQ",
"rfq": "DEX",
"select": "Select",
"selectToken": "Select token",
"send": "Send",
"settings": "Settings",
"sign": "Sign",
Expand Down Expand Up @@ -87,43 +88,41 @@
"counterParty.title": "Counterparty Wallets",
"gasFreeSwaps.paragraph": "You found a gasless swap!",
"gasFreeSwaps.paragraph2": "Some swaps do not require you to pay gas because the transaction is handled by the maker. You'll still need to sign the swap using your wallet to proceed.",
"gasFreeSwaps.title": "Gasless swaps",
"join.ambassador": "Ambassador",
"join.author": "Author",
"join.developer": "Developer",
"join.getStarted": "Get started",
"join.intro": "AirSwap is an open community of developers, designers, writers, and tinkerers building decentralized trading systems. Protocol fees are automatically distributed to contributors.",
"join.paragraph2": "Check out the following guides to learn more.",
"join.title": "Join AirSwap",
"join.voter": "Voter",
"protocolFee.paragraph": "AirSwap includes protocol fees distributed to active contributor community members. By using AirSwap you're supporting the development and stewardship of decentralized trading protocols.",
"gasFreeSwaps.title": "Gasless swap",
"protocolFee.paragraph": "A protocol fee is processed on each swap and distributed to AirSwap contributors and active participants in the decentralized governance process. Using AirSwap supports the development and stewardship of decentralized protocols.",
"protocolFee.title": "Protocol Fee"
},
"marketing": {
"includesFee": "Includes 0.07% fee",
"welcomeHeading": "Secure and efficient P2P swaps",
"welcomeMessage": "Decentralized trading with zero slippage "
"welcomeMessage": "Swap tokens with zero slippage"
},
"orders": {
"actionCannotBeReversed": "This action cannot be reversed",
"actionCannotBeReversed": "This will cancel the order on-chain",
"afterFee": "After {{fee}} fee",
"amount": "Amount",
"anyone": "Anyone",
"approve": "Approve",
"approveMessage": "Approve AirSwap to transfer your tokens.",
"approvePending": "Prepared to approve {{symbol}}",
"orderAmount": "Order amount",
"feeAmount": "Protocol fee",
"currentApprovalAmount": "Current approval",
"requiredApprovalAmount": "Required approval",
"approveTokenInYourWallet": "Approve token in your wallet",
"approvalComplete": "Approved",
"approvalProcessing": "Approving swap...",
"areYouSureYouWantToCancel": "Are you sure you want to cancel?",
"availableOrders": "Available orders",
"bestQuote": "Best quote",
"cancelOrder": "Cancel order",
"chooseToken": "Choose token",
"cancelOrder": "Cancel",
"chooseToken": "Select token",
"clearCustomServer": "Clear custom server",
"confirmCancel": "Confirm cancel",
"confirmCancel": "Cancel",
"connectWallet": "Connect your wallet to proceed",
"continue": "Continue",
"copyLink": "Copy link",
"counterPartyAddress": "Counterparty address",
"depositComplete": "Deposit complete",
"depositProcessing": "Deposit processing...",
"dismiss": "Dismiss",
"editCustomTokens": "Edit Custom Tokens",
"editCustomTokens": "Edit",
"enterAmount": "Enter an amount",
"enterAmounts": "Enter amounts",
"enterTakerAddressOrENS": "Enter taker address or ENS",
Expand All @@ -135,21 +134,25 @@
"expandedResults": "Expanded results from inactive Token Lists",
"expiryShouldBeMoreThan0": "Expiry should be more than 0",
"expiryTime": "Expiry",
"findingBestPrice": "Finding the best prices...",
"findingBestPrice": "Fetching available prices...",
"from": "From",
"gasCost": "Gas cost",
"gasFreeTrade": "Gasless swap",
"insufficientBalance": "Insufficient {{symbol}} balance",
"gasFreeTrade": "Gasless",
"getAPrice": "Get prices from online servers",
"insufficientBalance": "Insufficient balance",
"listed": "Listed",
"listingType": "Listing type",
"makeNewOrder": "New order",
"makeAnOrder": "Make an order",
"makeNewOrder": "Make new order",
"makeNewSwap": "New swap",
"moreInformation": "More information",
"nativeCurrencyMaxInfoText": "{{amount}}. This amount is calculated after subtracting a {{fee}} gas fee from your total balance.",
"newQuoteIn": "New Quote In",
"newQuoteIn": "New quote in",
"noIndexerOrdersFound": "No orders found for this token pair",
"noIndexersFound": "No indexer nodes found",
"orderSuccessfullyCreated": "Order successfully created.",
"pendingWallet": "Waiting for wallet",
"pendingConfirmation": "Confirm to proceed",
"price": "Price",
"priceDifference": "Price difference",
"protocolFee": "Fee",
Expand All @@ -166,33 +169,38 @@
"selectedServer": "Selected {{serverUrl}} as custom server",
"settings": "Settings",
"specificTaker": "Specific Taker",
"startByCreatingANewOrder": "Start by creating a new order",
"submitted": "Transaction Submitted",
"startByCreatingANewOrder": "Start by making an order.",
"swapExpired": "Swap expired",
"swapExpiredCallToAction": "Please try again",
"swapFailed": "Error submitting swap",
"swapFailedCallToAction": "Please try again",
"swapMessage": "Accept on your wallet to proceed",
"swapPending": "Prepared to swap",
"swapRejected": "Price expired",
"swapRejectedByUser": "Swap rejected by user",
"swapRejectedByUser": "Rejected by wallet",
"swapRejectedCallToAction": "Please try again",
"takeOtc": "Take",
"takeQuote": "Complete Swap",
"takeQuote": "Take",
"thisOrderIsForADifferentTaker": "This order is for a different taker",
"thisOrderIsForAnotherChain": "This order is for the {{chainName}} chain",
"thisOrderIsForAnotherChain": "This order is for {{chainName}}",
"thisOrderWasForADifferentTaker": "This order was for a different taker",
"takeSwap": "Take",
"to": "To",
"tokenInfoNotFound": "Token info not found",
"tokenPairUnavailable": "No quotes available",
"noValidResponses": "No servers currently available",
"total": "Total",
"track": "Track",
"trackTransaction": "Track this transaction on the top right",
"transactionCompleted": "Transaction Completed",
"trackTransaction": "View in transaction history",
"transactionCompleted": "Swap complete",
"orderSent": "Sending order...",
"orderSentToMaker": "Sending order to the maker",
"orderSubmitted": "Order submitted...",
"orderSubmittedByMaker": "Maker has submitted order",
"unableTake": "Unable to take",
"viewAllQuotes": "View all quotes",
"wrapMessage": "No protocol fee for ETH/WETH swaps",
"youHaveNoOpenOTCOrders": "You have no open OTC orders"
"youHaveNoOpenOTCOrders": "You have no orders."
},
"toast": {
"approvalComplete": "Approval Complete",
Expand All @@ -215,6 +223,7 @@
"nonceAlreadyUsed": "Nonce has been already used or cancelled",
"senderAllowanceLow": "Sender (taker) has not approved the required amount",
"senderBalanceLow": "Sender (taker) does not have the required balance",
"signatureInvalid": "Invalid signature",
"signerAllowanceLow": "Signer (maker) has not approved the required amount",
"signerBalanceLow": "Signer (maker) does not have the required balance",
"swapFail": "The swap would fail for the following reasons.",
Expand All @@ -228,15 +237,14 @@
"approve": "Approve {{symbol}}",
"cleanupOptions": "Cleanup options",
"completedTransactions": "Completed transactions",
"connectWallet": "Connect Wallet",
"connectWallet": "Continue",
"copyAddress": "Copy address",
"dayAgo_one": "{{count}} day ago",
"dayAgo_other": "{{count}} days ago",
"disconnectWallet": "Disconnect",
"get": "Get",
"hourAgo_one": "{{count}} hour ago",
"hourAgo_other": "{{count}} hours ago",
"ifYourWalletDoesNotOpenSomethingWentWrong": "If your wallet does not open, something went wrong.",
"justNow": "Just now",
"lastLookTransaction": "{{signerAmount}} {{signerToken}} → {{senderAmount}} {{senderToken}}",
"latestGithubCommit": "Latest github commit",
Expand All @@ -248,11 +256,10 @@
"noCompletedTransactions": "No completed transactions",
"noTransactions": "No Transactions",
"notConnected": "Not connected",
"selectWallet": "Select a wallet",
"signInWallet": "Sign in wallet",
"selectWallet": "Select wallet",
"switchNetwork": "Switch network",
"transaction": "{{senderAmount}} {{senderToken}} → {{signerAmount}} {{signerToken}}",
"transactionLink": "Transaction link",
"transactionLink": "View on block explorer",
"unsupported": "Unsupported",
"unsupportedNetwork": "Unsupported network",
"viewOnExplorer": "View on explorer",
Expand Down
Loading
Loading