Skip to content

[ImgBot] Optimize images#1

Open
imgbot[bot] wants to merge 1 commit into
developfrom
imgbot
Open

[ImgBot] Optimize images#1
imgbot[bot] wants to merge 1 commit into
developfrom
imgbot

Conversation

@imgbot
Copy link
Copy Markdown

@imgbot imgbot Bot commented Apr 7, 2022

Beep boop. Your images are optimized!

Your image file size has been reduced by 13% πŸŽ‰

Details
File Before After Percent reduction
/src/design-system/docs/public/fonts/subset-SFRounded-Medium.svg 247.90kb 214.88kb 13.32%
/src/design-system/docs/public/fonts/subset-SFRounded-Semibold.svg 250.14kb 217.13kb 13.20%
/src/design-system/docs/public/fonts/subset-SFRounded-Bold.svg 250.17kb 217.15kb 13.20%
/src/design-system/docs/public/fonts/subset-SFRounded-Heavy.svg 251.16kb 218.15kb 13.15%
/src/design-system/docs/public/fonts/subset-SFRounded-Regular.svg 185.45kb 167.10kb 9.89%
Total : 1,184.82kb 1,034.41kb 12.70%

πŸ“ docs | :octocat: repo | πŸ™‹πŸΎ issues | πŸͺ marketplace

~Imgbot - Part of Optimole family

