Skip to content

fix(ENG-11471): remove divider for single category#53

Merged
adefreitas merged 2 commits intoStackOneHQ:mainfrom
adefreitas:ENG-11471/remove-divider-for-single-category
Nov 24, 2025
Merged

fix(ENG-11471): remove divider for single category#53
adefreitas merged 2 commits intoStackOneHQ:mainfrom
adefreitas:ENG-11471/remove-divider-for-single-category

Conversation

@adefreitas
Copy link
Copy Markdown
Collaborator

@adefreitas adefreitas commented Nov 24, 2025

Before

Screenshot 2025-11-24 at 15 36 12

After

Screenshot 2025-11-24 at 15 35 43

Summary by cubic

Only render the divider and category filter pills when there are multiple categories. This fixes ENG-11471 by removing the extra divider when the category filter is hidden.

Written for commit fc638f6. Summary will update automatically on new commits.

Copy link
Copy Markdown
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 PR fixes a UI issue where a divider and category filter section were displayed even when only one category was available. The change conditionally renders these elements only when there are multiple categories to filter.

  • Wraps the divider and category filter UI in a conditional block that checks if availableCategories.length > 1
  • Removes unnecessary rendering of the filter UI when it serves no purpose (single category scenario)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/modules/integration-picker/components/IntegrationList.tsx Outdated
Copy link
Copy Markdown
Contributor

@joeStackOne joeStackOne left a comment

Choose a reason for hiding this comment

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

LGTM

@adefreitas adefreitas merged commit b3e1186 into StackOneHQ:main Nov 24, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants