Skip to content

[Phase 3] Connect UI Components to Backend API Endpoints #179

@halsk

Description

@halsk

Description

Implement backend API endpoints for team-based channel analysis and connect frontend components to these endpoints.

Prerequisites

  • Phase 1 and 2 issues should be completed

Tasks

  • Implement backend API endpoints:
    • Endpoint for selecting channels for analysis
    • Endpoint for running analysis on selected channels
    • Endpoint for retrieving analysis results
  • Update integrationService.ts with methods to call these endpoints
  • Connect TeamChannelSelector to channel selection endpoint
  • Connect TeamChannelAnalysisPage to analysis endpoints
  • Add proper error handling and response parsing
  • Implement team context validation in backend

References

  • Based on strategy document in PR Add Channel Analysis UI Strategy Document #171
  • Example endpoints from strategy:
    POST /api/v1/integrations/{integrationId}/resources/channels/select
    POST /api/v1/integrations/{integrationId}/resources/channels/{channelId}/analyze
    GET /api/v1/integrations/{integrationId}/resources/channels/{channelId}/analysis/{analysisId}
    

Acceptance Criteria

  • Backend endpoints are properly implemented with team scoping
  • Frontend components successfully communicate with backend
  • Data is properly formatted in requests and responses
  • Error handling covers common failure scenarios
  • Team context is maintained throughout the API calls

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions