Skip to content

Conversation

@nishasy
Copy link
Contributor

@nishasy nishasy commented Dec 12, 2025

Summary:

Just a trial of removing string refs from hints-renderer.tsx.

If this looks right, I'll update other instances of string refs to use this approach.

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

Test plan:

pnpm jest

Storybook
/?path=/docs/renderers-hints-renderer--docs

Just a trial of removing string refs from hints-renderer.tsx.

If this looks right, I'll update other instances of string refs to use this approach.

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

Test plan:
`pnpm jest`

Storybook
`/?path=/docs/renderers-hints-renderer--docs`
@nishasy nishasy self-assigned this Dec 12, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 12, 2025

🗄️ Schema Change: No Changes ✅

@github-actions
Copy link
Contributor

github-actions bot commented Dec 12, 2025

🛠️ Item Splitting: No Changes ✅

@github-actions
Copy link
Contributor

github-actions bot commented Dec 12, 2025

Size Change: +67 B (+0.01%)

Total Size: 498 kB

Filename Size Change
packages/perseus/dist/es/index.js 200 kB +67 B (+0.03%)
ℹ️ 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

@nishasy nishasy marked this pull request as ready for review December 12, 2025 23:10
@github-actions
Copy link
Contributor

npm Snapshot: Published

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

Example:

pnpm add @khanacademy/perseus@PR3125

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

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

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

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

linterContext: PerseusLinter.linterContextDefault,
};

// Store refs to HintRenderer components
Copy link
Contributor

Choose a reason for hiding this comment

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

Small suggestion to change to "why" versus "what"

Suggested change
// Store refs to HintRenderer components
// Refs needed to call focus() and getSerializedState() on individual hints

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