Commit graph

5 commits

Author SHA1 Message Date
google-labs-jules[bot]
9fc5f6589b Fix: Correct API path for Slack channel discovery
Updated the frontend API call to use the correct path `/api/v1/slack/:connectorId/discover-channels` instead of the previous incorrect path.

This change ensures the frontend aligns with the backend routing structure for fetching Slack channels where the bot is a member.

Addresses a 404 error you reported when attempting to discover Slack channels.
2025-05-29 05:37:35 +00:00
google-labs-jules[bot]
9311e12c87 Fix: Use live API data for Slack channel discovery
Replaced mock data in the Slack connector's channel management UI with a real API call to the backend.

- Implemented `discoverSlackChannelsAPI` in the `useConnectorEditPage` hook to fetch channels from `/api/search-source-connectors/slack/:connectorId/discover-channels`.
- Updated the `handleDiscoverChannels` function in `EditConnectorPage` to use this new API function.
- Ensured consistent `SlackChannelInfo` type usage.

This fixes a bug where incorrect Slack channel names were displayed due to the UI using stale mock data instead of actual data reflecting the bot's true channel memberships.
2025-05-29 04:34:14 +00:00
DESKTOP-RTLN3BA\$punk
3675505eb1 feat: Added LinkUP Search Engine Connector 2025-04-27 15:53:33 -07:00
Adamsmith6300
32c721113c update edit connectors page to support linear connector 2025-04-16 22:06:50 -07:00
Adamsmith6300
53436370d6 refactor edit connector page for smaller file size 2025-04-16 21:25:29 -07:00