pull Bot pushed a commit that referenced this pull request Dec 5, 2023
* Rainbow swaps (rainbow-me#2763)

* fix loading state and small markets bug

* swap review updates (rainbow-me#3236)

* change button text

* init ds

* tweak min content height

* mark impact as negative

* init fee row

* update price row

* i18n

* add custom text color to pull

* rename and refactor exchange row

* fix naming

* moar i18n

* first pass: swap settings

* rm legacy logic

* lil font tweak

* halfway swap settings

* flashbots protec

* pretty

* rainbo fee hook

* pipe up

* fee row pre i18n

* tweak opacities

* new currencyTile

* update labels

* anotha label

* rm collabsible option

* first pass new masthead

* init exchange icons

* plug in slippage

* add xtra checks

* exchange row

* add BPA functionality to row comp

* rm fun stuff :(

* init explainer

* clean up masthead

* explainer height

* lang

* review

* enable swapping all assets

* fix swap quotes and cta update

* swap exchange icons (rainbow-me#3268)

* icon url

* fallback colors

* components

* rm default eth (rainbow-me#3270)

* fix formatting of max. sold and min received

* fix weth swap details

* navigate to input or output automatically

* allow l2s

* fix formatting

* token selection for L2s working

* l2 quotes working

* l2 search working

* fix loading issue

* op gas stuff

* revert bs

* l2 quotes working and review sheet working

* clean up

* expanded state available networks (rainbow-me#3306)

* additional networks hook update

* component and add to sheet

* tweak rendering logic

* i18n

* yeah

* handle singular case

* network switcher (rainbow-me#3308)

* network switcher component

* add util

* fix chainId noise

* refactor + add switcher

* fix queries

* backbutton

* handle network switch

* i18n

* fix key

* more swap fixes

* UniswapCurrency => SwappableAsset

* fix min received formatting

* use uniqueId (rainbow-me#3318)

* swap - fix discover charts (rainbow-me#3317)

* fix discover charts

* fix discover charts address issue

* fix discover charts address issue

* fix discover charts

* rename func

* fix missing price crash

* mmkv + nav to explain sheet

* tweak func calls

* add explain sheet type

* tweak dark arbitrum color

* reset swap inputs (rainbow-me#3328)

* reset inputs

* Update src/hooks/useSwapDerivedOutputs.ts

Co-authored-by: Bruno Barbieri <brunobar79@gmail.com>

* flashbots no l2 (rainbow-me#3327)

* disable in settings

* fix mainnet check

* more fixes

* updated dark mode network colors

* swap - review clean up (rainbow-me#3337)

* prevent mainnet search when no query

* defaults & i18n (rainbow-me#3344)

* gas limit magic

* fix gas issue

* more work for l2 swaps

* lint

* fix approvals

* fix l2 swaps

* l2 swaps work

* update multichain weth support

* clean up

* bump @rainbow/swaps

* weth wrapping / unwrapping working on L2s

* use error codes instead of messages

* swap - fix derived values behavior (rainbow-me#3393)

* tweak behavior

* unrel: we should toggle editable

* fix prepending 0 scenario

* swap - infer token network (rainbow-me#3395)

* add debug check

* pass hasBalance

* switch output network & addy

* ignoreTypeCheck

* ooops

* fix bad prop

* hasBalance -> from Disco

* fix expanded state crash

* fix fucked up nav

* disable output

* available networks explainooor (rainbow-me#3432)

* length check (rainbow-me#3433)

* swap - disable l2 favs (rainbow-me#3436)

* optional chaining

* conditional spacing

* props and clean up

* @skylar/swap e2e (rainbow-me#3441)

* save

* swap tests passing

* fix rest of the tests

* passing

* fix badges and l2 fallback images

Co-authored-by: Skylar Barrera <skylar.barrera@gmail.com>

* more e2e fixes

* fix send flow

* more fixes

* more fixes

* bump detox

* restore kilsession;

* restore dep bump

* fix e2e

* lint

* explainer sheet crash

* explainer sheet crash

* restore detox to iOS 13.7

* wait for currencylist screen

* more e2e fixes

* Swaps: Navigator entrypoints (rainbow-me#3465)

* Fix navigator entrypoints

* make android great again

* add handle

* tweaks

* e2e

Co-authored-by: Skylar Barrera <skylar.barrera@gmail.com>

* more e2e fixes

* lint

* swap -  bugz pass #1 (rainbow-me#3477)

* optionals

* reset native

* exchange formatting + parsing

* better

* fix arbitrum shiz

* L2 icons + colors

* isETH l2 check

* add lowercase

* hacky fix for swap adjusted amounts

* ci

* prop name baptism

* Update src/components/exchange/ExchangeField.js

Co-authored-by: Esteban MiΓ±o <efmino@uc.cl>

* fix asset call

* oop

Co-authored-by: Esteban MiΓ±o <efmino@uc.cl>

* network -> currentNetwork

* swaps: android go to review fix (rainbow-me#3482)

* android review button available

* end of line

* swaps - fix auto network regression from nav changes (rainbow-me#3484)

* add logic to handle new nav flow

* crash

* update for readability

* rm old logic

* review

* fix crash (rainbow-me#3493)

* swaps - fix savings flow regressions (rainbow-me#3499)

* savings check

* savings check + render logic

* use route name to continue showing currency list (rainbow-me#3491)

* update react-native-pager-view (rainbow-me#3506)

* swap - route picker (rainbow-me#3471)

* init assets 4 now

* assets updates

* add route to redux

* pass in route to qoutes

* component

* i18n + prop clean up

* code review

* android fixes + source

* route -> source

* add settings route

* source picker

* update copy

* opaque bq

* swaps - fix android network switcher crash (rainbow-me#3523)

* fix menu options call

* lowercase

* swaps - add coin icon to output title (rainbow-me#3522)

* update hook deps

* pass asset

* render conditionally

* add ignoreBadge

* lint

* android

* swaps  - setting currencies via route params (rainbow-me#3513)

* use route name to continue showing currency list

* routing complete / override issue WIP

* pass asset to button

* pass default assets thru to modal

* use defaults and pass to main swap

* clean

* init handle new default source

* update savings prop

* fix types, crash , & should update effect

* actually fix savings

* rm exchange component props

* ty chris

* pass asset

* lang

* fix type

Co-authored-by: derHowie <derhowiedesigns@gmail.com>

* Adds high + medium slippage warning in swap settings (rainbow-me#3512)

* Extract slippage input into separate component

* Update copy

* Adds price impact warning

* Update size

* Use Stack for spacing

* Convert module to TS

* expose isSeverePriceImpact

* Remove true used for testing

* Fix linter errors

* Remove old Text field

* Move constant

* Fix more linter errors

* Reduce font sizes for android

* Update MaxToleranceInput

* [TEAM2-95] Swap review sheet -> more details: exchange row formatting (rainbow-me#3535)

* place label and content in same Columns component

* reuse SwapDetailsLabel

* bleed.right 6

* swaps: flashbots + confirmation button UI (rainbow-me#3530)

* fix loading calc (rainbow-me#3528)

* Polish more details animation (rainbow-me#3532)

* Fix android layout shift on the swap screen (rainbow-me#3536)

* swaps: token network fixes (rainbow-me#3542)

* only set chainId that's a number

* swapSupportsFlashbots in settings

* enable swap button for owned assets in wallet screen

* fix wrong type on input asset

* show swap button if has balances

* lint

* Swap aggregator styling + copy updates (rainbow-me#3540)

* [TEAM2-113] Swap token list sheet: no tokens on [network] explainer sheet is missing (rainbow-me#3539)

* add obtain l2s explainer sheet

* esteban CR: dismiss android keyboard, use lang, clean up

* fix android spacing issue and navigation + keyboard fixes

* swaps - android selection color (rainbow-me#3545)

* android selection color

* crash

* colorForAsset

Co-authored-by: Esteban MiΓ±o <efmino@uc.cl>

* swaps - arbis warning cleanup (rainbow-me#3544)

* add network check to input focus

* input handeling + editable logic

* swaps: placeholder network badge (rainbow-me#3549)

* add badge

* dont render time if undefined

* remove skeleton network

* swaps - e2e tweak (rainbow-me#3494)

* e2e tweak

* fix testIds

* try notch

* update e2e to develop

* audit

Co-authored-by: Esteban MiΓ±o <efmino@uc.cl>

* fix discover search header (rainbow-me#3564)

* froze lock

* swaps: output value fixed decimals (rainbow-me#3550)

* fixed 6

* rollback unrelated change

* add roundingMode

* dismiss keyboard before interaction manager and use mainnet as default when currency.type does not exist (rainbow-me#3561)

* swaps - main swap sheet spec (rainbow-me#3521)

* fetching copy

* fix cut off /uncentered text

* fix colors & formatting

* fix prop name

* fix android line height

* bump react-native-safe-area-context

* react-native-safe-area-context

* rm soft menu call

* exchange specific component

* rm android specific logic + better formatting

* optimization

* rm ios only animation

* rm debug colors

* condense android inputs to better match ios

* Revert "bump react-native-safe-area-context"

This reverts commit 5de479a.

* Revert "rm soft menu call"

This reverts commit 837d843.

* Revert "react-native-safe-area-context"

This reverts commit c6c8240.

* Revert "rm soft menu call"

This reverts commit 837d843.

* revert safe area context bump

* rm flashbots label

* fix da notch

* rm soft menu bs

* tighten up padding a bit

* formatting + consistent heights

* add marginTop override

* rm spacers + small phone logic

* revert spacer

* isSmallAndroidPhone

* lint

Co-authored-by: Esteban MiΓ±o <efmino@uc.cl>

* swaps - fix l2 fallback colors (rainbow-me#3562)

* fix l2 fallback colors

* fix type

* override in focused when transitioning to main exchange modal (rainbow-me#3576)

* Fix exchange rate in swap review modal  (rainbow-me#3574)

* convert raw amounts to decimals before dividing

* fix fee percentage

* Update rainbow fee explainer sheet

* swaps: update flip behavior (rainbow-me#3577)

* flipping

* disable on fetching quote

* NOOP

* Swaps: Fix some keyboard issues (rainbow-me#3555)

* Fix swap screen keyboard issues

* Fix keyboard issues on swap settings screen

* fix

* add missing fromDiscover

* blur only on ios

Co-authored-by: Esteban MiΓ±o <efmino@uc.cl>

* Update route swap icons (rainbow-me#3567)

* fix insets (rainbow-me#3584)

* revert discover input (rainbow-me#3586)

* fix filtering (rainbow-me#3585)

* pass type

* fix: use getNetworkFromType in switch network explainer (rainbow-me#3591)

* swaps: round max input (rainbow-me#3588)

* audit-ci

* audit-ci

* audit-ci

* [TEAM2-159] Disable L2 favorites in token expanded state (rainbow-me#3582)

* remove add to favorites from l2 AddTokenSheet

* preserve cta position and use includes

Co-authored-by: Esteban MiΓ±o <efmino@uc.cl>

* Swap review sheet UI updates (rainbow-me#3568)

* Swap review sheet UI tweaks

* Tighten up Android rows

* Less crazy prettier formatting

* Fix android icon clipping

* Swap UI fixes

* Fix token amount centering

* tweak button centering on android

Co-authored-by: Skylar Barrera <skylar.barrera@gmail.com>

* fix: rounding input on max to decimalPlaces (rainbow-me#3597)

* [TEAM2-3] Update Swap explain sheets copy (rainbow-me#3599)

* add explainers to swap settings

* i18n still curious

* esteban code review comments

* remove unncessary interaction manager

* dismiss keyboard if explainer appears first

* combine keyboard listeners into one effect

* settings title i18n

* Bunch of android layout fixes (rainbow-me#3600)

* swaps - input price fallback (rainbow-me#3603)

* fallback price

* Update src/hooks/useSwapDerivedOutputs.ts

Co-authored-by: Esteban MiΓ±o <efmino@uc.cl>

Co-authored-by: Esteban MiΓ±o <efmino@uc.cl>

* swaps: fixes (rainbow-me#3604)

* TEAM2-186

* TEAM2-181

* TEAM2-183

* swaps: flipping behavior changes (rainbow-me#3609)

* flip from native value and arbitrum

* native to token values

* comment rm

* Update src/hooks/useSwapDerivedValues.ts

Co-authored-by: Christopher Howard <derhowiedesigns@gmail.com>

Co-authored-by: Christopher Howard <derhowiedesigns@gmail.com>

* swaps - extra height android explainers (rainbow-me#3607)

* bump js sdk

* fix mainnet color (rainbow-me#3621)

* use chain id to determine network (rainbow-me#3614)

* resolved explainer sheet capitalization typos (rainbow-me#3612)

Co-authored-by: Daniel Sinclair <daniel@rainbow.me>

* swaps: handle price impact warnings (rainbow-me#3617)

* handle price impact warnings

* hasPriceImpact

* updated price_impact.label to reflect design copy changes

Co-authored-by: Daniel Sinclair <daniel@rainbow.me>

* Swaps: Fix insufficient gas label (rainbow-me#3623)

* fix insufficient gas label

* get rid of OP

* move to lang files

* Swaps: Align swap layout to spec (rainbow-me#3615)

* Fix swap screen layout

* PR review

* swaps - auto adjust max for native assets (rainbow-me#3625)

* remove alert

* add support for all native assets

* remove e2e test

* Swaps: Android explainer + slippage input fixes (rainbow-me#3616)

* Swaps: Easier tap targets for explainer buttons

* Swaps: Align slippage % input label

* design system

* padding margin vertical

* fix merge

Co-authored-by: Esteban MiΓ±o <efmino@uc.cl>

* swaps: fix NaN rainbow fee (rainbow-me#3628)

* Fix swapping via exchanges alignment (rainbow-me#3620)

* repro TEAM2-175

* Fix percentage pill

* Remove hardcoded protocols

* Remove hardcoded protocols

Co-authored-by: Esteban MiΓ±o <efmino@uc.cl>

* Swap: Fix input debounce (rainbow-me#3610)

* use setTimeout

* fix debounce issues

* use existing focus logic

* improve isFocused

* optional chaining

* bug fix

* flipping is back

* rm not needed clear

* fix swap flip when focused on native input

Co-authored-by: Esteban MiΓ±o <efmino@uc.cl>

* swaps - explainer updates (rainbow-me#3624)

* add explainer + tweak logic

* copy + style updates

* no token updates

* rm extra android height

* symbol instead of name

* pass token symbols

* l2 copy + output disabled copy

* rm loose

* fix e2e

* updated output_disabled explainer copy

* unified colors

* altered copy for unverified token sheet

* fix regression

Co-authored-by: Daniel Sinclair <d@niel.nyc>

* swaps: isHighPriceImpact debounce (rainbow-me#3629)

* debounce

* debouncedIsHighPriceImpact

* fix e2e

* [TEAM2-198][TEAM2-212] Favorite duplicates when searching for an address / Deprecate Imported category in Swap search (rainbow-me#3632)

* debounce

* debouncedIsHighPriceImpact

* fix e2e

* remove imported section and move imported data to verified/unverified sections

* clean up + add clarifying comment

* fix highliquidity dupe

Co-authored-by: Esteban MiΓ±o <efmino@uc.cl>

* swaps: update output disabled explainer (rainbow-me#3641)

* add title_empty

* eof

* Swaps: Analytics (rainbow-me#3635)

* analytics for swap submit/complete

* analytics for swap details update

* tweak open swap details modal analytics

* fixes + include network

* remove priceImpactPercentDisplay from event tracking

* nevermind

* remove wallet address from event tracking

* asset: get asset from discover to swap (rainbow-me#3640)

* fix

* chaining

* swaps: more input flip & max (rainbow-me#3638)

* add debounce in exchangefield

* works

* flipping color

* native field

* to precision when flipping

* swaps: fix matic fees (rainbow-me#3644)

* swaps: currency selection updates (rainbow-me#3645)

* Swap fixes (rainbow-me#3649)

* fix matic -> wmatic minimum received

* lowercase with

* comment

* rename

* [TEAM2-238] Pinned tokens in mainnet swap search (rainbow-me#3654)

* pin prioritized tokens

* use token addresses in references

* swaps: improve flipping (rainbow-me#3652)

* update state instead of ref handling

* arbitrum swap

* swaps- liquidity explainer (rainbow-me#3631)

* liquidity explainer

* fix pixel crash

* fix

* end of filw

* onLongPress

* waitAndTap

* add e2e Wallet screen after swiping left

* logs

* onLongPress

* rm logs

* audit

* move swap setting test to its own step

Co-authored-by: Ben Goldberg <bengoldberg@rainbow.me>
Co-authored-by: Esteban MiΓ±o <efmino@uc.cl>

* [TEAM2-230] Token Expanded sheet Swap entry point bugs (rainbow-me#3648)

* move fromDiscover flag

* fix fromDiscover param correctly

* Fix swap failures (rainbow-me#3653)

* bump swaps SDK

* remove unused ref

* add utility toHexWithoutLeadingZeros

* refactor gas estimation

* bump sdk again

* add missing tx params to wrap/unwrap

* fix incorrect assumption that swap action never requires approve

* fix approvals for wMatic

* bump polygon defaults

* code review comments

* disable trace call for l2s

* bump defaults for l2 swaps

* skip estimates when quote is in progress

* use defaults for l2s

* optimism to the moon

* fix default swap gas limit for l2s

* polygon to the moon

Co-authored-by: Esteban MiΓ±o <efmino@uc.cl>

* swaps: fix switching currency with max input (rainbow-me#3662)

* swaps: fix explainers inputs focus (rainbow-me#3663)

* Keyboard.dismiss on navigate:

* TEAM2-195

* android

* silence audit

* swaps: fix press disabled confirm (rainbow-me#3676)

* [TEAM2-229] Balances not invalidating after completed swap (rainbow-me#3677)

* l2 balance update wip

* fetching new balances on tx confirm

* clean up

* no previous balance case working and l2 icons showing

* remove logs + DRY up additionalAssetsData

* add sentry logs + clean up debug logs

* conditionally patch l2 balances manually

* fix conflicts

* add internalType

* additionalDataUpdateL2AssetBalance on internal type trade

* format asset to be updated

* dont explore authorize tx on l2

* bump optimism basic swap

* Update src/redux/additionalAssetsData.ts

Co-authored-by: Bruno Barbieri <brunobar79@gmail.com>

* Update src/redux/additionalAssetsData.ts

Co-authored-by: Bruno Barbieri <brunobar79@gmail.com>

Co-authored-by: Esteban MiΓ±o <efmino@uc.cl>
Co-authored-by: Bruno Barbieri <brunobar79@gmail.com>

* swaps - fix savings params (rainbow-me#3681)

* fix params

* no details for savings

* fix slippage editing (rainbow-me#3689)

* balance check (rainbow-me#3684)

* swaps: don't fetch quote on input focus (rainbow-me#3686)

* don't change values on focus

* on native input

* swaps: improve useSwapDerivedOutputs (rainbow-me#3687)

* don't change values on focus

* on native input

* use use react query

* remove not needed stuff

* bump debouncedIsHighPriceImpact to 1 sec

* bump debouncedIsHighPriceImpact to 1 sec

* fix inputTokenDecimals in computeSlippageAdjustedAmounts

* ignore late quote data

* ignore next line

* comment

* if loading disable press on confirm

* polling to 10 secs

* review comments

* swaps - truncate long token symbols  (rainbow-me#3685)

* truncate symbol

* add right margin

* truncated text

* dumbo

* sort favorites by abc in filtered and unfiltered states (rainbow-me#3700)

* swaps: updated swipe logic (rainbow-me#3711)

* add back swipe gestures

* add back xtras

* revert old logic

* simple logic

* fix android animation jank

* dont pass source=rainbow (rainbow-me#3719)

* add footer spacing on android (rainbow-me#3718)

* Set custom depth of the scroll view in Exchange modal in RNCM (rainbow-me#3716)

* Set custom depth of the scroll view in Exchange modal in RNCM

* Update UIViewController+slack.swift

Co-authored-by: Skylar Barrera <skylar.barrera@gmail.com>

* use colors from theme

* catch up versions

* fix some exchange list breaking changes

* swaps: savings flow e2e (rainbow-me#3721)

* testIDs

* tests

* swaps: fix fast currency select row (rainbow-me#3726)

* fix prop ordering

* better

* fix passed props

* fix spacing and native asset logic

* fix

* network fallback

* silence audit

* end of line audit

* fix-test-id

Co-authored-by: Esteban MiΓ±o <efmino@uc.cl>

* Filter dropped txs (rainbow-me#3728)

* dropped txs

* bump to 1.6.17 so testflight works

* silence audit

Co-authored-by: Esteban MiΓ±o <efmino@uc.cl>
Co-authored-by: Skylar Barrera <skylar.barrera@gmail.com>

* swaps: tweak base fee e2e (rainbow-me#3735)

* lower base fee

* audit

* fix: empty input flipping behavior (rainbow-me#3738)

* swaps: exchange icons memos + error reset (rainbow-me#3741)

* memos + error reset

* Update src/components/expanded-state/swap-details/SwapDetailsExchangeRow.js

Co-authored-by: Esteban MiΓ±o <efmino@uc.cl>

Co-authored-by: Esteban MiΓ±o <efmino@uc.cl>

* swaps: osdnk review (rainbow-me#3730)

* fix zerox logo

* tweak animation

* rm old network check

* add new network check

* add back interactions

* auditoor

* fix favs

* remove init base fee

* swaps: fix flashbots tip (rainbow-me#3745)

* Decrement nonce if flashbots txs is dropped (rainbow-me#3743)

* Add default slippage to remote config (rainbow-me#3749)

* add default_slippage_bips to config

* load default slippage from config when opening modal

* Failed L2 swaps don't display Failed transaction activity state (rainbow-me#3736)

* check tx receipts in pending tx watcher

* remove redundant title assignment

* only fetch receipt if nonce has not been included

* check for txObj before fetching receipt instead

* rename flashbots feature flag (rainbow-me#3750)

* fix weth plus eth favorite scenario (rainbow-me#3753)

* disable swap button after pressed once (rainbow-me#3752)

* disable swap button after pressed once

* extract to aux function

* swaps: remote slippage by network (rainbow-me#3756)

* config work

* fix effect

* swaps: fix gas loading state (rainbow-me#3755)

* add is gas ready var

* revert not needed change

* Boolean(gasValue?.amount)

* swaps: add loading check to confirm button (rainbow-me#3754)

* add loading checks

* Revert "add loading checks"

This reverts commit 583afe7.

* disable long press while loading

Co-authored-by: Esteban MiΓ±o <efmino@uc.cl>

* fix: bump swap with permit gas (rainbow-me#3757)

* bump to 400000

* bump to 400000

* rainbow-me/swaps 0.1.9

* fixedGasLimitAfterApproval

* fix ../model/config import

* silence audit

* Swaps: Fix select currency scroll on Android (rainbow-me#3759)

Co-authored-by: Esteban MiΓ±o <efmino@uc.cl>

* input fix (rainbow-me#3762)

* input fix

* bug fix

* swaps: fix 0. value in inputs behavior (rainbow-me#3766)

* fix flashbots speed up (rainbow-me#3765)

* Fix weird swap sheet clipping on Android (rainbow-me#3768)

* swaps: check for valid slippage remote config before setting it (rainbow-me#3767)

* check is not null first

* credefault values

* use default

* Check first jic

* fix (rainbow-me#3771)

* fix (rainbow-me#3772)

* swaps: block flashbots swaps miner tip (rainbow-me#3769)

* dont allow less than 6

* use FLASHBOTS_MIN_TIP

* swaps: fix slippage reset (rainbow-me#3773)

* fix it

* fix comments

Co-authored-by: Esteban MiΓ±o <efmino@uc.cl>

Co-authored-by: Skylar Barrera <skylar.barrera@gmail.com>
Co-authored-by: moxey.eth <jakemoxey@gmail.com>
Co-authored-by: Esteban MiΓ±o <efmino@uc.cl>
Co-authored-by: Christopher Howard <derhowiedesigns@gmail.com>
Co-authored-by: Luc Succes <l2succes@gmail.com>
Co-authored-by: pugson <hi@wojtek.im>
Co-authored-by: Ben Goldberg <bengoldberg@rainbow.me>
Co-authored-by: Daniel Sinclair <d@niel.nyc>
Co-authored-by: Daniel Sinclair <daniel@rainbow.me>
Co-authored-by: MichaΕ‚ Osadnik <micosa97@gmail.com>

* swaps: use tradeDetails?.defaultGasLimit as default (rainbow-me#3779)

* use tradeDetails?.defaultGasLimit as default

* using || instead in case of empty string

* remove TOKENS_WITH_FIXED_GAS_LIMIT_AFTER_APPROVAL

* silence

* use swapDetailsSheetConfig for swaps review sheet (rainbow-me#3781)

* use swapDetailsSheetConfig

* silence

* Swaps: Submitting button state (rainbow-me#3782)

* create submitting button state

* silence

* use swirly

Co-authored-by: Esteban MiΓ±o <efmino@uc.cl>

* swaps: fix conditional to use fast speed (rainbow-me#3789)

* fix conditional to use fast speed

* silence audit

* ChainId.mainnet

* swaps: more inputs feedback (rainbow-me#3783)

* fixes

* more fixes

* show warning if there's a value to show

* silence

* adding more states

* fix comment and adding debounce to not spam backend

* silence audit

* fix use debounce

* add derived values to usequery deps

* [TEAM2-291] Swaps button not disabled on testnets (rainbow-me#3795)

* disable swaps on chart expanded state correctly

* NOT testnet

* fix audit

* store isTestnet in const

* Revert "swaps: more inputs feedback (rainbow-me#3783)"

This reverts commit d7e4faa.

* Fix swaps e2e again (rainbow-me#3815)

* make hardhat not to block e2e

* fix gas limit defaults

* revert hardhat url change

* swaps: dont round max (rainbow-me#3810)

* Optimism and Arbitrum collectibles support with custom icons (rainbow-me#3799)

* wip

* created walletready hook for feature unlock: optimism custom icon

* add optimism and pixel icons

* filter locked icons

* @benisgold/custom icon (rainbow-me#3780)

* wip

* use app icon icon

* explainer sheet placeholder

* i18n + og icon

* more i18n and small changes

* updated app icon menu item icon

* explain sheet

* icons

* lint

Co-authored-by: Bruno Barbieri <brunobar79@gmail.com>

* working

* androiiiiiid

* fix audit stuff

* dont break if missing OP kovan RPC url

* fix redux dispatch

* Optimism and Arbitrum NFT support (rainbow-me#3784)

* Add simplehash nfts by wallet address handler

* Fetch optimism and arbitrum NFTs

* Setup for Simplehash NFT parser

* Construct permalinks for simplehash nft marketplaces

* Add Quixotic and Stratos to url opener whitelist

* Rename hideOpenSeaAction to hideNftMarketplaceAction

This is to make the name of this parameter more generic
as we now support more than the OpenSea marketplace.

* Lang: lowercase `with` in `View All With Property`

* Rename viewTraitOnOpenseaAction to viewTraitOnNftMarketplaceAction

* Rename viewTraitOnOpensea to viewTraitOnNftMarketplace in attribute Tag

* Retrieve simplehash marketplace name and add as a new field to unique assets

* Setup for using marketplace info in attribute tags

* Hide NFT marketplace action when collection slug is unavailble

Currently, we hide the NFT marketplace action when the NFT is a POAP.

For the Optimism and Arbitrum endpoints, it is possible that
marketplace page information is unavailable. In this case,
we also want to hide the NFT marketplace actions as the pages
will be unavailable.

* Rename handlePressOpensea to handlePressMarketplaceName

* Update lang files for viewing on OpenSea to be more generic

* Add OpenSea as marketplace to OS and Polygon parsers

* Support more generic marketplace collection website

* Show Rainbow Web only for supported networks

We do not support Optimism or Arbitrum NFTs on Rainbow web yet.
This change also includes explicitly passing in the network even
for mainnet NFTs.

* Use NONE constant in NFT brief token info row

* Set floor price to NONE on error or unsupported network

* Show L2 disclaimer for non-mainnet NFTs

* Update Share functionality in unique token expanded state

Since some networks are not supported by Rainbow web yet,
we want to fallback to using the permalink as the Share content.
If a permalink also does not exist, then we do not show the Share
button.

* Show NFT brief info only on supported networks.

We currently do not support last sale and floor price info
for L2s. The entire NFT Brief Info section will be ignored for L2s.

* Add simplehash types

* Support cursor for simplehash handler

* Remove shouldUpdateInBatches flag for unique tokens

With the new additions of unique token fetches, the
shouldUpdateInBatches flag was causing unexpected behavior.

* Fix and simplify action sheet index selection on collection on Android

* Fix and simplify action sheet index selection on asset on Android

* Lint cleanup and review comments

* Linter: update custom ENS unique token creation

* add flag on firebase to control OP kovan vs mainnet

* fix icon reset bug

* Update POAP parsing to include network

* audit fix

* disable android

* removed unnecessary UINewsstandIcon bundle key to pass App Review

* Fix: uniqBy should use uniqueId on collectibles

Previously it was using ID, which is just the token ID and not
guaranteed to be unique across collections.

* Version bump to v1.6.18

* Changelog and version bump to v1.6.19 (rainbow-me#3800)

* Consolidate explain sheet button configuration

Co-authored-by: Bruno Barbieri <brunobar79@gmail.com>
Co-authored-by: Ben Goldberg <bengoldberg@rainbow.me>
Co-authored-by: Daniel Sinclair <d@niel.nyc>

* swaps: inputs PRs (rainbow-me#3811)

* swaps: more inputs feedback (rainbow-me#3783)

* fixes

* more fixes

* show warning if there's a value to show

* silence

* adding more states

* fix comment and adding debounce to not spam backend

* silence audit

* fix use debounce

* add derived values to usequery deps

* add-fixes-rc-v1.6.17

* fix-e2e

* prevGasFeesParamsBySpeed in exchange modal

* trace call when is not testing

* trace call when is not testing only for trade support

* Fix swaps for testflight (rainbow-me#3812)

* fix testflight

* bump sdk

* swaps: use native display value for swap details (rainbow-me#3814)

* use native display value

* rm log

Co-authored-by: Esteban MiΓ±o <efmino@uc.cl>

* [TEAM2-292] Fix Sentry Bugs (rainbow-me#3813)

* null guard checkForUpdatedNonce

* null guard handleSearchResponse w/o resposne tokens

* null guard before str manip assetsWithScamURL

* add optional chaining to getNativeAssetForNetwork

* null guard address_from and nonce in checkForUpdatedNonce

* add imported and check filtering (rainbow-me#3816)

* Wallet data fixes rebased over custom icons for rcv1.6.19 (rainbow-me#3804)

* Do not fetch prices from uniswap

* Get rid of uniswap prices entirely

* Remove unused code

* Do not flash hidden coins

* Do not use stale redux data in async functions

* Check address is still current before dispatching updates from unique tokens to assets dedupe

* Abort data and txn dispatches after awaits if accountAddress is no longer current

Co-authored-by: Terry Sahaidak <tasssik@gmail.com>

* actually favorite things on currency selection list (rainbow-me#3817)

* swaps: team2-293 (rainbow-me#3818)

* fix crash

* submitting try ios

* swaps: android fix confirm button submitting state (rainbow-me#3819)

* fix button

* block smpam onSwap

* block smpam onSwap

* block smpam onSwap

* swaps: input clearing + loading state (rainbow-me#3828)

* inputs

* Revert "inputs"

This reverts commit 1402aa0.

* remove debounce

* gasready

* update gas on network change

* new e2e

* rollback e2e clearkeychain

* then clearing

* gas ready to estimate gas

* add e2e clearing native field

* rm is gas ready from where is not needed

* rm is gas ready from where is not needed

* null guard string manip (rainbow-me#3832)

* [RNBW-4059] swaps: fix arbitrum flipping (rainbow-me#3830)

* fix

* clear(

* additional inputs state

* delete comment

* fix: review coin icon (rainbow-me#3837)

* swap: bump gas estimation padding (rainbow-me#3839)

* swaps: fix currency row truncating (rainbow-me#3835)

* use tx.flashbots (rainbow-me#3844)

* handle 0 (rainbow-me#3836)

* swaps: handle flashbot miner tip from review sheet (rainbow-me#3846)

* Fix trace calls block number (rainbow-me#3853)

* fix trace calls block number

* default to 20

* Update src/handlers/uniswap.ts

Co-authored-by: Bruno Barbieri <1247834+brunobar79@users.noreply.github.com>
Co-authored-by: Skylar Barrera <skylar.barrera@gmail.com>
Co-authored-by: moxey.eth <jakemoxey@gmail.com>
Co-authored-by: Christopher Howard <derhowiedesigns@gmail.com>
Co-authored-by: Luc Succes <l2succes@gmail.com>
Co-authored-by: pugson <hi@wojtek.im>
Co-authored-by: Ben Goldberg <bengoldberg@rainbow.me>
Co-authored-by: Daniel Sinclair <d@niel.nyc>
Co-authored-by: Daniel Sinclair <daniel@rainbow.me>
Co-authored-by: MichaΕ‚ Osadnik <micosa97@gmail.com>
Co-authored-by: jinchung <jin.chung17@gmail.com>
Co-authored-by: Bruno Barbieri <brunobar79@gmail.com>
Co-authored-by: Terry Sahaidak <tasssik@gmail.com>
pull Bot pushed a commit that referenced this pull request Dec 5, 2023
* feat: upgrade react-navigation and get it running

(cherry picked from commit a141361)

* fix: do some typing in navigation dir

* fix: type errors

* fix: nft-offers url type

* chore: delete outdated patches

* Attempt #1

* fix import issue

* Make ENSNavigator work correctly

* Remove console.logs from navigation

* Restore patches

* Fix Android

* bump to v1.8.29 (rainbow-me#4989)

Co-authored-by: Ibrahim Taveras <ibrahim@ibrahims-mbp.myfiosgateway.com>

* Fix ios handle

* Fix background issue on Settings screen

* Fix context button

* Fix send flow

* Fix patch and linter

* Fix merge

* Restore order

---------

Co-authored-by: Kacper Wiszczuk <kacperwiszczuk@gmail.com>
Co-authored-by: skylarbarrera <skylar.barrera@gmail.com>
Co-authored-by: Ibrahim Taveras <ibrahim@rainbow.me>
Co-authored-by: Ibrahim Taveras <ibrahim@ibrahims-mbp.myfiosgateway.com>
pull Bot pushed a commit that referenced this pull request Jul 15, 2025
…dering logic + wallet screen components (rainbow-me#6140)

* updates to query, types, & wallet screen components

* rm onPress

* thanks greg
pull Bot pushed a commit that referenced this pull request Jul 15, 2025
* sortDirection

* asc/desc menu

* imports

* imports

* i18n

* Merge remote-tracking branch origin/develop into gregs/app-1756-sorting-nfts-on-android-is-broken

* Merge remote-tracking branch origin/develop into gregs/app-1756-sorting-nfts-on-android-is-broken

* fix types

* update ts

* add back isAnchoredToRight

* ??

* grey out the selected option

* android

* Fix iOS 18 cool-modals context menu bug (rainbow-me#6112)

* Fix send crashes / blank screen (rainbow-me#6116)

* Fix disabled paste button on Android (rainbow-me#6118)

* imageVariants (rainbow-me#6114)

* Fix send sheet stuck on loading  (rainbow-me#6119)

* fix stuck loading phase

* Update src/screens/SendSheet.js

* fix deleting contact resetting toAddress to undefined

* fix some shit with ens names

* rm logs

* fix failed to send

* fix lint

* prefer contact name over wallet label

* force linter 2 re-rerun

---------

Co-authored-by: Bruno Barbieri <brunobar79@gmail.com>

* Support typing into native inputs in swap (rainbow-me#6100)

* Remove unused TODO as build quote params should always rely on the corresponding input output amounts even if native values are updated

* Support input native changes in swap inputs controller animated reaction

* Temp cleanup on SwapInputAsset to pull out SwapInputAmountCaret and SwapInputNativeAmount

* Temp cleanup on SwapOutputAsset to pull out SwapOutputAmountCaret and SwapOutputNativeAmount

* Placeholder: generic SwapInputValuesCaret that still need to be hooked up with native inputs

* Add caret animatedStyle to SwapInputValuesCaret

* Use SwapInputValuesCaret component in SwapInputAsset and SwapOutputAsset

* Remove old input and output caret styles from useSwapTextStyles

* Cleanup of unused imports in swaps types

* Add assetToSellCaretStyle and assetToBuyCaretStyle to caret component

* Remove now unused assetToSell/BuyCaretStyles from useAnimatedSwapStyles

* Update native input in SwapInputAsset to be typeable

* Define size style for native caret in SwapInputValuesCaret

* Update swap number pad

Remove formatting that isn't a decimal or number on inputs.
Previously, we were removing only commas, but now that we support native
inputs, we want to remove the native currency symbols.

Prevent updating of the native inputs if their is no corresponding price
for the input / output asset.

* Create separate SwapNativeInput component

* Remove unused caret styles from SwapInputAsset and SwapOutputAsset

* Add param to ignore alignment for native currency formatting and add handler for basic currency formatting

* Update width on nativeCaret

* Add support for changes to native output value

* Fix missing checks for inputNativeValue and outputNativeValue

* Split native currency symbol from value in native input component

* Disable caret when correponding asset does not have price for native input

* Update formatting for input amount if input method is native inputs

* Disable pointer events when no price on native inputs

* Distinguish between placeholder values vs typed inputs for native input values

* Update checks for color for zero value in swap text styles

* Disable focus and pointer events on native output if output based quotes disabled

* Support showing explainer if output quotes disabled and user tries to update output native amount

* Ignore native input changes if native currency decimals exceeded

* Update add decimal in swap number pad to also handle scenarios where there are no native currency decimals

* Update South Korea and Japan currencies as they do not use decimals

* Fix numbers test after JPY decimal changes

* Update numbers test value which should get rounded up

* Fix: check for native placeholder value while checking native input decimal places

* Fix chainId not being passed in for dapp browser getProvider function (rainbow-me#6121)

* Update rainbow provider package to latest 0.1.1

* Fix: getProvider function needs to use an object param

* Cleanup

* Update arbitrum default back to mainnet for WC message signing (rainbow-me#6122)

* Bump deps for Xcode 16 compatibility (rainbow-me#6110)

* RN upgrade

* update ios files

* fixes for android

* iOS working fine

* bump sentry again

* patches and missing dep bump

* bump more deps

* update lockfile

* fix android

* changes to pbxproj

* revert RN upgrade

* new line missing

* force linter 2 re-rerun

* update pod lock

* bump iOS and Android to v1.9.40 (rainbow-me#6131)

* Update CI to work with Xcode 16 / iOS 18 (rainbow-me#6129)

* omit_from_total (rainbow-me#6103)

* Fix speed up and cancel bug (rainbow-me#6133)

* change txTo -> to

* idk

* bump iOS and Android to v1.9.41 (rainbow-me#6136)

* MWP (rainbow-me#6142)

* mwp compat

* prettier

* log only if there is an error

* Dapp browser url updates fix (rainbow-me#6150)

* remove unused import

* restrict JS nav from SPA to same domain

* clean up

* Update src/components/DappBrowser/BrowserTab.tsx

* Internal networks filtering (rainbow-me#6148)

* filter internal networks out

* rm apechains refs

* Fix token search crash for newly added chains (rainbow-me#6147)

* fix token search crash

* rm assets

* Claimables [PR #1]: updates to query, types, utils, wallet screen rendering logic + wallet screen components (rainbow-me#6140)

* updates to query, types, & wallet screen components

* rm onPress

* thanks greg

* Fix improper gas fee calculation (rainbow-me#6125)

* add missing mul to eip1559

* use preferred network if available

* another NaN check guard

* Claimables [PR #2]: claim panel ui (rainbow-me#6141)

* raps

* nit

* comments

* nit

* nit

* prettier

* updates to query, types, & wallet screen components

* rm onPress

* rm logic

* claim panel ui

* nav

* onPress -> onLongPress

* i18n

* pending state, i18n

* comment

* shimmer

* tweak gas fee formatting

* number formatting

* wallet screen number format

* route types

* do not require long press for goBack

* tweak button text

* nit

* formatting

* thanks greg

* revert

* fix android button width

* rm memo

* try catch gas

* rm functionality from tx

* rm rapsv2

* raps v2 (rainbow-me#6138)

* raps

* nit

* comments

* nit

* nit

* prettier

* updates to query, types, & wallet screen components

* rm onPress

* rm logic

* thanks greg

* Claimables [PR #3]: claim functionality (rainbow-me#6146)

* raps

* nit

* comments

* nit

* nit

* prettier

* updates to query, types, & wallet screen components

* rm onPress

* rm logic

* claim panel ui

* nav

* onPress -> onLongPress

* i18n

* pending state, i18n

* comment

* shimmer

* functionality

* tweak gas fee formatting

* number formatting

* wallet screen number format

* route types

* set pending state if no tx hash

* do not require long press for goBack

* tweak button text

* nit

* fix pending tx

* disable read only wallet

* formatting

* thanks greg

* revert

* fix android button width

* rm memo

* try catch gas

* rm functionality from tx

* [APP-1907] Add Claiming Status to Pending Claimable TX's (plus types and unused code cleanup) (rainbow-me#6155)

* fix: use claim type for pending claimable tx

* [APP-1909] Await Claimable TX Before Resolving Rap (rainbow-me#6156)

* fix: await claimable tx mining before displaying success

* fix: add pending tx prior to waiting for mining

* Claimables fixes (rainbow-me#6158)

* number formatting

* fix border radius for claim dapp icon

* poll gas by chain id

* haptics

* adjust button enabled logic + shadows

* fix (rainbow-me#6159)

* convert sends to typescript (rainbow-me#6120)

* convert sends to typescript

* more conversions

* fix lint

* fix optimism security fee

* fix file renaming weirdness

* fix rotation from max asset to nft not working

* fix some typescript bs

* fix lint

* fix nft sends

* comments watchdog action (rainbow-me#6153)

* pod unlock (rainbow-me#6168)

* Fix WalletconnectV2 changeAccount issues (rainbow-me#6160)

* fix wc v2 change account issues

* Update src/walletConnect/index.tsx

* Update src/components/walletconnect-list/WalletConnectV2ListItem.tsx

* Update src/components/walletconnect-list/WalletConnectV2ListItem.tsx

* fix deps array

* bump android and iOS to version v1.9.42 (rainbow-me#6170)

* fix approval sheet not using verifiedData incoming from walletconnect (rainbow-me#6162)

* network expansion  (rainbow-me#6149)

* init apechain support

* fix wrong images

* Apply suggestions from code review

* Update chain badge

* Update chain colors

* Add all badge assets

* add backend networks runtime

* added back internal flag

* remove unused NATIVE_ASSETS_PER_CHAIN

* fix some discrepancies

---------

Co-authored-by: Christian Baroni <7061887+christianbaroni@users.noreply.github.com>

* Analytics changes (rainbow-me#6169)

* analytics changes

* idk

* watched wallets cohort + properly track watched wallets

* [CHORE]: Walletconnect Approval / Redirect sheet typescript conversion (rainbow-me#6167)

* wc ts conversion

* remove memo and fix lint

* nft expanded state fix crash (rainbow-me#6115)

* fix crash

* destructure in same line

* fix lint issues on develop (rainbow-me#6174)

* Fix MWP from failing to prompt if dapp metadata retrieval fails (rainbow-me#6164)

* prevent mwp flow from failing if failed to fetch dapp metadata

* prevent logging user rejections

* ignore logging some user errors

* lel wtf (rainbow-me#6166)

* WC migration to WalletKit (rainbow-me#6163)

* Fix networks crash (rainbow-me#6176)

* fix networks crash

* remove duplicated walletconnect chain ids

* use all supported chains for walletconnect

* fix weird space on approval sheet

* Update src/screens/WalletConnectApprovalSheet.tsx

* hide send button when not transferable (rainbow-me#6123)

* Claim button fixes (rainbow-me#6165)

* hold -> tap

* debounce

* fix lint (rainbow-me#6180)

* chore: use new fields from swap sdk and remove extraneous code (rainbow-me#6171)

* chore: update swaps

* chore: replace extraneous crosschain logic with needsAllowance field

* chore: get rid of all WRAPPED_ASSET references and use quote swap type

* chore: remove swapType as a param to get quotes

* chore: replace swap unlock logic with needsAllowance field

* chore: code review changes

* Zeego Dropdown Menus [MintFilters] (rainbow-me#6143)

* zeego setup

* bump react-native-menu/menu

* fix android settings menu

* update deps

* fix type inference

* mvp to fix android context menus

* fix some inconsistencies on Android

* remove debug logs

* Update src/components/asset-list/RecyclerAssetList2/core/RawRecyclerList.tsx

* Update src/components/DropdownMenu.tsx

* remove unused deps

* fix build maybe

* update lock

* Claim bug fix (rainbow-me#6182)

* fixes

* fix experimental config usage

* nits

* use setTimeout

* defaultConfig fix

* fix ledger image blocking text

* πŸ‘

* lint

* lint

---------

Co-authored-by: Christian Baroni <7061887+christianbaroni@users.noreply.github.com>
Co-authored-by: Matthew Wall <matthew.wallt@gmail.com>
Co-authored-by: Bruno Barbieri <brunobar79@gmail.com>
Co-authored-by: Jin <jin.chung17@gmail.com>
Co-authored-by: Bruno Barbieri <1247834+brunobar79@users.noreply.github.com>
Co-authored-by: Ibrahim Taveras <ibrahim@rainbow.me>
Co-authored-by: Ben Goldberg <bengoldberg@rainbow.me>
Co-authored-by: Christopher Howard <derhowiedesigns@gmail.com>
Co-authored-by: Wayne Cheng <677680+welps@users.noreply.github.com>
*Total -- 1,184.82kb -> 1,034.41kb (12.7%)

/src/design-system/docs/public/fonts/subset-SFRounded-Medium.svg -- 247.90kb -> 214.88kb (13.32%)
/src/design-system/docs/public/fonts/subset-SFRounded-Semibold.svg -- 250.14kb -> 217.13kb (13.2%)
/src/design-system/docs/public/fonts/subset-SFRounded-Bold.svg -- 250.17kb -> 217.15kb (13.2%)
/src/design-system/docs/public/fonts/subset-SFRounded-Heavy.svg -- 251.16kb -> 218.15kb (13.15%)
/src/design-system/docs/public/fonts/subset-SFRounded-Regular.svg -- 185.45kb -> 167.10kb (9.89%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
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.

1 participant