Skip to content

Instantly share code, notes, and snippets.

View ricovitch's full-sized avatar

Eric Hélier ricovitch

View GitHub Profile
@7studio
7studio / 0.post.md
Created September 15, 2022 07:22
Créer un tableau de status pour vos composants dans Storybook

⚠️ La totalité de cet article a été rédigé pour être mis en place avec @storybook/html en utilisant le format MDX.

Le contexte

Notre besoin était de visualiser les différents status (UI, HTML - Vanilla, A11Y, Doc, Framework) de l'ensemble de nos composants à l'aide d'un tableau récapitulatif.

La centralisation de l'information avait pour objectif d'offrir de l'autonomie aux personnes pour trouver et lire facilement les informations qu'ils recherchaient. Evitant ainsi les A/R entre Confluence, Figma et Storybook.

Le résultat attendu était le suivant :

/**
* ================== angular-ios9-uiwebview.patch.js v1.1.1 ==================
*
* This patch works around iOS9 UIWebView regression that causes infinite digest
* errors in Angular.
*
* The patch can be applied to Angular 1.2.0 – 1.4.5. Newer versions of Angular
* have the workaround baked in.
*
* To apply this patch load/bundle this file with your application and add a