Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: backend of slack context provider integration #3300

Draft
wants to merge 25 commits into
base: main
Choose a base branch
from

Conversation

Sma1lboy
Copy link
Collaborator

@Sma1lboy Sma1lboy commented Oct 21, 2024

This is PR for integrate with Slack

Implemented:

GraphQL

  • Mutation
    • create_slack_workspace
    • delete_slack_workspace_integration
  • Query
    • slack_workspaces
    • slack_channels

SlackIntegrationJob

  • Starting indexing channels chosen by user.
  • it will indexing message with replies
  • indexing useful message and it could response similar question base on previous messages histories

Also
DAO for Slack
Service for Slack

didn't finish writing,
still working rn

image

Next step

  • testing
  • integration test
  • maybe frontend implementation

Copy link

codecov bot commented Oct 26, 2024

Codecov Report

Attention: Patch coverage is 25.66038% with 591 lines in your changes missing coverage. Please review.

Project coverage is 62.20%. Comparing base (096dd20) to head (e9db858).
Report is 12 commits behind head on main.

Files with missing lines Patch % Lines
...bserver/src/service/background_job/slack/client.rs 25.71% 208 Missing ⚠️
...abby-webserver/src/service/background_job/slack.rs 25.00% 147 Missing ⚠️
ee/tabby-webserver/src/service/slack_workspaces.rs 0.00% 111 Missing ⚠️
ee/tabby-db/src/slack_workspaces.rs 64.84% 45 Missing ⚠️
ee/tabby-schema/src/schema/mod.rs 0.00% 44 Missing ⚠️
ee/tabby-schema/src/schema/slack_workspaces.rs 0.00% 18 Missing ⚠️
ee/tabby-webserver/src/service/mod.rs 0.00% 8 Missing ⚠️
.../tabby-webserver/src/service/background_job/mod.rs 0.00% 7 Missing ⚠️
ee/tabby-webserver/src/webserver.rs 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3300      +/-   ##
==========================================
- Coverage   63.63%   62.20%   -1.44%     
==========================================
  Files         187      192       +5     
  Lines       20813    21627     +814     
==========================================
+ Hits        13245    13452     +207     
- Misses       7568     8175     +607     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

1 participant