Skip to content

feat: add a new Tinybird pipe to serve activity types by project [IN-511]#3489

Merged
borfast merged 1 commit into
mainfrom
feat/in-511-provide-new-endpoint-with-available-activity-types
Oct 14, 2025
Merged

feat: add a new Tinybird pipe to serve activity types by project [IN-511]#3489
borfast merged 1 commit into
mainfrom
feat/in-511-provide-new-endpoint-with-available-activity-types

Conversation

@borfast
Copy link
Copy Markdown
Contributor

@borfast borfast commented Oct 10, 2025

The activity type dropdown in some widgets of the Insights frontend currently shows every single activity type for every project, regardless of whether that project contains all those activity types.

We want to change this so that only activity types that exist for the given project are shown - i.e. if a project has no github issues, this activity type should not be displayed in the dropdown as a filtering option.

For that end, we want to have a pipe in Tinybird that, given a project and optionally some repositories, returns those activity types.

This PR creates this pipe. It needs #3488 to be merged first.

Jira ticket

Copy link
Copy Markdown
Collaborator

@epipav epipav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let’s monitor and test (before deploying the actual thing) the performance of this pipe closely since it impacts every page and processes the entire data segment at runtime.

If we notice any performance degradation, we should consider switching to a materialized view or a copy pipe.

Base automatically changed from feat/in-761-add-label-to-activityTypes to main October 10, 2025 16:11
@borfast borfast force-pushed the feat/in-511-provide-new-endpoint-with-available-activity-types branch 2 times, most recently from b00b345 to 30f41b1 Compare October 10, 2025 22:18
@borfast borfast force-pushed the feat/in-511-provide-new-endpoint-with-available-activity-types branch from 30f41b1 to 0f9c355 Compare October 13, 2025 08:34
Signed-off-by: Raúl Santos <4837+borfast@users.noreply.github.com>
@borfast borfast force-pushed the feat/in-511-provide-new-endpoint-with-available-activity-types branch from 0f9c355 to 55180d5 Compare October 13, 2025 08:35
@borfast borfast merged commit c236f49 into main Oct 14, 2025
15 checks passed
@borfast borfast deleted the feat/in-511-provide-new-endpoint-with-available-activity-types branch October 14, 2025 15:11
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.

3 participants