-
Notifications
You must be signed in to change notification settings - Fork 5.7k
feat: add events page filters #3418
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
base: master
Are you sure you want to change the base?
feat: add events page filters #3418
Conversation
|
@PirvuCatalin is attempting to deploy a commit to the umami-software Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this 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
FilterTagscomponent in/events/EventsPage.tsxto display and manage active filters with editable filter tags - Implemented filter parameter extraction from URL query using
FILTER_COLUMNSconstant inEventsPage.tsx - Added
WebsiteFilterButtontoEventsMetricsBar.tsxwith conditional rendering based onshowFilterprop - Enhanced SQL queries in
getWebsiteEvents.tsto 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 }) { |
There was a problem hiding this comment.
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
| export default function EventsPage({ websiteId }) { | |
| export default function EventsPage({ websiteId }: { websiteId: string }) { |
|
fyi @mikecao |
|
Hope it will be soon released |
|
Would also love to see this merged! :) |
I didn't check the rules for contributing, but I will :/
This solves #2977