Skip to content

feat: DIA-2142: Use the new Button component in LSO apps and libraries #7359

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

Open
wants to merge 98 commits into
base: develop
Choose a base branch
from

Conversation

nick-skriabin
Copy link
Member

@nick-skriabin nick-skriabin commented Apr 10, 2025

This pull request focuses on one main area: refactoring the Button component to use a shared library. Changes in this PR spread across entire LSO - LSO React App, Data Manager and Editor. Be careful while reviewing.

Below is a summary of the most important changes:

Button Component Refactoring

  • Removed the custom Button component and its associated styles (Button.jsx and Button.scss) in favor of the shared @humansignal/ui library. This simplifies maintenance and ensures consistency across projects. [1] [2]

  • Updated all references to the old Button component across multiple files (e.g., Error.jsx, Form.jsx, HeidiTip.tsx, Modal.jsx, ModalPopup.jsx) to use the new Button from @humansignal/ui. Adjusted props and styles to match the new component's API. [1] [2] [3] [4] [5]

  • Removed the Button export from the index.js file, as it is no longer part of the local codebase.

@vladimirheartex
Copy link
Contributor

/fm sync

@nick-skriabin
Copy link
Member Author

nick-skriabin commented Apr 22, 2025

/docker build

Workflow run
Docker image was pushed with the tag 20250422.125810-fb-dia-2142-new-button-ls-81ab6f854

@nick-skriabin nick-skriabin force-pushed the fb-dia-2142/new-button-lso branch from 81ab6f8 to e7f7624 Compare April 22, 2025 13:47
@nick-skriabin
Copy link
Member Author

nick-skriabin commented Apr 22, 2025

/docker build

Workflow run
Docker image was pushed with the tag 20250422.195208-fb-dia-2142-new-button-ls-3d3d5eb7b

@MihajloHoma
Copy link
Contributor

MihajloHoma commented Apr 25, 2025

/docker build

Workflow run
Docker image was pushed with the tag 20250425.072853-fb-dia-2142-new-button-ls-2f922accc

@MihajloHoma
Copy link
Contributor

MihajloHoma commented Apr 30, 2025

/fm sync

Workflow run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants