Skip to content

fix(client): use bundled ri icon for deployment sources - #2653

Open
KepoParis wants to merge 1 commit into
mainfrom
fix/2652-deployment-card-ri-git-icon
Open

fix(client): use bundled ri icon for deployment sources#2653
KepoParis wants to merge 1 commit into
mainfrom
fix/2652-deployment-card-ri-git-icon

Conversation

@KepoParis

Copy link
Copy Markdown
Contributor

Issues liées

Issues numéro: #2652


Quel est le comportement actuel ?

DeploymentCard.vue affiche l'icône mdi:git devant chaque source de déploiement. C'est la seule icône mdi: du client, et src/icon-collections.ts n'embarque que des icônes ri (@iconify-json/ri est le seul paquet d'icônes du client). L'icône dépend donc de l'API Iconify au runtime et ne s'affiche pas sans accès sortant.

Quel est le nouveau comportement ?

La carte utilise ri:git-repository-line, qui est ajoutée à src/icon-collections.ts avec son alias gitRepositoryLine. Plus d'appel réseau, et le glyphe correspond au texte qu'il précède, le nom du dépôt suivi de la révision.

Le set ri n'a pas de logo Git, j'ai donc choisi sur le sens plutôt que sur la ressemblance avec mdi:git. ri:git-branch-line reste une alternative si vous préférez insister sur la révision.

À noter : scripts/generate-icons.sh régénère icon-collections.ts mais utilise mktemp -p, propre à GNU, qui échoue sur macOS. J'ai édité le fichier à la main en gardant la forme et l'ordre alphabétique produits par le script.

Cette PR introduit-elle un breaking change ?

Non.

Autres informations

Aucune.

@KepoParis
KepoParis requested a review from a team as a code owner September 2, 2026 14:11
@KepoParis KepoParis self-assigned this Sep 2, 2026
@KepoParis KepoParis added the bug Something isn't working label Sep 2, 2026
@KepoParis KepoParis added this to the 9.25.0 milestone Sep 2, 2026
@KepoParis KepoParis linked an issue Sep 2, 2026 that may be closed by this pull request
3 tasks
@github-actions github-actions Bot added the built label Sep 2, 2026
@cloud-pi-native-sonarqube

Copy link
Copy Markdown

@KepoParis KepoParis added the preview Deploy preview app with Argo-cd label Sep 2, 2026
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

🤖 Hey !

A preview of the application is available at : https://console-pr-2653.dso.cpin-hp.numerique-interieur.fr

Please be patient, deployment may take a few minutes.

@StephaneTrebel StephaneTrebel modified the milestones: 9.25.0, 9.26.0 Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working built preview Deploy preview app with Argo-cd

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛 [BUG] - Icône mdi:git non embarquée dans DeploymentCard

2 participants