Skip to content

Conversation

@PirvuCatalin
Copy link

I didn't check the rules for contributing, but I will :/
This solves #2977

@vercel
Copy link

vercel bot commented May 12, 2025

@PirvuCatalin is attempting to deploy a commit to the umami-software Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

This PR adds filtering capabilities to the events page, implementing custom event filtering functionality that was previously available before the Events redesign.

  • Added FilterTags component in /events/EventsPage.tsx to display and manage active filters with editable filter tags
  • Implemented filter parameter extraction from URL query using FILTER_COLUMNS constant in EventsPage.tsx
  • Added WebsiteFilterButton to EventsMetricsBar.tsx with conditional rendering based on showFilter prop
  • Enhanced SQL queries in getWebsiteEvents.ts to support filtering by adding filter conditions to both relational and clickhouse queries

💡 (1/5) You can manually trigger the bot by mentioning @greptileai in a comment!

2 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile

import EventProperties from './EventProperties';
import { FILTER_COLUMNS } from '@/lib/constants';

export default function EventsPage({ websiteId }) {
Copy link
Contributor

Choose a reason for hiding this comment

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

style: Missing TypeScript type for websiteId prop

Suggested change
export default function EventsPage({ websiteId }) {
export default function EventsPage({ websiteId }: { websiteId: string }) {
@PirvuCatalin
Copy link
Author

fyi @mikecao

@kas-elvirov
Copy link

Hope it will be soon released

@PirvuCatalin
Copy link
Author

fyi @mikecao I've just solved merge issues for this
Just so you know this fixes #2977 with no impact on other functionalities and little code 😄

@julrich
Copy link

julrich commented Sep 3, 2025

Would also love to see this merged! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants