Skip to content

Add function to fetch active organizations in the last year#1630

Merged
skwowet merged 2 commits intomainfrom
improvement/org-enrichment
Oct 5, 2023
Merged

Add function to fetch active organizations in the last year#1630
skwowet merged 2 commits intomainfrom
improvement/org-enrichment

Conversation

@skwowet
Copy link
Collaborator

@skwowet skwowet commented Oct 5, 2023

Changes proposed ✍️

What

🤖 Generated by Copilot at 01d182f

This pull request adds a new method to organizationRepository.ts to query active organizations and updates organizationEnrichmentService.ts to use it as an optional filter. The purpose is to improve the efficiency and accuracy of the organization enrichment process by prioritizing the most relevant organizations.

🤖 Generated by Copilot at 01d182f

OrganizationRepository
Queries active ones
Enrichment service adapts

Why

How

🤖 Generated by Copilot at 01d182f

  • Add a new method to filter organizations by activity in the last year (link)
  • Use a conditional variable to switch between filtering methods based on verbosity level (link)

Checklist ✅

  • Label appropriately with Feature, Improvement, or Bug.
  • Add screehshots to the PR description for relevant FE changes
  • New backend functionality has been unit-tested.
  • API documentation has been updated (if necessary) (see docs on API documentation).
  • Quality standards are met.

@skwowet skwowet added the Improvement Created by Linear-GitHub Sync label Oct 5, 2023
@skwowet skwowet self-assigned this Oct 5, 2023
@skwowet skwowet requested a review from joanreyero October 5, 2023 11:27
@skwowet skwowet merged commit b0ec386 into main Oct 5, 2023
@skwowet skwowet deleted the improvement/org-enrichment branch October 5, 2023 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Improvement Created by Linear-GitHub Sync

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants