mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-09-06 17:46:23 +00:00
feat(rankings): remove 'all' period option from rankings and related components
This commit is contained in:
@@ -31,7 +31,6 @@ const PERIOD_DESCRIPTIONS: Record<RankingPeriod, string> = {
|
||||
week: 'Token share by model author across the past few weeks',
|
||||
month: 'Token share by model author across the past month',
|
||||
year: 'Token share by model author across the past year',
|
||||
all: 'Token share by model author since launch',
|
||||
}
|
||||
|
||||
/** Stable colour palette for vendors, used in both the share chart and the
|
||||
|
||||
@@ -31,7 +31,6 @@ const PERIOD_DESCRIPTIONS: Record<RankingPeriod, string> = {
|
||||
week: 'Weekly token usage by model across the past few weeks',
|
||||
month: 'Daily token usage by model across the past month',
|
||||
year: 'Weekly token usage by model across the past year',
|
||||
all: 'Token usage by model since launch',
|
||||
}
|
||||
|
||||
const TOOLTIP_MAX_ROWS = 10
|
||||
|
||||
@@ -25,7 +25,6 @@ const PERIODS: { id: RankingPeriod; labelKey: string }[] = [
|
||||
{ id: 'week', labelKey: 'Week' },
|
||||
{ id: 'month', labelKey: 'Month' },
|
||||
{ id: 'year', labelKey: 'Year' },
|
||||
{ id: 'all', labelKey: 'All-time' },
|
||||
]
|
||||
|
||||
type RankingsHeroProps = {
|
||||
|
||||
Reference in New Issue
Block a user