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

Documentatie Button in Storybook #372

Open
7 tasks
AlineNap opened this issue Feb 5, 2025 · 0 comments
Open
7 tasks

Documentatie Button in Storybook #372

AlineNap opened this issue Feb 5, 2025 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@AlineNap
Copy link
Contributor

AlineNap commented Feb 5, 2025

Omschrijving

Als gebruiker wil ik de documentatie van de button component op de juiste plek kunnen raadplegen: designers via Figma en developers in Storybook. Daarom willen we de huidige Utrecht-documentatie in Storybook vervangen door de documentatie uit Figma. Dit moet op zo’n manier worden geïmplementeerd dat andere organisaties deze documentatie deels of geheel kunnen overnemen, zodat we dit terug kunnen leveren aan de NLDS community.

Een mogelijke oplossing is het gebruik van een JSON-bestand, waardoor we dezelfde documentatie zowel in Storybook als in Figma kunnen tonen en updaten. NLDS doet ook al zoiets om documentatie over te kunnen nemen, kunnen inspiratie opdoen uit hun oplossing.

In Storybook mag de documentatie uitgebreider zijn dan in Figma, door extra informatie over de technische implementatie, zoals props, voorbeelden van codegebruik en edge cases.

Definition of Ready (DoR)

  • Feedback van Kim is verwerkt in de documentatie.
  • De smalle button is toegevoegd aan de documentatie in Figma.

Acceptatiecriteria

  • De documentatie uit Figma is zichtbaar in Storybook.
  • De documentatie uit Utrecht is vervangen door de LUX-documentatie.
  • De documentatie is geplaatst bij zowel de Webcomponent en React component.
  • Er is een manier geïmplementeerd om de documentatie eenvoudig over te nemen door andere organisaties (bijvoorbeeld via een JSON-bestand).
  • Optioneel: Onderzoek of we dezelfde documentatie in zowel Storybook als Figma kunnen tonen via een gedeelde bron.

Referentie

@AlineNap AlineNap added the documentation Improvements or additions to documentation label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Status: No status
Development

No branches or pull requests

1 participant