Skip to content

chore(ui-utils): remove unused hash utility#2540

Open
HerrTopi wants to merge 142 commits into
masterfrom
remove-hash-util
Open

chore(ui-utils): remove unused hash utility#2540
HerrTopi wants to merge 142 commits into
masterfrom
remove-hash-util

Conversation

@HerrTopi
Copy link
Copy Markdown
Contributor

@HerrTopi HerrTopi commented May 5, 2026

Summary

  • hash() exported from @instructure/ui-utils has no internal callers — the only importer in the repo is its own test
  • Remove packages/ui-utils/src/hash.ts, its test, the re-export from src/index.ts, and the json-stable-stringify dependency that existed solely to back it

Test plan

  • pnpm install resolves cleanly
  • pnpm run build:types succeeds
  • pnpm run test:vitest ui-utils passes
  • Full pnpm run test:vitest passes

joyenjoyer and others added 30 commits December 17, 2025 13:03
For now it only parses V1 components. It also does not parse components that use the new structure
and there are several CSS errors
INSTUI-4789

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
…ustom/brand icon components and migration codemod
GitHub Pages only supports a single 404.html at the repo root. When
navigating to sub-routes in PR previews (e.g. /pr-preview/pr-123/Button),
the root 404.html was serving the production app instead of the PR
preview build.

A redirect script in index.html detects PR preview paths and redirects
to the PR preview's index.html with the route encoded as a query
parameter. The app entry point restores the original clean URL via
history.replaceState before rendering.
matyasf and others added 24 commits April 29, 2026 10:30
The v2 Text component uses the 'primary' color by default, v1 none (inherit). Add an 'inherit' value
to v2 Text, so previous behaviour can be emulated
…Webpack 4 support

We have removed lots of smaller Babel plugins. In theory these were just doing transforms that are
used by old browsers and all features should be supported.
make the internal webpack config much more simple

Completes INSTUI-4831
The hash() function exported from @instructure/ui-utils has no
internal callers — only its own test imports it. Drop the module,
its test, the export from the package index, and the
json-stable-stringify dependency that existed solely to support it.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 5, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://instructure.design/pr-preview/pr-2540/

Built to branch gh-pages at 2026-05-05 15:51 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@HerrTopi HerrTopi self-assigned this May 5, 2026
@matyasf matyasf self-requested a review May 6, 2026 07:37
export { cloneArray } from './cloneArray'
export { createChainedFunction } from './createChainedFunction'
export { deepEqual } from './deepEqual'
export { hash } from './hash'
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might be used by others, please do not remove it!

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.

7 participants