You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(content): filter selects show the raw value instead of the label after selecting #364
On the Content Optimization page (/dashboard/content), the filter dropdowns — Status, Impact, and Type — show the raw value (e.g. in_progress, high, owned) instead of the human-readable label (e.g. "In Progress", "High", "Owned") once an option is selected. The label shows correctly inside the open dropdown, but the closed trigger falls back to the value.
This is the same class of bug already fixed on the Citations page's competitor selector (#328 / #344).
<Selectvalue={statusFilter}onValueChange={(v)=>v&&setStatusFilter(v)}><SelectTriggerclassName="h-8 w-[130px] text-xs"><SelectValue/>{/* ← shows the raw value, e.g. "in_progress" */}</SelectTrigger><SelectContent><SelectItemvalue="all">{t('filters.allStatuses')}</SelectItem><SelectItemvalue="new">{t('status.new')}</SelectItem>
...
The Impact and Type selects have the same <SelectValue /> (values high/medium/low and owned/earned).
Proposed change
Give each <SelectValue> a render function that maps the selected value to its label — the same pattern the Citations page already uses for its Topics/Platforms selects (see citations/page.tsx, where <SelectValue placeholder="…">{(value) => …}</SelectValue>).
For each filter, map the value to the same t(...) label used by the SelectItem, e.g.:
Thanks @Sam-syntax35 — assigned to you (you've already got PR #368 open for it). The select fix itself looks great; it just needs the stray web/diff.txt removed per the review, then it's good to merge. 🙌
Activity
Sam-syntax35 commentedon Jul 7, 2026
i really read all the documentation ! and so far i am enjoying contributing on this project. could you please assign this to me
gkhngyk commentedon Jul 7, 2026
Thanks @Sam-syntax35 — assigned to you (you've already got PR #368 open for it). The select fix itself looks great; it just needs the stray
web/diff.txtremoved per the review, then it's good to merge. 🙌