Skip to content
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

[FEATURE] Changer le design du locale switcher en affichage réduit (PIX-7356). #537

Merged

Conversation

Thomasevano
Copy link
Contributor

@Thomasevano Thomasevano commented May 16, 2023

🦄 Problème

En mode réduit le locale switcher n'affichait pas les icônes.

🤖 Proposition

Retravailler le design afin d'afficher les icônes correspondant aux locales.

🌈 Remarques

⚠️ la condition child.icon === 'globe-europe.svg' présent ligne 99 de localeSwitcher.vue est temporaire le temps que l'on passe de locale en-gb vers en, ensuite on créera une méthode qui vérifiera le localeCode dans une prochaine PR:

isInternational(locale) {

return !locale.localeCode.includes('-')

},

💯 Pour tester

@Thomasevano Thomasevano self-assigned this May 16, 2023
@pix-bot-github
Copy link

Une fois les applications déployées, elles seront accessibles via les liens suivants :

Les variables d'environnement seront accessibles sur scalingo https://dashboard.scalingo.com/apps/osc-fr1/pix-site-review-pr537/environment

@Thomasevano Thomasevano changed the title [FEAT] Changer le design du locale switcher en affichage réduit (PIX-7356). [FEATURE] Changer le design du locale switcher en affichage réduit (PIX-7356). May 16, 2023
@Thomasevano Thomasevano force-pushed the pix-7356-change-mobile-locale-switcher-design branch from 879b79c to 46de58c Compare May 17, 2023 09:15
components/LocaleSwitcher/LocaleSwitcher.vue Outdated Show resolved Hide resolved
components/LocaleSwitcher/LocaleSwitcher.vue Outdated Show resolved Hide resolved
components/LocaleSwitcher/LocaleSwitcher.vue Outdated Show resolved Hide resolved
@Thomasevano Thomasevano force-pushed the pix-7356-change-mobile-locale-switcher-design branch from 46de58c to 576f8b6 Compare May 17, 2023 12:13
@Thomasevano Thomasevano force-pushed the pix-7356-change-mobile-locale-switcher-design branch 3 times, most recently from b5e26c6 to a9be156 Compare May 17, 2023 15:05
@Thomasevano Thomasevano force-pushed the pix-7356-change-mobile-locale-switcher-design branch from a9be156 to 07b67c5 Compare May 17, 2023 15:39
@er-lim
Copy link
Contributor

er-lim commented May 19, 2023

Tests fonctionnels sur Chrome & Safari ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants