forked from osmosis-labs/osmosis-frontend
-
Notifications
You must be signed in to change notification settings - Fork 1
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 upstream #1
Open
gotjoshua
wants to merge
7,477
commits into
onezoomin:master
Choose a base branch
from
osmosis-labs:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains 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
* feat: add initial update to transfer toasts * feat: bug fixes and show estimated time arrival icon * feat: stack toasts * feat: @jonator feedback * fix: if no selectAssetDenom send user to asset selection * fix: type * fix: edit html with raw js * feat: add toast close button animation
* improve check for loading * cleanup * catch no route found error in skip * make get timeout height use chain ID
* fix chain ID * fix test
* Add getAllocation procedure * add base ui * Render all to frontend * Add assets * add other * Add get assets * Add available * Add temp tabs * add types for allocation * Add tabs * Update classnames * Lint issue * Add ion * Clean up styles * Add open / close * Add address for allocation * Update colors * Fix error * Update types * type 2 * fix lint * Move alloction * Clean up tabs * Update URL * Clean up addresses * Clean up comments * Add translations * Add translations * add pooled * Update useMemo * Fix ion color * Remove cachified * Remove color * Update to fiatValue * Migrate all to RatePretty and PricePretty * Convert to Dec and PricePretty * Refactor with RatePretty and PricePretty * Update * Remove log * Add spec * Update tests * Update tests * Moved to sidecar folder * Update to local router * Clean up * Add neglible percent * Extract color class * Update sort * Update allocation limit * Top coins results * Add allocation limit * Update allocation
* fix param * add invariant
* Migrate to tRPC * Clean up tRPC * Add chart types * Fix type issue * Add skeleton * Add formatted performance value * Clean up value calculation * Clean up percent * Add formatting for price change display * Add chart colors * Update chart config * Add comment * clean up imports * Add resize button * Add support for 1h * Clean up color logic * Migrate chart to asset overview * Update dates * remove log * Add simple error * Set defaults * clean up * Remove address * Fix imports * migrate to account store * Update numia key refrence * set last value * temp * comment out resize button temporarily * Cleanup * Clean up ts issues * Update date logic * Remove log
* feat: add error box message * feat: improve error messaging and placement * improvement: use required dependency keys * improvement: add comment * fix: translation
* Add amplitude analytics * Add analytics
* feat: add error box message * feat: improve error messaging and placement * improvement: use required dependency keys * improvement: add comment * feat: initial loading changes * feat: add loading state to amount screen * fix: remove unused code * improvement: chain loading * fix: run prettier * fix: connect wallet redirect * fix: add additional condition for external withdraw * improvement: @jonator feedback
* feat: create generic disclaimer tooltip * fix: enable propagation on generic disclaimer * feat: re-arrange and update market trade details * feat: add free state to trade details * feat: re-arrange limit order fees * feat: add gas icon * feat: move and update review-swap into review-order * feat: re-implement review-order modal * feat: added gas fee esimate to place limit state * feat: reduced fee estimate calls * feat: add button disabling on review modal * fix: removed repeating asset price query * fix: adjusted placed quantity to be exact input * fix: remove unused var * refactor: remove old limit order review modal and extract recap row * feat: add high slippage warning to review order * feat: inject maxSlippage into usePlaceLimit hook * chore: remove useless style from GenericDisclaimer * feat: add gas icon to limit trade details network fees recap row * feat: add tooltips to trade details row * build: fixed translation json error * redesign swap widget (#3591) * fix: fixed isTyping field for inAmountInput * Improve rate info (#3588) * rate * fix build lint * improve buy/sell view * Update packages/web/components/swap-tool/trade-details.tsx Co-authored-by: Connor Barr <[email protected]> * undo inlang change --------- Co-authored-by: Connor Barr <[email protected]> * fix: fix missing attributes * feat: redesign widget base layout & top selectors * chore: remove unused old commented code * chore: remove tab uqs * feat: update token selection & input/output designs * feat: redesign quote selection * feat: WIP redesign limit price selector and update page widget size * fix: invert triangles direction and comment out unused code * fix: fix button click disabled when tooltip open * feat: re-implement open orders card * feat: WIP init implementing focus switching * feat: add switching button UI * feat: change default percent adjustment and label render logic * feat: re-add trade details * chore: remove unused code * refactor: extract AssetFieldset * chore: comment out unused code * feat: wire-up trade details limit variant * feat: WIP implement new swap tool designs * refactor: moved order mapping to caching function * build: fixed build errors * feat: added refetch to cancel/claim [WARNING DO NOT TEST] * fix: fixed refetching on order table * feat: finish implementing swap tool redesign * feat: add popover on limit order disabled & tweak GenericDisclaimer customization * feat: refetch orders on first load * feat: add "add funds" button to asset fieldset header balance * feat: add no balance logics to place limit tool & swap tool * fix: inputs adjust value of other input for limit orders * feat: change all site bg & fix earn page radio buttons opacity * fix: removed unnecessary button disabled state * fix: removed unnecessary button disabled state * feat: add trade bg * chore: removed unused code * fix: fixed price input error on 0 input * fix: fixed rounding issue with max button * fix: fix faulting overflow-hidden on alt swap tool * fix: fix bar width * fix: fix alt swap tool labels * fix: fix scroll on home fixed container * fix: fix "add funds" display on wallet disconnected * fix: fix alt headers and remove old code * fix: fix spacing on tool * fix: fix trade details bugged animation * feat: add prefixes/suffixes empty states * fix: disable ticker on sell tab balance * fix: fix sell balance precision & fieldset footer height * fix: fix buy available usdc amount formatting * feat: update selectableQuotes to cover wallet not connected case * fix: hide add funds button when wallet is disconnected * fix: hide add funds cta on price selector and fix lint * fix: filter in UI default quotes on defaultQuotesWithBalances * feat: add empty states to swap widget footers * feat: make "stablecoin" tooltip trigger underlined * fix: update decimal places and add "<$0.01" to trade details fees * build: fixed build errors * fix: update display of gasUsdValueToPay * feat: update rendering of gasAmount and wire it up on swap tool * refactor: updated button disabled & loading states * fix: update gas display on review modal * chore: readded insufficient balance display to hidden error messages * fix: update chart icon size and variant display logic * feat: remove triangle indicator when percentAdjusted is zero * fix: update token-details-shadow color * chore: sentence case adjustments * fix: fixed review modal changing price and incorrect values * feat: WIP add scaling to asset input * fix: fix rounding issues on order type selector and wrapping on parent container * fix: move isValidNumericalRawInput validation to useLimitPrice * refactor: move orderType prop computation to ReviewOrder and remove unused prop * fix: fixed low price value display in limit price selector * feat: WIP add diffGteSlippage handling * fix: update isManualSlippageTooHigh treshold * feat: truncate last slippage number if it's gt 50 * feat: add isManualSlippageTooLow disclaimer and update designs * fix: fix max button spinner distortion * fix: fix sticky scroll bg color to thead * feat: add tooltip on order history page * feat: update order history columns * fix: fixed overflow on trade details and insufficient funds not disabling review button * fix: added label for limit price input and fixed hover state for denom selection * feat: button hover states for price selection * fix: removed place limit msg generation for market orders * build: fixed build error * fix: adjusted text overflow for expected output * feat: ✨ add limit orders localizations * feat: added no gas fee estimation state to trade details * feat: added gas estimate changes to review order * chore: machine translate * chore: added more localisations * feat: added refetchOnMount to all/claimable orders queries * fix: filtered unwanted quote assets * feat: added amount formatting for quote denom selection * refactor: refactored balance queries in placelimit hook * fix: 💄 fix order history table overflow (#3649) * fix: fixed modal not being attached to top of screen for denom selection * fix: 💄 fix trade widget overlap with sidebar * feat: clear denom selection on modal close * fix: undid regression * feat: ✨ add missing translation and fix analytics event page * fix: 🐛 fix build error * fix: removed limit price display in review modal on swap tab * fix: fixed available amount formatting for buy/sell tab * feat: moved error display * fix: disabled button on no funds * fix: limited decimal input to 3 decimal places * fix: removed gas fee estimation from trade details * feat: added state for no routes in trade details * feat: focus input on swap for buy/sell * feat: automatically display base denom in trade details * fix: non-focused percentage 3 decimal places * refactor: altered trade details outAsBase state and added more localisations * [WIP] feat: price selection has default value * fix: hid routes chevron when no routes found * fix: fixed swap tool layout on pools page modal * fix: background colors for pool page * fix: background colour changes * fix: review order terminology changes * fix: trade-tokens terminology and padding changes * fix: adjusted ttl for all orders cache * refactor: changed cache times for orders * refactor: altered cache times and added logs for active orders query * feat: small improvement to all orders query * chore: cleaned up logs * fix: active orders optimisation * fix: fixed bug with input form not resetting * fix: refetch orders when order placed * fix: caching trade tool active orders query to orders history page * fix: readded claim all orders function * refactor: refactored price input to be simpler * fix: updating price while in percent mode for price selection * feat: extreme value handling * feat: extreme value handling * fix: small bug fixes * fix: price adjustment as spot price changes in price selection, removed unused log * feat: spinner/disabled look for claim & close button * fix: fixed above/below display for price selector * fix: show order history link when user has any order history * fix: fixed font scaling for inputs * fix: reworked order history page * chore: removed old order history page * build: fixed build error * fix: small changes to order history * build: fix build errors * feat: moved orderbook denom query to sqs pools * fix: more active orders query changes * feat: added no wallet state for order history * fix: wallet loading state order history page * feat: limits can now be placed on opposite side of market price * chore: localisations * fix: fixed error on high price amount inputs * fix: small percentage adjustments for price input * chore: removed logs, small formatting adjustment * fix: toggle background colours for limit order ff * fix: percent fill rounding * feat: added geolocation based feature flags for limit orders * fix: improved feel of cancel/claim buttons * fix: correct swap tool depending on feature flags * fix: missed backgrounds for feature flags * build: fix build errors * fix: remove swr and invalidate orderbook queries on tx * refactor: moved historical orders query, fixed schema issue * chore: removed unused code * chore: reduced use of useMemo where possible * chore: remove unused code * test: moved tickToPrice to jest in case * chore: added debug logs for claim/cancel buttons when no wallet found * feat: added intersection component to orders history * feat: valid/default limit quote denoms uses MainnetAssetSymbols * fix: feature flag bg colour in main * feat: added placeholder prop to ScaledCurrencyInput * build: fixed build errors * feat: undid order history first column changes from yesterday * test: added unit tests for new formatter functions * refactor: moved countDecimals test to correct file * refactor: ♻️ add useKeyboardNavigation instead of custom implementation * chore: added comments to disabled hooks in various places * fix: 🐛 fix build error * lint * clean up unused localizations * remove tests for old swap tool (deprecated) --------- Co-authored-by: fabryscript <[email protected]> Co-authored-by: Fabrizio Emanuele Piperno <[email protected]> Co-authored-by: Sunny Aggarwal <[email protected]> Co-authored-by: Davide Segullo <[email protected]> Co-authored-by: Jon Ator <[email protected]>
* feat: support trx and trx.rt tokens * improvement: @jonator feedback
* feat: add test id * feat: ✨ add swap input test id * feat: ✨ add test id * feat: ✨ add token-price test id * feat: ✨ add token in/out test id
* Added close locator
* close modal on last conversoin * reduce test flakiness
Publish Stage
…er Status; Display fee in bridge provider dropdown (#3928) * feat: refactor transfer store tx snapshot * feat: display recent transfers in recent activity * feat: add pending state * feat: add transaction row in transaction page * fix: layout * feat: make transaction rows responsive * feat: add transaction details for withdrawals and deposits * fix: bridge provider select, ibc tx tracking and improve transaction details * test: fix transfer status tests * fix: squid test * feat: remove unused localization key * fix: remove unused localization key * improvement: @jonator feedback * improvement: @CryptoAssassin1 feedback
* refactor: 💄 Replace custom SortDirection with osmosis-labs utils SortDirection * refactor: 💄 Replace Table custom component with base table powered by tanstack react-table * refactor: 💄 Remove now unused table component Removed a table component previously used only by another one from which it has been removed * fix: 💄 Fix table background having a different tint from component background * refactor: 💄 Change to classNames utility from template literal * refactor: ⚰️ Remove unused types * refactor: ⚰️ Remove almost unused BaseCell type BaseCell type was only used for compatibility with the now removed table component on most types. It was really used on ValidatorInfo that's been changed now * refactor: 💄 Add missing padding in superfluid validator selection table header * refactor: 💄 Changed background and hover functionality to be consistent with other app tables * refactor: 💄 Remove table header background in modals remove table header background in modals following new design guidelines * fix: 💄 Change transparent background to be the same as container Transparent background caused readability issues when scrolling the table
Publish Stage
* refactor: orders query usage and definition * chore: localizations * fix: suggested fixes by coderabbit * chore: comment fix
* fix: atom stargaze withdrawal * fix: build * fix: build * fix: test * fix test
…tions (#3947) * fix: atom stargaze withdrawal * feat: add provider name to transfer details * fix: build * fix: build * fix: build * fix: test * fix: test
Publish Stage
* Updated ATOM tests and swap amounts
* fix: preview assets flag * improvement: remove unnecessary exports
Publish stage
…p continuous rerenders and high CPU usage (#3956) * hook and their props changes debug logs swap changes * fix: stabilize switchAssets * fix: stabilize outputDifference * feat: add useDeepMemo to use deep equal when memoizing lodash.isEqual was another option for deep equality checks but fast-deep-equal is lot smaller and more performant * fix: stabilize quote * fix: stabalize useSwapAmountInput this one was the trigger for multiple changes inAmountInput, outAmountInput, spotPriceQuote, sendTradeTokeninTx * fix: stabilize totalFee * Revert "hook and their props changes debug logs" This reverts commit 4b42274. * fix: coderabbit
* feat: create lock file to manage asset list image cache * improvement: comment * fix: build
Publish Stage
…th IBC (#3920) * feat: generate swap skip ibc hook * fix: make ibc hook tx * feat: show receive asset dropdown in nomic deposit address * improvement: add clarification comment * feat: upgrade nomic bitcoin library * test: add testnet memo * feat: handle contract pending deposits * feat: make timestamp a number * feat: remove testing overrides
* feat: add top gainers below swap tool * improvement: display 5 top gainers * improvement: only show 4 top gainers
* feat: update ampli events and tx memo * fix: build
Publish Stage
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.