Skip to content

Conversation

@ViaSocket-Git
Copy link
Contributor

No description provided.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 201 to +219
<div className={`py-8 ${combosData?.combinations?.length > 0 && 'dotted-background'}`}>
<div className="container flex flex-col gap-16">
<div className="flex flex-col gap-8">
{combosData?.combinations?.length > 0 ? (
{(pairCombosData ? pairCombosData?.combinations?.length > 0 : combosData?.combinations?.length > 0) ? (
<>
<p className="h2">{`Ready to use ${appOneDetails?.name} automations`}</p>
<div className="cont gap-3 mb-6">
{selectedAppSlug ? (
<p className="text-sm text-gray-600">Showing automations for {appOneDetails?.name} + {combosData?.plugins?.[selectedAppSlug]?.name || selectedAppSlug}</p>
) : (
<label className="text-sm text-gray-600">Search an app to pair with {appOneDetails?.name}</label>
)}

Choose a reason for hiding this comment

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

P1 Badge Preserve pair search UI when no combinations exist

When a user selects an app that returns zero pairwise automations, pairCombosData becomes defined but pairCombosData.combinations.length is 0. The condition then falls through to the fallback branch, which hides the entire automation section—including the new search input and clear button—so the user cannot change the selection without reloading. The search UI should remain visible and display an empty-state message instead of removing the whole section.

Useful? React with 👍 / 👎.

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