Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
8f4886c
feat: implement dependent project breakdown
tdgao Jun 14, 2026
e6d1480
implement dependent project type filter
tdgao Jun 14, 2026
b273115
feat: show dependent on column if there are multiple projects selected
tdgao Jun 14, 2026
29f7b87
feat: different tooltip for when both project version and dependent b…
tdgao Jun 15, 2026
cb9936d
feat: implement dependents query filter
tdgao Jun 17, 2026
19ee41a
feat: add project icon to query filter
tdgao Jun 17, 2026
f037911
fix: dont show dependent on column when project breakdown is selected
tdgao Jun 17, 2026
806adc5
feat: add org icon
tdgao Jun 17, 2026
e370d36
remove: dependent on project column and project version project column
tdgao Jun 18, 2026
9f04d1d
refactor: pnpm prepr
tdgao Jun 18, 2026
29ee5d5
fix: all project selection gets unselected when reload page
tdgao Jun 18, 2026
bd8235e
Merge branch 'main' into truman/analytics-dependents-breakdown-filter
tdgao Jun 18, 2026
60fa3bf
pnpm prepr
tdgao Jun 19, 2026
946ac11
fix: still using old search formatter
tdgao Jun 19, 2026
ba58aa3
feat: implement projects in table click to link to project page
tdgao Jun 19, 2026
2d02275
feat: handle analytics values that dont have a dependent project as a…
tdgao Jun 19, 2026
fb5b87f
pnpm prepr
tdgao Jun 19, 2026
d307947
feat: remove org icon for dependents projects and change unknown label
tdgao Jun 19, 2026
e557e39
feat: do not include unknown rows for showing top 8
tdgao Jun 19, 2026
8e7f11c
feat: separate out no dependents based on download reason
tdgao Jun 19, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
class="inline-flex items-center"
>
<button
v-tooltip="legendEntry.projectName ?? ''"
v-tooltip="legendEntry.tooltip ?? legendEntry.projectName ?? ''"
type="button"
class="inline-flex items-center gap-1.5 px-2 py-0.5 text-sm !outline-0 transition-all focus-within:!outline-0 focus:!outline-0 focus-visible:!outline-0"
:class="[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export function useAnalyticsChartLegend({
id: dataset.projectId,
name: dataset.label,
projectName: dataset.projectName,
tooltip: dataset.tooltip,
color: dataset.borderColor,
totalValue: getChartDatasetTotal(dataset),
hidden: hiddenDatasetIds.value.has(dataset.projectId),
Expand Down Expand Up @@ -118,6 +119,7 @@ export function useAnalyticsChartLegend({
id: getPreviousPeriodDatasetId(entry.id),
name: formatMessage(analyticsChartMessages.previousPeriodSuffix, { name: entry.name }),
projectName: entry.projectName,
tooltip: entry.tooltip,
color: entry.color,
totalValue: previousDataset ? getChartDatasetTotal(previousDataset) : 0,
hidden: hiddenDatasetIds.value.has(getPreviousPeriodDatasetId(entry.id)),
Expand Down Expand Up @@ -153,6 +155,7 @@ export function useAnalyticsChartLegend({
name: dataset.label,
}),
projectName: dataset.projectName,
tooltip: dataset.tooltip,
data: previousData,
borderColor: dataset.borderColor,
backgroundColor: dataset.backgroundColor,
Expand Down Expand Up @@ -296,7 +299,7 @@ export function useAnalyticsChartLegend({
}

function getLegendEntryTooltip(legendEntry: AnalyticsChartLegendEntry) {
return legendEntry.projectName ?? ''
return legendEntry.tooltip ?? legendEntry.projectName ?? ''
}

function isUnmonetizedLegendEntry(legendEntry: AnalyticsChartLegendEntry) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"
/>
<span
v-tooltip="entry.projectName ?? ''"
v-tooltip="entry.tooltip ?? entry.projectName ?? ''"
class="min-w-0 truncate"
:class="{
'line-through': entry.hidden,
Expand Down Expand Up @@ -145,6 +145,7 @@ export type AnalyticsChartTooltipEntry = {
projectId: string
name: string
projectName?: string
tooltip?: string
color: string
formattedValue: string
hidden: boolean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ const hoverEntries = computed(() => {
projectId: legendEntry.id,
name: legendEntry.name,
projectName: legendEntry.projectName,
tooltip: legendEntry.tooltip,
color: legendEntry.color,
formattedValue: props.isRatioMode
? `${ratioValue.toFixed(1)}%`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export type AnalyticsChartLegendEntry = {
id: string
name: string
projectName?: string
tooltip?: string
color: string
totalValue: number
hidden: boolean
Expand Down
Loading
Loading