Repository navigation
fix(content): name the page type filtering the Plan's list while its section is closed - #1344
Merged
Merged
Conversation
…section is closed
A page-type filter picked in "What AI cites in your topics" stays on after
the section closes. Closed, a line under its bar now says "Priority list
filtered to {type}" with a Clear button, so the filter is never out of
sight. Nothing changes without a filter.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Collaborator
Author
4 of 12 tasks
gkhngyk
approved these changes
Oct 22, 2026
gkhngyk
left a comment
Contributor
There was a problem hiding this comment.
Looks good (reviewed b9123dc5). This closes the #1330 item:
- With the section closed and a type selected, the line names the type, and Clear resets the filter.
selectedis the filter that actually applies (page.tsx:139), so a period without that type shows no line.
It merges cleanly on main and with the #1321 and #1342 stacks.
Tested on top of the current main together with #1343, #1344, #1321, #1329, #1332, #1334 and #1342: web and server tests, tsc, lint and Prettier pass, and schema.sql matches a rebuild. 00229, 00234 and 00238 are applied on production.
This was referenced Oct 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up you asked for on #1330: a page-type filter picked in "What AI cites in your topics" stays on after the section is closed (
page.tsxkeepstypeFilter). While closed, nothing showed which type was filtering the list or offered a way to clear it.onSelect(null)).<button>(the whole bar opens the section), and a clear button can't nest inside it.contentEditor.plan.mix.filteredByandclearFilter.Web only.
Related issue
None. Follow-up from the #1330 review.
Type of change
feat— New featurefix— Bug fixchore— Maintenance / dependenciesdocs— Documentation onlyrefactor— Code change that neither fixes a bug nor adds a featuretest— Adding or updating testsHow to test
/dashboard/content/planand click Show on "What AI cites in your topics".Checked in light and dark, and at 1280 px.
Checklist
feature/,fix/,chore/,docs/) — see CONTRIBUTING.mdyarn lintpasses (run fromweb/)yarn typecheckpasses (run fromweb/)yarn format:checkpasses (run fromweb/)yarn test: 283 files, 2,497 tests pass.yarn buildpasses with CI's placeholders.🤖 Generated with Claude Code