Repository navigation
feat(forms): open the field from an error summary entry - #272
Merged
Merged
Conversation
The error summary listed each error as plain text, so reading the
details of a failing field meant finding its row in the Fields table
by hand, often after clearing a filter that hid it.
Each entry is now a button named after what it does ("Show field
name: ..."). It switches to the Fields view, clears the path filter
and then the chips only when they hide the row, opens the field's
details like a row click, scrolls the row into view and moves focus
to the details heading.
Docs describe the behaviour, and panel tests cover the tab, the open
field, the cleared filter and chips, a filter that is kept, and focus.
The extension bundle is rebuilt.
🚀 Deploying Preview to Cloudflare 🚀Preview Deployments by commit
|
Contributor
Member
Author
|
The "Workers Builds: angular-devtools" check fails here the same way it fails on every open PR right now (#244 to #271 included), including PRs that do not touch the docs site. Its logs are only on the Cloudflare dashboard, so the cause can't be seen or fixed from this branch. The repo's own checks for this change (format, typecheck, panel tests, docs build, extension build, commit check) pass locally. Generated by Claude Code |
This was referenced Oct 10, 2026
…-links # Conflicts: # app/src/__tests__/forms-panels.test.ts # extension/ui/assets/browser-agent-rpc-BXhoSh1z-C_twCiPD.js # extension/ui/assets/browser-agent-rpc-BXhoSh1z-CkdxYjJF.js # extension/ui/assets/browser-agent-rpc-BXhoSh1z-D6F3uQZn.js # extension/ui/assets/index-8SY5CsLt.js # extension/ui/assets/index-BEfrZ0QX.js # extension/ui/assets/index-DbNGREg7.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
The Forms tab's Error summary listed each error as plain text. To read a failing field's details you had to find its row in the Fields table yourself, often after clearing a filter that hid it.
Each summary entry is now a button, named for what it does (for example "Show field name: Name is required required"). Activating it:
The inspectors/forms docs page describes the behaviour.
How it was verified
pnpm commit:check: 1 commit message OKpnpm format:check: all files use Prettier code stylepnpm typecheck: passes, no TS or NG errorspnpm test:panel: 29 files, 166 tests passed, including 2 new tests. The first sets a path filter, a Dirty chip and the Timeline tab, clicks an entry, and checks the Fields tab, the open field path, the cleared filter and chips, the pressed row and focus on the details heading. The second checks that a filter that already shows the field is kept.apps/docs/src/content/inspectors/forms.md) andpnpm docs:buildpassespnpm extension:build:extension/uirebuilt and committedscripts/panel-axe.mjson the installed Chromium 1194 (the pinned one used bypnpm test:axecould not launch): every panel tab and view clean in dark and light./examples/forms, Signal Forms signup), dark and light: summary open, entry used by keyboard (Enter) after setting a hiding filter and the Lint tab. Result: Fields tab selected, filter cleared, row pressed, focus on the details heading.Screenshots
None attached.
Notes for reviewers
armed,snapshotandfieldPathdeclarations and the "missing" note that fix: reset stale selections and armed actions when the inspected page changes #253 edits. It only addsshowField()aftercloseField()and an injector field, so merging with fix: reset stale selections and armed actions when the inspected page changes #253 should be simple.--accent-softrow tint sits behind it. It happens whenever an invalid field is opened, including by clicking its row. Left for a separate change.Generated by Claude Code
Summary by CodeRabbit