Repository navigation
feat: add Octolens enums and mention activity type (CM-1834) - #4889
Conversation
Signed-off-by: Uroš Marolt <uros@marolt.me>
PR SummaryLow Risk Overview Introduces a shared Reviewed by Cursor Bugbot for commit 3e0b196. Bugbot is set up for automated code reviews on this repo. Configure here. |
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The enum, scoring, and activity-setting changes are complete and consistent with existing Twitter mention behavior.
Review effort: Balanced
Findings: None
What changed in this PR
Adds foundational Octolens platform/integration types and shared mention activities.
Changes:
- Adds Octolens enums, label, and profile fallback.
- Adds scored GitHub and LinkedIn mention activities.
- Adds default display and sentiment settings.
| File | Description |
|---|---|
services/libs/types/src/enums/platforms.ts |
Adds Octolens platform and integration types. |
services/libs/integrations/src/integrations/linkedin/types.ts |
Adds LinkedIn mention type. |
services/libs/integrations/src/integrations/linkedin/grid.ts |
Scores LinkedIn mentions. |
services/libs/integrations/src/integrations/github/types.ts |
Adds GitHub mention type. |
services/libs/integrations/src/integrations/github/grid.ts |
Scores GitHub mentions. |
services/libs/integrations/src/integrations/activityTypes.ts |
Configures mention display and sentiment behavior. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Summary
Foundational types for Octolens ingestion: connector-level platform enum and the shared
mentionactivity type across github/twitter/linkedin.Changes
PlatformType.OCTOLENS,IntegrationType.OCTOLENSmentionactivity type for GitHub and LinkedIn (Twitter already has it)Type of change
JIRA ticket
https://linuxfoundation.atlassian.net/browse/CM-1834