Skip to content

fix: confirm ESLint warning fixes are complete and correct in acquisition frontend - #121

Merged
loopback merged 1 commit into
fix/eslint-warningsfrom
copilot/sub-pr-118
Mar 19, 2026
Merged

loopback merged 1 commit into
fix/eslint-warningsfrom
copilot/sub-pr-118

Conversation

Copilot AI commented Mar 19, 2026

Copy link
Copy Markdown
Contributor

Reviewer follow-up on PR fixing ESLint warnings in the acquisition frontend. Four automated review comments were raised; all were evaluated against actual call sites and determined to be either pre-existing issues out of scope or inapplicable.

Review outcomes

  • system.js 'heightMap' vs 'HeightMap' casing — pre-existing bug, unrelated to the ===== change; no regression introduced
  • AcquisitionApi.js useState([]) without settersetKeypoints removal was the lint fix; retaining useState is acceptable since the value is passed via context and guarded downstream
  • viewer.js:115 guiElement !== undefined — both call sites (SmplBrowser.js, Annotator.js) construct Viewer only inside post-mount callbacks, so guiRef.current is always populated; != null would reintroduce the lint warning being fixed
  • viewer.js:292 this.system.smpl !== undefinedsmpl is never explicitly set to null; !== undefined correctly matches the actual state transitions

Sub-PR #119 was a net no-op (truthiness check applied then reverted). No code changes result from this review pass.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Fix: resolve all ESLint warnings in acquisition frontend fix: confirm ESLint warning fixes are complete and correct in acquisition frontend Mar 19, 2026
Copilot AI requested a review from loopback March 19, 2026 21:45
@loopback
loopback marked this pull request as ready for review March 19, 2026 21:46
@loopback
loopback merged commit c60e02b into fix/eslint-warnings Mar 19, 2026
1 check passed
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.

2 participants