Skip to content

Commit 6ed1504

Browse files
committed
Update Transition
The update adds the marker icons and leisureStroll Fix the activity mapping of the stroll to use the `leisure/walk` icon instead. Add a FIXME to use the icons from chaire-lib in the map when it is possible to style them.
1 parent f3fe8c9 commit 6ed1504

File tree

4 files changed

+5
-51
lines changed

4 files changed

+5
-51
lines changed

packages/evolution-common/src/services/questionnaire/sections/visitedPlaces/activityIconMapping.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ const activityToIconPathMapping: Record<ActivityCategory | Activity | 'default',
3838
shopping: '/dist/icons/activities/shopping/shopping_cart',
3939
restaurant: '/dist/icons/activities/other/restaurant',
4040
service: '/dist/icons/activities/services/bank',
41-
// FIXME Validate this icon, it's too sportsy
42-
leisureStroll: '/dist/icons/activities/leisure/sports_run',
41+
leisureStroll: '/dist/icons/activities/leisure/walk',
4342
leisureSports: '/dist/icons/activities/leisure/sports_run',
4443
leisureArtsMusicCulture: '/dist/icons/activities/leisure/music',
4544
leisureTourism: '/dist/icons/activities/leisure/luggages',

packages/evolution-frontend/src/components/inputs/InputMapFindPlace.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export type InputMapFindPlaceProps = CommonInputProps & {
3434
};
3535

3636
// Path to default icons
37+
// FIXME Use the icons from chaire-lib in `/dist/icons/` when it is possible to colorize them with proper styling
3738
const defaultMarkerUrl = '/dist/images/activities_icons/default_marker.svg';
3839
const defaultSelectedMarkerUrl = '/dist/images/activities_icons/default_selected_marker.svg';
3940
// Default max zoom and zoom

yarn.lock

Lines changed: 2 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -4151,14 +4151,6 @@
41514151
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-19.0.2.tgz#ad21f9a1ee881817995fd3f7fd33659c87e7b1b7"
41524152
integrity sha512-c1s+7TKFaDRRxr1TxccIX2u7sfCnc3RxkVyBIUA2lCpyqCF+QoAwQ/CBg7bsMdVwP120HEH143VQezKtef5nCg==
41534153

4154-
"@types/react-loadable@^5.5.11":
4155-
version "5.5.11"
4156-
resolved "https://registry.yarnpkg.com/@types/react-loadable/-/react-loadable-5.5.11.tgz#a9b23334251fbdfb32b94c120a09e301e606f07f"
4157-
integrity sha512-/tq2IJ853MoIFRBmqVOxnGsRRjER5TmEKzsZtaAkiXAWoDeKgR/QNOT1vd9k0p9h/F616X21cpNh3hu4RutzRQ==
4158-
dependencies:
4159-
"@types/react" "*"
4160-
"@types/webpack" "^4"
4161-
41624154
"@types/react-select@^5.0.1":
41634155
version "5.0.1"
41644156
resolved "https://registry.yarnpkg.com/@types/react-select/-/react-select-5.0.1.tgz#04fc85edd34a72675a0ab56ad4c30428aab0e444"
@@ -4201,11 +4193,6 @@
42014193
resolved "https://registry.yarnpkg.com/@types/shimmer/-/shimmer-1.2.0.tgz#9b706af96fa06416828842397a70dfbbf1c14ded"
42024194
integrity sha512-UE7oxhQLLd9gub6JKIAhDq06T0F6FnztwMNRvYgjeQSBeMc1ZG/tA47EwfduvkuQS8apbkM/lpLpWsaCeYsXVg==
42034195

4204-
"@types/source-list-map@*":
4205-
version "0.1.2"
4206-
resolved "https://registry.yarnpkg.com/@types/source-list-map/-/source-list-map-0.1.2.tgz#0078836063ffaf17412349bba364087e0ac02ec9"
4207-
integrity sha512-K5K+yml8LTo9bWJI/rECfIPrGgxdpeNbj+d53lwN4QjW1MCwlkhUms+gtdzigTeUyBr09+u8BwOIY3MXvHdcsA==
4208-
42094196
"@types/stack-utils@^2.0.0":
42104197
version "2.0.1"
42114198
resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c"
@@ -4226,11 +4213,6 @@
42264213
"@types/node" "*"
42274214
"@types/stream-chain" "*"
42284215

