mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-12 22:42:13 +02:00
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. |
||
|---|---|---|
| .. | ||
| index.ts | ||
| use-api-key.ts | ||
| use-connectors.ts | ||
| use-documents.ts | ||
| use-mobile.ts | ||
| use-search-spaces.ts | ||
| useConnectorEditPage.ts | ||
| useSearchSourceConnectors.test.ts | ||
| useSearchSourceConnectors.ts | ||