Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 @@ -87,7 +87,7 @@ const {
startDate, endDate, selectedRepository, selectedTimeRangeKey, customRangeGranularity
} = storeToRefs(useProjectStore())

const activeTab = ref('cumulative');
const activeTab = ref('new');
const route = useRoute();

const barGranularity = computed(() => (selectedTimeRangeKey.value === dateOptKeys.custom
Expand Down Expand Up @@ -126,8 +126,8 @@ const chartData = computed<ChartData[]>(
const isEmpty = computed(() => isEmptyData(chartData.value as unknown as Record<string, unknown>[]));

const tabs = [
{ label: 'New', value: 'new' },
{ label: 'Cumulative', value: 'cumulative' },
{ label: 'New', value: 'new' }
];

const chartSeries = computed<ChartSeries[]>(() => [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const {
customRangeGranularity
} = storeToRefs(useProjectStore())

const activeTab = ref('cumulative');
const activeTab = ref('new-mentions');
const route = useRoute();
const keyword = computed(() => project.value?.name);

Expand Down Expand Up @@ -130,8 +130,8 @@ const chartData = computed<ChartData[]>(
const isEmpty = computed(() => isEmptyData(chartData.value as unknown as Record<string, unknown>[]));

const tabs = [
{ label: 'New Mentions', value: 'new-mentions' },
{ label: 'Cumulative', value: 'cumulative' },
{ label: 'New Mentions', value: 'new-mentions' }
];

const chartSeries = computed<ChartSeries[]>(() => [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const {
customRangeGranularity
} = storeToRefs(useProjectStore())

const activeTab = ref('cumulative');
const activeTab = ref('new-downloads');
const route = useRoute();

const barGranularity = computed(() => (selectedTimeRangeKey.value === dateOptKeys.custom
Expand Down Expand Up @@ -122,8 +122,8 @@ const chartData = computed<ChartData[]>(
const isEmpty = computed(() => isEmptyData(chartData.value as unknown as Record<string, unknown>[]));

const tabs = [
{ label: 'New Downloads', value: 'new-downloads' },
{ label: 'Cumulative', value: 'cumulative' },
{ label: 'New Downloads', value: 'new-downloads' }
];

const chartSeries = computed<ChartSeries[]>(() => [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const {
} = storeToRefs(useProjectStore())
const keyword = computed(() => project.value?.name);

const activeTab = ref('cumulative');
const activeTab = ref('new-mentions');
const route = useRoute();

const barGranularity = computed(() => (selectedTimeRangeKey.value === dateOptKeys.custom
Expand Down Expand Up @@ -155,8 +155,8 @@ const chartData = computed<ChartData[]>(
const isEmpty = computed(() => isEmptyData(chartData.value as unknown as Record<string, unknown>[]));

const tabs = [
{ label: 'New mentions by platform', value: 'new-mentions' },
{ label: 'Mentions by platform', value: 'cumulative' },
{ label: 'New mentions by platform', value: 'new-mentions' }
];

const chartSeries = computed<ChartSeries[]>(() => [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const {
startDate, endDate, selectedRepository, selectedTimeRangeKey, customRangeGranularity
} = storeToRefs(useProjectStore())

const activeTab = ref('cumulative');
const activeTab = ref('new');
const route = useRoute();

const barGranularity = computed(() => (selectedTimeRangeKey.value === dateOptKeys.custom
Expand Down Expand Up @@ -126,8 +126,8 @@ const chartData = computed<ChartData[]>(
const isEmpty = computed(() => isEmptyData(chartData.value as unknown as Record<string, unknown>[]));

const tabs = [
{ label: 'New', value: 'new' },
{ label: 'Cumulative', value: 'cumulative' },
{ label: 'New', value: 'new' }
];

const chartSeries = computed<ChartSeries[]>(() => [
Expand Down