4229-
"@types/tapable@^1":
4230-
version "1.0.8"
4231-
resolved "https://registry.yarnpkg.com/@types/tapable/-/tapable-1.0.8.tgz#b94a4391c85666c7b73299fd3ad79d4faa435310"
4232-
integrity sha512-ipixuVrh2OdNmauvtT51o3d8z12p6LtFW9in7U79der/kwejjdNchQC5UMn5u/KxNoM7VHHOs/l8KS8uHxhODQ==
4233-
42344216
"@types/tough-cookie@*":
42354217
version "4.0.5"
42364218
resolved "https://registry.yarnpkg.com/@types/tough-cookie/-/tough-cookie-4.0.5.tgz#cb6e2a691b70cb177c6e3ae9c1d2e8b2ea8cd304"
@@ -4246,13 +4228,6 @@
42464228
resolved "https://registry.yarnpkg.com/@types/trusted-types/-/trusted-types-2.0.7.tgz#baccb07a970b91707df3a3e8ba6896c57ead2d11"
42474229
integrity sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==
42484230

4249-
"@types/uglify-js@*":
4250-
version "3.9.2"
4251-
resolved "https://registry.yarnpkg.com/@types/uglify-js/-/uglify-js-3.9.2.tgz#01992579debba674e1e359cd6bcb1a1d0ab2e02b"
4252-
integrity sha512-d6dIfpPbF+8B7WiCi2ELY7m0w1joD8cRW4ms88Emdb2w062NeEpbNCeWwVCgzLRpVG+5e74VFSg4rgJ2xXjEiQ==
4253-
dependencies:
4254-
source-map "^0.6.1"
4255-
42564231
"@types/unist@*", "@types/unist@^2.0.0":
42574232
version "2.0.3"
42584233
resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.3.tgz#9c088679876f374eb5983f150d4787aa6fb32d7e"
@@ -4273,27 +4248,6 @@
42734248
resolved "https://registry.yarnpkg.com/@types/validator/-/validator-13.12.2.tgz#760329e756e18a4aab82fc502b51ebdfebbe49f5"
42744249
integrity sha512-6SlHBzUW8Jhf3liqrGGXyTJSIFe4nqlJ5A5KaMZ2l/vbM3Wh3KSybots/wfWVzNLK4D1NZluDlSQIbIEPx6oyA==
42754250

4276-
"@types/webpack-sources@*":
4277-
version "1.4.0"
4278-
resolved "https://registry.yarnpkg.com/@types/webpack-sources/-/webpack-sources-1.4.0.tgz#e58f1f05f87d39a5c64cf85705bdbdbb94d4d57e"
4279-
integrity sha512-c88dKrpSle9BtTqR6ifdaxu1Lvjsl3C5OsfvuUbUwdXymshv1TkufUAXBajCCUM/f/TmnkZC/Esb03MinzSiXQ==
4280-
dependencies:
4281-
"@types/node" "*"
4282-
"@types/source-list-map" "*"
4283-
source-map "^0.7.3"
4284-
4285-
"@types/webpack@^4":
4286-
version "4.41.31"
4287-
resolved "https://registry.yarnpkg.com/@types/webpack/-/webpack-4.41.31.tgz#c35f252a3559ddf9c85c0d8b0b42019025e581aa"
4288-
integrity sha512-/i0J7sepXFIp1ZT7FjUGi1eXMCg8HCCzLJEQkKsOtbJFontsJLolBcDC+3qxn5pPwiCt1G0ZdRmYRzNBtvpuGQ==
4289-
dependencies:
4290-
"@types/node" "*"
4291-
"@types/tapable" "^1"
4292-
"@types/uglify-js" "*"
4293-
"@types/webpack-sources" "*"
4294-
anymatch "^3.0.0"
4295-
source-map "^0.6.0"
4296-
42974251
"@types/yargs-parser@*":
42984252
version "15.0.0"
42994253
resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-15.0.0.tgz#cb3f9f741869e20cce330ffbeb9271590483882d"
@@ -4846,7 +4800,7 @@ ansi-styles@^6.1.0:
48464800
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5"
48474801
integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==
48484802

4849-
anymatch@^3.0.0, anymatch@^3.0.3:
4803+
anymatch@^3.0.3:
48504804
version "3.1.3"
48514805
resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e"
48524806
integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==
@@ -12289,7 +12243,7 @@ source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, source-map@~0.6.1:
1228912243
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
1229012244
integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==
1229112245

12292-
source-map@^0.7.3, source-map@^0.7.4:
12246+
source-map@^0.7.4:
1229312247
version "0.7.4"
1229412248
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.4.tgz#a9bbe705c9d8846f4e08ff6765acf0f1b0898656"
1229512249
integrity sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==

0 commit comments

Comments
 (0)