Skip to content

Conversation

@nishasy
Copy link
Contributor

@nishasy nishasy commented Dec 16, 2025

Summary:

One part of our modernization effort is removing string refs.

Doing that in measurer.tsx, molecule.tsx, and sorter.tsx here.

Note: Some 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 measurer, molecule, and sorter widgets in the editor demo
  • /?path=/story/editors-editorpage--demo

….tsx, and sorter.tsx

One part of our modernization effort is removing string refs.

Doing that in measurer.tsx, molecule.tsx, and sorter.tsx here.

Note: Some 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 measurer, molecule, and sorter widgets in the editor demo
- `/?path=/story/editors-editorpage--demo`
@nishasy nishasy self-assigned this Dec 16, 2025
@nishasy nishasy marked this pull request as ready for review December 16, 2025 00:20
@github-actions
Copy link
Contributor

🗄️ Schema Change: No Changes ✅

@github-actions
Copy link
Contributor

🛠️ Item Splitting: No Changes ✅

@github-actions
Copy link
Contributor

Size Change: +25 B (+0.01%)

Total Size: 499 kB

Filename Size Change
packages/perseus/dist/es/index.js 200 kB +25 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
Contributor

npm Snapshot: Published

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

Example:

pnpm add @khanacademy/perseus@PR3139

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

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

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

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

Copy link
Contributor

@anakaren-rojas anakaren-rojas left a comment

Choose a reason for hiding this comment

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

LGTM

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.

3 participants