Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add ramp routes * feat: initial BuyForm setup * feat: added NumberInputWithDropdown component * feat: getRampCurrencies, add ramp base path to env * feat: consume useGetRampCurrencies, update form * feat: added useGetRampAssetsByCurrency, updated buy form * feat: debounced amount inputs to fetch up to date quotes * feat: update token/fiat based on form interaction * feat: select account UI * chore: added RAMP base path, path and api to env vars * feat: create url params and navigate on submit * feat: format token plank before external navigation * feat: move ramp routes to Portfolio routes and layout * feat: added missing UI for NumberInputWithDropDown * feat: added RampAccountOption * feat: off ramp form * feat: offramp assets hook * feat: added ramp to popup routes * feat: added ramp ui to popup * fix: dropdown overflow on popup view * fix: selected token should match chain * feat: fetch ramp quote based on fiat or token amount * feat: bi-directional onramp quote * feat: bi-directional offramp quote * fix: handle unsupported tokens when switching between buy/sell forms * feat: searchable Dropdown * feat: step decimals, throw error if bad quote, cleanup * fix: searchInput import * feat: select button placeholder * feat: added Ramp url to mobile nav * feat: added fiat currency info, logo and name * chore: added SearchInput to components package * chore: moved SearchInput from components to talisman-ui package, updated imports * feat: add hostAppName and default flow to ramp url * feat: cross reference supported tokens with chain data * feat: convert address by chain, display asset chain name * feat: support evm tokens, activate network/token to store, perf improve in useSupportedTokens * feat: added evm token ids * fix: minor form input UI fixes * feat: added toggle buy switch to expanded view * chore: display DashboardAccountsSidebar on Ramp routes * chore: hide navigation chevron on expanded view * chore: remove old buy components * feat: updated fetch remote config, mocked values, log token/chain not found * fix: circular dependency import * fix: labels, styles & placeholders * fix: network specific account icon * feat: min fiat amount error message * chore: center cols and buy btn * fix: "popup view" on exapnded clipping * chore: update ramp routes * chore: moved ramp env vars to remote config * feat: sort tokens/accounts depending on each others chain type, fix: form invalid when selling * feat: add account prompt * fix: added shouldRevalidate to onClea * Revert "chore: remove old buy components" This reverts commit 792d95b. * feat: inital BuySellModalSetup * chore: removed old BuyTokens components * chore: moved useBuyTokensModal to hooks folder * feat: buy tokens wizard, context, layout, option switch and init form * chore: moved hooks to BuyTokens hook folder * feat: added ramp hooks to useBuyTokensWizard * feat: buyTokensFiatAmountInput and extra components * feat: buyTokensForm fiat currency inputs * feat: buyTokensToken picker, fix invalid DOM nesting errors * feat: token picker, layout updates * refactor: made AccountRow a standalone component * feat: buyTokens connect account and select account input * feat: buy tokens account picker route * chore: remove old PortfolioRamp route from popup * fix: form type defaulting to buy when routes are rendered * feat: update depent fields on quote * fix: stale ramp asset and currency when toggling form type * feat: added handle submit * chore: improved UX when no token is available for swap * fix: close modal on navigate to connect accont * chore: remove old Ramp components * fix: fund your account navigates to new Buy/Sell on popup mode * fix: form getting stuck on invalid state * fix: min purchase amount stale on currency change * chore: moved route components to routes folder * feat: buyTokensButton, stubbed SelectFiatButton * refactor: buyTokensButton * feat: fiat picker * revert: dropdown changes * fix: conver fiat currency search to lower case * revert: layout changes not relevant to new modal UI * chore: sort fiat currencies alphabetically * chore: yeet close all models btn, all hail return chevron * chore: increased button padding, add gap and remove justify between for placeholder * fix: properly handle bad reponponses * chore: removed mocked remote-config * chore: handle geoblock * chore: remove old modal subscriptions * fix: set useGetRampQuote retry to false * feat: not available drawer * chore: remove old modal methods from packages * Revert "chore: added SearchInput to components package" This reverts commit f6107f8. * Revert "chore: moved SearchInput from components to talisman-ui package, updated imports" This reverts commit 0380561. * fix: updated SearchInput imports * chore: removed export from inner hook, added missing open modal method
- Loading branch information