-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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: added insights badge to event-types #17762
base: main
Are you sure you want to change the base?
feat: added insights badge to event-types #17762
Conversation
PeerRich
commented
Nov 20, 2024
•
edited
Loading
edited
- query for total bookings, currently hard coded as 42
<li> | ||
<Link href={`/insights?isAll=false&filter=event-type&eventTypeId=${eventType.id}`}> | ||
<Badge variant="gray" startIcon="chart-bar"> | ||
<p>{t("event_type_insights", { numberOfBookings: 42 })} </p> |
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.
TODO: query needed for total bookings
@@ -128,6 +130,13 @@ export const EventTypeDescription = ({ | |||
</Badge> | |||
</li> | |||
) : null} | |||
<li> | |||
<Link href={`/insights?isAll=false&filter=event-type&eventTypeId=${eventType.id}`}> |
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.
@eunjae-lee @sean-brydon this is currently not working consistently because the URL-param are borked. that PR needs to go live first
Graphite Automations"Add consumer team as reviewer" took an action on this PR • (11/20/24)1 reviewer was added to this PR based on Keith Williams's automation. "Add community label" took an action on this PR • (11/20/24)1 label was added to this PR based on Keith Williams's automation. |
…ton-to-link-to-insights-1
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Skipped Deployments
|