Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export const BrowseView = ({ isTrigger = false, onOperationClick }: BrowseViewPr
<ConnectorBrowse
categoryKey={selectedBrowseCategory.key}
connectorFilters={category.connectorFilters}
filters={{ actionType: isTrigger ? 'trigger' : 'action' }}
filters={{ actionType: isTrigger ? 'triggers' : 'actions' }}
Copy link

Copilot AI Apr 30, 2026

Choose a reason for hiding this comment

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

These string literals are part of a shared contract between BrowseView and ConnectorBrowse filtering. To prevent future regressions (e.g., singular/plural mismatches), strongly consider replacing the inline strings with a shared enum/union type or exported constants (e.g., ActionTypeFilter.Triggers / Actions) used by both the code that sets the filter and the code that interprets it.

Copilot uses AI. Check for mistakes.
displayRuntimeInfo={true}
onConnectorSelected={onConnectorSelected}
/>
Expand Down
Loading