Skip to content

chore(utils): Remove deprecated domId utility#108339

Merged
chromy merged 1 commit intomasterfrom
chromy/2026-03-17-debt-09
Feb 17, 2026
Merged

chore(utils): Remove deprecated domId utility#108339
chromy merged 1 commit intomasterfrom
chromy/2026-03-17-debt-09

Conversation

@chromy
Copy link
Contributor

@chromy chromy commented Feb 17, 2026

Summary

  • Remove the deprecated domId utility (static/app/utils/domId.tsx)
  • Inline the random ID generation at the two call sites:
    • replayReader.tsx (cache key)
    • dateRange.tsx (checkbox/label association)
  • Both callers are classes where React.useId cannot be used, so the logic is inlined

Test plan

  • Pre-commit hooks (eslint, prettier, stylelint) pass
  • No other references to domId exist in the codebase

Inline the random ID generation at the two call sites (both are classes
where React.useId cannot be used) and delete the utility file.
@chromy chromy requested a review from a team as a code owner February 17, 2026 12:04
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Feb 17, 2026
@chromy chromy merged commit 88684c1 into master Feb 17, 2026
62 checks passed
@chromy chromy deleted the chromy/2026-03-17-debt-09 branch February 17, 2026 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants