Skip to content

feat: adds login UI component foundations following atomic design system - #409

Open
Redtigercod4 wants to merge 15 commits into
pulp:mainfrom
Redtigercod4:feat/login-ui
Open

Redtigercod4 wants to merge 15 commits into
pulp:mainfrom
Redtigercod4:feat/login-ui

Conversation

@Redtigercod4

@Redtigercod4 Redtigercod4 commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Lays the foundations for the new login UI, setting up storybook to accurately work on the components. It follows the atomic design pattern with atoms, molecules, organisms and templates. This approach should reduce the amount of duplication in future plugin implementations. It also adds the configuration setup ready for component testing with React Testing Library. All new implementations are separate from legacy approaches.

Screenshots

  1. Language Selector
image
  1. System Icon
image
  1. Text Field
image
  1. Theme Toggle
image

Changes

  1. Added a new storybook configuration for rendering components.
  2. Added component testing configuration with vitest, happy-dom & RTL.
  3. Added missing tests for login field testing against the codec.
  4. Added a new component TextField with error validation.
  5. Added a new component StatusIndicator with three distinct states.
  6. Added a new component LanguageSelector with independent context with lingui.
  7. Added a new component ThemeToggle with independent context for dark, light and system;
  8. Added testing for all new components and context within lib.
  9. Designed components to follow atomic design pattern.
  10. Adds new component testing workflow into the github actions pipeline.

Note: Most of this diff in the PR is from package-lock.json changes from the new packages.

Out of Scope

  1. The login Page, follow up in separate PR.

Blockers

N/A

Linked Issues & Epics

N/A

AI Assistance

Consulted Claude (Sonnet 5.5) throughout for architecture decisions, debugging, bug identification and design verification against PenPot designs.

Sources

  1. https://vitest.dev/
  2. https://www.npmjs.com/package/happy-dom
  3. https://storybook.js.org/
  4. https://reactarchitecture.org/architecture/atomic-design/

@Redtigercod4 Redtigercod4 self-assigned this Nov 22, 2026
@Redtigercod4 Redtigercod4 added enhancement New feature or request javascript Pull requests that update Javascript code v3 labels Nov 22, 2026
@Redtigercod4 Redtigercod4 added this to the 0.1.29 milestone Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request javascript Pull requests that update Javascript code v3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant