Skip to content

feat(app): display loc information in WarningPanel - #66

Merged
kompiro merged 3 commits into
mainfrom
feat/warning-loc-display
Mar 26, 2026
Merged

kompiro merged 3 commits into
mainfrom
feat/warning-loc-display

Conversation

@kompiro

@kompiro kompiro commented Mar 26, 2026 •

Copy link
Copy Markdown
Owner

Summary

Warning.loc was populated but never displayed in WarningPanel. When loc is present, the warning message is now prefixed with Line N:, consistent with how Diagnostic items show location in the diagnostic banner.

Changes

  • WarningPanel.tsx: display Line N: <message> when w.loc is present, otherwise show <message> as before
  • WarningPanel.test.tsx: add two test cases for loc present / absent (8 tests total)
  • docs/acceptance/0014-warning-loc-display.md: new acceptance test

Manual Verification

  • A warning without loc displays without a Line: prefix (AT-0014)
  • A warning with loc displays as Line N: <message> (AT-0014)

Closes #61

kompiro and others added 3 commits March 26, 2026 14:52
When Warning.loc is present, prefix the message with "Line N:" to show
where in the source the warning originates, consistent with how
Diagnostic items display location in the diagnostic banner.

Closes #61

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@kompiro
kompiro merged commit 334630a into main Mar 26, 2026
1 check passed
@kompiro
kompiro deleted the feat/warning-loc-display branch March 26, 2026 15:05
kompiro added a commit that referenced this pull request Aug 7, 2026
ADR-2390 covers Dependabot alert #66 (GHSA-5p4m-2wfm-xmqj, high, transitive,
dev scope). The interesting part is that we already had a js-yaml@4 override
and its floor was the vulnerable version itself, so five packages resolved to
4.3.0 despite the pin. Records why the floor moved to ^4.3.1, why the @4
scope stays, and what was rejected (unscoped key, dismiss, waiting upstream).

Refs #2390

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(app): display loc information in WarningPanel

1 participant