Skip to content

refactor: replace MUI button on TopbarButton#16212

Merged
BrunoQuaresma merged 4 commits intomainfrom
bq/refactor-topbar-buttons
Jan 22, 2025
Merged

refactor: replace MUI button on TopbarButton#16212
BrunoQuaresma merged 4 commits intomainfrom
bq/refactor-topbar-buttons

Conversation

@BrunoQuaresma
Copy link
Copy Markdown
Contributor

Related to #14978

@BrunoQuaresma BrunoQuaresma self-assigned this Jan 21, 2025
@jaaydenh
Copy link
Copy Markdown
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
Copy Markdown
Contributor 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
Copy Markdown
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
Copy Markdown
Contributor 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
Copy Markdown
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
Copy Markdown
Contributor 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
Copy Markdown
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
Copy Markdown
Contributor 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
@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