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
Content: zero-result filters hide the filter bar, leaving no way to clear them #660
The Content list decides between empty state and content with opportunities.length === 0 — but opportunities is the server-filtered page. Select a filter combination that matches nothing (e.g. Status = dismissed on a brand with no dismissed rows) and the whole content branch — including the Card that holds the filter selects — unmounts. The filter value lives in React state, so the user is stuck: no controls on screen to undo their own filter without reloading the page. Worse, the empty state shown is the "No content opportunities yet" + Generate card, which is simply wrong — data exists, the filter just matched nothing.
An in-table "No opportunities match your filters." message already exists but is unreachable in this state: page.tsx#L703-L707
Fix
Distinguish "brand has no opportunities at all" (all filters at all, zero rows) from "filters matched nothing". In the second case keep the header and filter bar rendered and show a no-matches message with a Clear filters button.
Acceptance criteria
With active filters and zero matches, the filter bar stays visible and a clear-filters affordance is offered.
The "No content opportunities yet" + Generate card only appears when the brand truly has no opportunities.
Activity
fix(content): keep filters reachable on zero results, and allow delet…
fix(content): keep filters reachable on zero results, and allow delet…