From ff5e5a8b789dd1d827989217b5aad207d6a2cfcc Mon Sep 17 00:00:00 2001 From: Alexandr Kazachenko Date: Fri, 10 Nov 2023 17:57:44 +0600 Subject: [PATCH 1/5] chore: update configurator favicon --- apps/widget-configurator/index.html | 2 +- apps/widget-configurator/public/favicon.ico | Bin 15086 -> 0 bytes apps/widget-configurator/public/favicon.png | Bin 0 -> 13828 bytes 3 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 apps/widget-configurator/public/favicon.ico create mode 100644 apps/widget-configurator/public/favicon.png diff --git a/apps/widget-configurator/index.html b/apps/widget-configurator/index.html index f4a56a3f48..ebad766ec3 100644 --- a/apps/widget-configurator/index.html +++ b/apps/widget-configurator/index.html @@ -5,7 +5,7 @@ CoW Swap: Widget configurator - +
diff --git a/apps/widget-configurator/public/favicon.ico b/apps/widget-configurator/public/favicon.ico deleted file mode 100644 index 317ebcb2336e0833a22dddf0ab287849f26fda57..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15086 zcmeI332;U^%p|z7g|#(P)qFEA@4f!_@qOK2 z_lJl}!lhL!VT_U|uN7%8B2iKH??xhDa;*`g{yjTFWHvXn;2s{4R7kH|pKGdy(7z!K zgftM+Ku7~24TLlh(!g)gz|foI94G^t2^IO$uvX$3(OR0<_5L2sB)lMAMy|+`xodJ{ z_Uh_1m)~h?a;2W{dmhM;u!YGo=)OdmId_B<%^V^{ovI@y`7^g1_V9G}*f# zNzAtvou}I!W1#{M^@ROc(BZ! z+F!!_aR&Px3_reO(EW+TwlW~tv*2zr?iP7(d~a~yA|@*a89IUke+c472NXM0wiX{- zl`UrZC^1XYyf%1u)-Y)jj9;MZ!SLfd2Hl?o|80Su%Z?To_=^g_Jt0oa#CT*tjx>BI z16wec&AOWNK<#i0Qd=1O$fymLRoUR*%;h@*@v7}wApDl^w*h}!sYq%kw+DKDY)@&A z@9$ULEB3qkR#85`lb8#WZw=@})#kQig9oqy^I$dj&k4jU&^2(M3q{n1AKeGUKPFb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cF?D=>*121`WMbRxnT}mJ`Gzb0JM|wY~S4zHDDj3jJA}CfJXd zKr>5MK(t^3_#!a&*^oWGXlyJs7%Q0nkybkzaV5D7))-(3{_eV%7h?$?P5&5p!?7WD zW|*n<1g}o5+Za>rs+UH4da=pUJuqSK*ax{ES2tu!FNq{lmka}L6D8> zBZT>Vf+yeiSrjSapLzux49{1zb^bjx`D~7-21e%BY8oqNlX+840e|0Dk4d0Cty>02 z{2GC|Z;hHPI+^%v*UzS}3K`eReR^&`8Sy_Z%G>u%u#mft-h;D^UHqlwy>wK9x9j}m z Date: Fri, 10 Nov 2023 17:59:05 +0600 Subject: [PATCH 2/5] chore: fix trade types title --- .../src/app/configurator/controls/TradeModesControl.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/widget-configurator/src/app/configurator/controls/TradeModesControl.tsx b/apps/widget-configurator/src/app/configurator/controls/TradeModesControl.tsx index 6e18f6449d..0d129858d8 100644 --- a/apps/widget-configurator/src/app/configurator/controls/TradeModesControl.tsx +++ b/apps/widget-configurator/src/app/configurator/controls/TradeModesControl.tsx @@ -10,7 +10,7 @@ import MenuItem from '@mui/material/MenuItem' import OutlinedInput from '@mui/material/OutlinedInput' import Select, { SelectChangeEvent } from '@mui/material/Select' -const LABEL = 'Trade Modes' +const LABEL = 'Trade types' export function TradeModesControl({ state }: { state: [TradeType[], Dispatch>] }) { const [tradeModes, setTradeModes] = state const handleTradeModeChange = (event: SelectChangeEvent) => { From 4c2df459825fcb124f91fd97a5e931a27aafa3bf Mon Sep 17 00:00:00 2001 From: Alexandr Kazachenko Date: Fri, 10 Nov 2023 18:14:58 +0600 Subject: [PATCH 3/5] chore: fix widget url --- libs/widget-lib/src/urlUtils.ts | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/libs/widget-lib/src/urlUtils.ts b/libs/widget-lib/src/urlUtils.ts index f70539b26e..f0b3368dc9 100644 --- a/libs/widget-lib/src/urlUtils.ts +++ b/libs/widget-lib/src/urlUtils.ts @@ -1,6 +1,8 @@ import { COWSWAP_URLS } from './consts' import { CowSwapWidgetParams, TradeType } from './types' +const EMPTY_TOKEN = '_' + export function buildWidgetUrl(params: CowSwapWidgetParams): string { const host = COWSWAP_URLS[params.env || 'prod'] const path = buildWidgetPath(params) @@ -12,16 +14,7 @@ export function buildWidgetUrl(params: CowSwapWidgetParams): string { export function buildWidgetPath(params: CowSwapWidgetParams): string { const { chainId = 1, sell, buy, tradeType = TradeType.SWAP } = params - const assets = [] - if (sell?.asset) { - assets.push(sell.asset) - } - - if (buy?.asset) { - assets.push(buy.asset) - } - - const assetsPath = assets.map(encodeURIComponent).join('/') + const assetsPath = [sell?.asset || EMPTY_TOKEN, buy?.asset || EMPTY_TOKEN].map(encodeURIComponent).join('/') return `/${chainId}/widget/${tradeType}/${assetsPath}` } From 8dd7d209fd3c55e536e80eafda583a69d1938703 Mon Sep 17 00:00:00 2001 From: Alexandr Kazachenko Date: Fri, 10 Nov 2023 18:17:41 +0600 Subject: [PATCH 4/5] chore: fix reactExample --- .../src/app/embedDialog/utils/reactExample.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/widget-configurator/src/app/embedDialog/utils/reactExample.ts b/apps/widget-configurator/src/app/embedDialog/utils/reactExample.ts index 302857e841..771874311d 100644 --- a/apps/widget-configurator/src/app/embedDialog/utils/reactExample.ts +++ b/apps/widget-configurator/src/app/embedDialog/utils/reactExample.ts @@ -6,7 +6,7 @@ import { COMMENTS_BEFORE_PARAMS } from '../const' export function reactExample(params: CowSwapWidgetParams): string { return ` -import { CowSwapWidget } from '@cowprotocol/widget-react' +import { CowSwapWidget, CowSwapWidgetParams } from '@cowprotocol/widget-react' // ${COMMENTS_BEFORE_PARAMS} const params: CowSwapWidgetParams = ${formatParameters(params)} From ade969df3a5a47a2846416781173273d31ee5004 Mon Sep 17 00:00:00 2001 From: Alexandr Kazachenko Date: Fri, 10 Nov 2023 18:25:51 +0600 Subject: [PATCH 5/5] chore: fix theme auto mode --- .../src/app/configurator/controls/ThemeControl.tsx | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/apps/widget-configurator/src/app/configurator/controls/ThemeControl.tsx b/apps/widget-configurator/src/app/configurator/controls/ThemeControl.tsx index 912ae52141..40e046d227 100644 --- a/apps/widget-configurator/src/app/configurator/controls/ThemeControl.tsx +++ b/apps/widget-configurator/src/app/configurator/controls/ThemeControl.tsx @@ -1,4 +1,4 @@ -import { useContext } from 'react' +import { useContext, useState } from 'react' import FormControl from '@mui/material/FormControl' import InputLabel from '@mui/material/InputLabel' @@ -7,21 +7,26 @@ import Select, { SelectChangeEvent } from '@mui/material/Select' import { ColorModeContext } from '../../../theme/ColorModeContext' +const AUTO = 'auto' + const ThemeOptions = [ - { label: 'Auto', value: 'auto' }, + { label: 'Auto', value: AUTO }, { label: 'Light', value: 'light' }, { label: 'Dark', value: 'dark' }, ] export function ThemeControl() { const { mode, toggleColorMode, setAutoMode } = useContext(ColorModeContext) + const [isAutoMode, setIsAutoMode] = useState(false) const handleThemeChange = (event: SelectChangeEvent) => { const selectedTheme = event.target.value - if (selectedTheme === 'auto') { + if (selectedTheme === AUTO) { setAutoMode() + setIsAutoMode(true) } else { toggleColorMode() + setIsAutoMode(false) } } @@ -31,7 +36,7 @@ export function ThemeControl() {