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: promote data warehouse from taxonomic filter component #27364

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

joshsny
Copy link
Contributor

@joshsny joshsny commented Jan 8, 2025

Problem

When creating insights, or in other areas on the product, users are searching for data to filter/view using the TaxonomicFilter component, sometimes that data isn't available to them yet.

Changes

This PR creates an empty state for data warehouse categories that encourages the user to connect sources if they don't have any.

Screenshot 2025-01-08 at 16 52 57

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

Does this work well for both Cloud and self-hosted?

Yes

How did you test this code?

Tried out using the taxonomic filter component in a few areas around the product.

Copy link
Contributor

github-actions bot commented Jan 8, 2025

Size Change: 0 B

Total Size: 1.11 MB

ℹ️ View Unchanged
Filename Size
frontend/dist/toolbar.js 1.11 MB

compressed-size-action

type="primary"
icon={<IconPlus />}
to={action.to}
data-attr={`taxonomic-filter-empty-state-${groupType}-new-button`}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I used a data-attr so we can create an insight for this. From what I could see this is being used elsewhere.

@joshsny joshsny marked this pull request as ready for review January 8, 2025 17:01
@joshsny joshsny requested review from zlwaterfield and a team and removed request for zlwaterfield January 8, 2025 17:01
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