Skip to content

Conversation

@Amank1412
Copy link
Contributor

This pull request fixes issue #2023 by equalizing the size of the "Status Filter" and "Import Cluster" buttons in the user management interface. The size difference caused misalignment and inconsistency in the UI.

Fixes: #2023

@kubestellar-prow
Copy link

Hi @Amank1412. Thanks for your PR.

I'm waiting for a kubestellar member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Copy link
Contributor

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 pull request fixes UI inconsistency by equalizing the sizes of the "Status Filter" and "Import Cluster" buttons to improve visual alignment in the user management interface.

  • Updated button styling to match dimensions between filter and import buttons
  • Added hover effects for better user interaction feedback
  • Adjusted padding, height, and border radius for consistent appearance

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
frontend/src/components/its/ClustersTable/components/TableHeader.tsx Modified Import Cluster button styling to match Status Filter button dimensions
frontend/src/components/admin/UserManagement.tsx Added hover state management and border effects for filter and refresh buttons

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

color: themeStyles.colors.text.secondary,
border: `1px solid ${
isRefreshHovered
? (isDark ? 'rgba(59, 130, 246, 0.35)' : 'rgba(59, 130, 246, 0.2)')
Copy link

Copilot AI Sep 30, 2025

Choose a reason for hiding this comment

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

The hover border colors for the refresh button use different opacity values (0.35 vs 0.4 for dark mode) compared to the filter button. Consider using consistent opacity values across both buttons for visual consistency.

Suggested change
? (isDark ? 'rgba(59, 130, 246, 0.35)' : 'rgba(59, 130, 246, 0.2)')
? (isDark ? 'rgba(59, 130, 246, 0.3)' : 'rgba(59, 130, 246, 0.2)')

Copilot uses AI. Check for mistakes.
@Amank1412 Amank1412 marked this pull request as draft September 30, 2025 19:02
@Amank1412 Amank1412 closed this Sep 30, 2025
@github-project-automation github-project-automation bot moved this from In Progress to Done in KubeStellar UI Project Sep 30, 2025
@Amank1412 Amank1412 reopened this Sep 30, 2025
@github-project-automation github-project-automation bot moved this from Done to In Progress in KubeStellar UI Project Sep 30, 2025
@Amank1412 Amank1412 marked this pull request as ready for review September 30, 2025 19:06
@Amank1412 Amank1412 force-pushed the fix/button-size-alignment branch from d6dc0a4 to 617745e Compare September 30, 2025 19:09
@kubestellar-prow kubestellar-prow bot added size/XS and removed size/S labels Sep 30, 2025
@Amank1412 Amank1412 requested a review from Copilot September 30, 2025 19:09
Copy link
Contributor

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

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


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Arpit529Srivastava
Copy link
Member

/ok-to-test

@naman9271
Copy link
Member

/lgtm
/approve

@kubestellar-prow
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: naman9271
Once this PR has been reviewed and has the lgtm label, please assign clubanderson for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubestellar-prow
Copy link

LGTM label has been added.

Git tree hash: 8defa5e7c5b050393b871707437b2c298775bee7

@ngvanthanggit
Copy link
Member

@Amank1412 you should add a screenshot of the change so that the moderator can see the result.

@kubestellar-prow kubestellar-prow bot removed the lgtm label Oct 8, 2025
@kubestellar-prow kubestellar-prow bot requested a review from naman9271 October 8, 2025 14:37
@kubestellar-prow
Copy link

New changes are detected. LGTM label has been removed.

@Arpit529Srivastava
Copy link
Member

@Amank1412 are you going to complete this PR?

@onkar717
Copy link
Contributor

@Amank1412 Please Fix failing and update the branch with the latest changes !

@kubestellar-prow kubestellar-prow bot added size/S and removed size/XS labels Oct 17, 2025
@Amank1412
Copy link
Contributor Author

Before:
image

After:
image

@Amank1412
Copy link
Contributor Author

Amank1412 commented Oct 17, 2025

/retest

@Amank1412 Amank1412 force-pushed the fix/button-size-alignment branch from 83580d8 to 037d1a1 Compare October 17, 2025 19:24
@Amank1412
Copy link
Contributor Author

Sorry for delay actually i was sick
@onkar717 @btwshivam please take a look

@Amank1412
Copy link
Contributor Author

image prettier is working fine locally

@Arpit529Srivastava
Copy link
Member

@Amank1412 check in this file
src/components/marketplace/FeaturedPlugins.tsx

@onkar717
Copy link
Contributor

@Amank1412 please fix failing ?

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

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

Status Filter and Import Cluster Buttons Are Not Equal in Size

5 participants