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

[BREAKING] Utiliser les composants MS au lieu de FontAwesome (PIX-14433) #731

Merged
merged 15 commits into from
Oct 11, 2024

Conversation

xav-car
Copy link
Contributor

@xav-car xav-car commented Sep 24, 2024

💥 BREAKING_CHANGES

Changement des signatures pour les composants permettant l'usage d'icone custom

iconPrefix => plainIcon
icon => iconName pour plus de cohérence entre les usages des composants.

PixToggle => simplification de l'usage seulement avec des yield <:on> <:off> , utilisation d'un useIcons params lorsqu'on introduit des icons dans les yields.

PixMessage => suppression du type alert deprecated depuis 3 ans

PixCollapsible prend seulement <:title> et non plus un @title

🎄 Problème

Nous utilisons encore les icon FA alors que nous avons notre composant PixIcon

🎁 Proposition

Utiliser PixIcon partout où FaIcon est utilisé

🌟 Remarques

  • migration FaIcon => PixIcon

Correction des Composants CSS

  • PixIconButton
  • PixBanner
  • PixReturnTo
  • PixMessage
  • PixLabel PixLabelWrapped
  • Pix*Select
  • PixInput*
  • PixIndicatorCard
  • PixCollapsible
  • PixToggle
  • PixButton
  • PixTooltip
  • PixPagination
  • PixModal
  • PixSidebar

🎅 Pour tester

Vérifier que les composants modifié ont les bon icônes

@pix-bot-github
Copy link

Une fois l'application déployée, elle sera accessible à cette adresse https://ui-pr731.review.pix.fr
Les variables d'environnement seront accessibles sur scalingo https://dashboard.scalingo.com/apps/osc-fr1/pix-ui-review-pr731/environment

@xav-car xav-car added the 🚧 Development in progress Work In Progress label Sep 24, 2024
@xav-car xav-car marked this pull request as draft September 24, 2024 12:37
@xav-car xav-car force-pushed the pix-14433/use-pix-icon-on-components branch 7 times, most recently from 99bee06 to a435431 Compare September 25, 2024 08:08
@xav-car xav-car added team-prescription cross-team Toutes les équipes de dev labels Sep 27, 2024
@xav-car xav-car force-pushed the pix-14433/use-pix-icon-on-components branch 15 times, most recently from b779db7 to 18cf99f Compare September 30, 2024 15:08
@xav-car xav-car added the ⚠️ BREAKING CHANGES ⚠️ indique que la PR va introduire des breaking changes et donc qu'une version majeure est nécéssaire label Sep 30, 2024
@xav-car xav-car force-pushed the pix-14433/use-pix-icon-on-components branch from bea378c to 794b26b Compare October 11, 2024 14:17
@pix-service-auto-merge pix-service-auto-merge merged commit 27b48f0 into dev Oct 11, 2024
17 checks passed
@pix-service-auto-merge pix-service-auto-merge deleted the pix-14433/use-pix-icon-on-components branch October 11, 2024 14:33
@xav-car xav-car changed the title [BREAKING][DESIGN] Utiliser les composants MS au lieu de FontAwesome (PIX-14433) [BREAKING] Utiliser les composants MS au lieu de FontAwesome (PIX-14433) Oct 14, 2024
@xav-car xav-car restored the pix-14433/use-pix-icon-on-components branch October 14, 2024 08:14
@xav-car xav-car deleted the pix-14433/use-pix-icon-on-components branch October 14, 2024 08:17
xav-car pushed a commit that referenced this pull request Oct 14, 2024
pix-service-auto-merge pushed a commit that referenced this pull request Oct 14, 2024
# [47.0.0](v46.15.2...v47.0.0) (2024-10-14)

### 💥 BREAKING CHANGE

- [#731](#731) Utiliser les composants MS au lieu de FontAwesome (PIX-14433)
@pix-service-auto-merge
Copy link
Contributor

🎉 This PR is included in version 47.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

7 participants