Skip to content

Remove string refs from matcher.tsx#3135

Closed
nishasy wants to merge 2 commits intoremove-string-refs-5from
remove-string-refs-6
Closed

Remove string refs from matcher.tsx#3135
nishasy wants to merge 2 commits intoremove-string-refs-5from
remove-string-refs-6

Conversation

@nishasy
Copy link
Copy Markdown
Contributor

@nishasy nishasy commented Dec 15, 2025

Summary:

One part of our modernization effort is removing string refs.

Doing that in matcher.tsx here.

Note: Most of this was written by Cursor/Claude Sonnet 4.5.

Issue: https://khanacademy.atlassian.net/browse/LEMS-369

Test plan:

pnpm jest

Storybook

  • Check the matcher widget in the editor demo
  • /?path=/story/editors-editorpage--demo

One part of our modernization effort is removing string refs.

Doing that in `matcher.tsx` here.

Note: Most of this was written by Cursor/Claude Sonnet 4.5.

Issue: https://khanacademy.atlassian.net/browse/LEMS-369

Test plan:
`pnpm jest`

Storybook

- Check the matcher widget in the editor demo
- /?path=/story/editors-editorpage--demo
@nishasy nishasy self-assigned this Dec 15, 2025
@nishasy nishasy marked this pull request as ready for review December 15, 2025 23:23
@github-actions
Copy link
Copy Markdown
Contributor

🗄️ Schema Change: No Changes ✅

@github-actions
Copy link
Copy Markdown
Contributor

Size Change: +27 B (+0.01%)

Total Size: 499 kB

Filename Size Change
packages/perseus/dist/es/index.js 200 kB +27 B (+0.01%)
ℹ️ View Unchanged
Filename Size
packages/kas/dist/es/index.js 20.8 kB
packages/keypad-context/dist/es/index.js 1 kB
packages/kmath/dist/es/index.js 5.98 kB
packages/math-input/dist/es/index.js 98.3 kB
packages/math-input/dist/es/strings.js 1.61 kB
packages/perseus-core/dist/es/index.item-splitting.js 13.1 kB
packages/perseus-core/dist/es/index.js 25.6 kB
packages/perseus-editor/dist/es/index.js 97.7 kB
packages/perseus-linter/dist/es/index.js 8.65 kB
packages/perseus-score/dist/es/index.js 9.3 kB
packages/perseus-utils/dist/es/index.js 403 B
packages/perseus/dist/es/strings.js 7.73 kB
packages/pure-markdown/dist/es/index.js 1.39 kB
packages/simple-markdown/dist/es/index.js 6.72 kB

compressed-size-action

@github-actions
Copy link
Copy Markdown
Contributor

🛠️ Item Splitting: No Changes ✅

@github-actions
Copy link
Copy Markdown
Contributor

npm Snapshot: Published

Good news!! We've packaged up the latest commit from this PR (b240167) and published it to npm. You
can install it using the tag PR3135.

Example:

pnpm add @khanacademy/perseus@PR3135

If you are working in Khan Academy's frontend, you can run the below command.

./dev/tools/bump_perseus_version.ts -t PR3135

If you are working in Khan Academy's webapp, you can run the below command.

./dev/tools/bump_perseus_version.js -t PR3135

@nishasy
Copy link
Copy Markdown
Contributor Author

nishasy commented Feb 11, 2026

Postponing this work

@nishasy nishasy closed this Feb 11, 2026
@nishasy nishasy deleted the remove-string-refs-6 branch February 11, 2026 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant