Thanks to visit codestin.com
Credit goes to github.com

Skip to content

refactor: replace MUI button on TopbarButton #16212

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

Merged
merged 4 commits into from
Jan 22, 2025

Conversation

BrunoQuaresma
Copy link
Collaborator

Related to #14978

@BrunoQuaresma BrunoQuaresma self-assigned this Jan 21, 2025
@jaaydenh
Copy link
Contributor

@BrunoQuaresma did the appearance of the UI change at all because of these changes? if so it could be useful to see some screenshots.

@BrunoQuaresma
Copy link
Collaborator Author

@BrunoQuaresma did the appearance of the UI change at all because of these changes? if so it could be useful to see some screenshots.

Yes, they changed slightly. It would be better for you to review them in Chromatic: Chromatic Link.

onClick={() => handleAction()}
data-testid="workspace-stop-button"
>
<CircleStopIcon />
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you link to the Figma designs you are referencing for these changes? I see a the square stop icon being used instead of the circle stop icon.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

There aren’t any design references; I’m simply replacing the MUI buttons and keeping design changes minimal. Waiting for designs for every page or component with buttons could take years to complete.

Regarding the icon, I switched to CircleStopIcon for consistency since we use CirclePlayIcon for the start action. However, if you feel this change is too disruptive, I can revert it and restore the old square icon.

Copy link
Contributor

Choose a reason for hiding this comment

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

I just feel like its harder to see the circle icons compared to without the circles but we can always get christin's opinion at some point

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Let’s defer to the design master @chrifro for their expert opinion 😆

Copy link
Contributor

@jaaydenh jaaydenh left a comment

Choose a reason for hiding this comment

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

LGTM

@BrunoQuaresma
Copy link
Collaborator Author

@chrifro @jaaydenh I'm merging this, but I can hotfix the stop icon later if we decide to change it 👍.

@BrunoQuaresma BrunoQuaresma merged commit 6cbc44b into main Jan 22, 2025
31 checks passed
@BrunoQuaresma BrunoQuaresma deleted the bq/refactor-topbar-buttons branch January 22, 2025 13:14
@github-actions github-actions bot locked and limited conversation to collaborators Jan 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants