B1: Hardcoded MAX_SERIES overrides user series_limit #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug
File:
web/components/ChartCard/seriesData.ts:3buildSeriesData()hardcodesMAX_SERIES = 80but chart editor allowsseries_limitup to 200. API returns the user-requested limit, then frontend silently truncates to 80.Impact
User configures 150 series → chart shows only 80. No warning.
Fix
Replace constant with a parameter from
config.series_limit.Code reference
API already respects user limit.
buildSeriesDataneeds to accept and use it.