Skip to content

refactor: replace badge by status indicator #17811

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 2 commits into from
May 14, 2025

Conversation

BrunoQuaresma
Copy link
Collaborator

@BrunoQuaresma BrunoQuaresma commented May 13, 2025

Why?
In the workspaces page, it is using the status indicator, and not the badge anymore, so to keep the UI consistent, I'm replacing the badge by the indicator in the workspace page too.

Before:
Screenshot 2025-05-13 at 19 14 17

After:
Screenshot 2025-05-13 at 19 14 21

@BrunoQuaresma BrunoQuaresma requested review from a team, Kira-Pilot and aslilac and removed request for a team and Kira-Pilot May 13, 2025 22:26
gap: 8,
}}
>
<div className="flex items-center gap-4">
Copy link
Member

Choose a reason for hiding this comment

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

curious: why is it better than css property?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Because we are moving away from MUI and emotion to use shadcn and TailwindCSS. So we want to be consistent and only use the new stack.

Copy link
Member

@mtojek mtojek May 14, 2025

Choose a reason for hiding this comment

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

Thanks for the explanation, TIL!

@BrunoQuaresma BrunoQuaresma merged commit fcbdd1a into main May 14, 2025
34 checks passed
@BrunoQuaresma BrunoQuaresma deleted the bq/replace-badge-by-indicator branch May 14, 2025 12:11
@github-actions github-actions bot locked and limited conversation to collaborators May 14, 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