Repository navigation
fix(signals): reset a stale kind filter and forget picks of closed pages - #291
Merged
Merged
Conversation
A kind chosen on one graph stayed active after picking a component that has no node of that kind. The chips only list kinds in the current graph, so the list said "No signals match" with no pressed chip and no visible cause. The kind filter is now a linkedSignal on the graph owner: it keeps the choice when the new graph has that kind and goes back to All otherwise. An active kind with no matches in the same graph still renders as a pressed chip with a count of 0. pickedByPage only grew. It now drops the entries of pages that leave the signal graph state, so a long session does not keep picks for closed tabs.
🚀 Deploying Preview to Cloudflare 🚀Preview Deployments by commit
|
Contributor
…-reset # Conflicts: # app/src/pages/signal-inspector.ts # extension/ui/assets/browser-agent-rpc-BXhoSh1z-CFmADKyK.js # extension/ui/assets/browser-agent-rpc-BXhoSh1z-CQUbrXfP.js # extension/ui/assets/browser-agent-rpc-BXhoSh1z-vUsF80GK.js # extension/ui/assets/index-CgvJVwtz.js # extension/ui/assets/index-DhT-nDqh.js # extension/ui/assets/index-RHlVGXjX.js # extension/ui/index.html
The merge with main changed the panel, so the committed bundle is rebuilt to match.
…-reset # Conflicts: # extension/ui/assets/browser-agent-rpc-BXhoSh1z-CFmADKyK.js # extension/ui/assets/browser-agent-rpc-BXhoSh1z-WN-bdD9U.js # extension/ui/assets/browser-agent-rpc-BXhoSh1z-m2f3iI1o.js # extension/ui/assets/index-ArURljXw.js # extension/ui/assets/index-DXC3boOi.js # extension/ui/assets/index-RHlVGXjX.js # extension/ui/index.html
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.
What and why
pickedByPageonly grew over a session. It now drops entries for pages that leave the signal graph state.How it was verified
pnpm format:checkpnpm typecheckpnpm test:panel(246 passed; 4 new tests, 3 fail without the fix)pnpm test:devtools(1508 passed)pnpm docs:buildpnpm extension:buildand committedextension/uipnpm commit:checkScreenshots
None attached.
Notes for reviewers
app/src/pages/signal-inspector.ts(Escape and clear focus). This change stays in thekindsignal, the chip loop andnotePageGone, so any conflict should be small.Summary by CodeRabbit