Skip to content

Testing altinn-components changes

Shared UI changes belong in altinn-components, and the place to build and review them is its Storybook. When you also need to see a change inside Arbeidsflate before it is published, install it as a packed tarball and run the frontend against mock data.

Section titled “Recommended: tarball and pnpm dev with mock data”
  • The tarball is exactly what would be published: the build output, the files list, the types and the CSS. It catches problems Storybook does not, such as missing exports or type changes that break Arbeidsflate.
  • pnpm dev in packages/frontend with ?mock=true needs no login, BFF or Docker, and the mock datasets cover most UI states.