Skip to content

Conversation

keellyp
Copy link
Collaborator

@keellyp keellyp commented Jun 18, 2025

Context

Migrate to design-system package.
Tested locally but haven't tested on the qa app yet.

@keellyp keellyp self-assigned this Jun 18, 2025
@keellyp keellyp requested a review from Copilot June 18, 2025 14:58
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR migrates the usage of the Icon component from the old design system to the new icons provided by the lago-design-system package.

  • Updated imports across many files to remove Icon references from '~/components/designSystem' and import from 'lago-design-system' instead.
  • Removed redundant export and mapping files for Icon from the design system.
  • Streamlined Icon usage in components such as Wallets, Settings, Customers, Forms, and Analytics to achieve consistency.

Reviewed Changes

Copilot reviewed 104 out of 104 changed files in this pull request and generated no comments.

File Description
Multiple files Updated Icon imports to use the new lago-design-system source instead of the legacy design system.
src/components/designSystem/index.ts Removed re-export of Icon, reflecting the overall migration.
src/components/designSystem/Icon/mapping.tsx Entire mapping file removed as the new Icon component is now provided directly.

Copy link
Collaborator

@ansmonjol ansmonjol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small linter issue, otherwise all good!

@keellyp keellyp force-pushed the design-system/icons branch from 2c69a34 to d88f335 Compare June 23, 2025 12:20
@keellyp keellyp merged commit 5ee87ed into main Jun 23, 2025
4 checks passed
@keellyp keellyp deleted the design-system/icons branch June 23, 2025 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants