Skip to content

Remove unused default value for polygon points#3293

Open
benchristel wants to merge 1 commit intomainfrom
benc/remove-default-coords
Open

Remove unused default value for polygon points#3293
benchristel wants to merge 1 commit intomainfrom
benc/remove-default-coords

Conversation

@benchristel
Copy link
Copy Markdown
Member

Summary:

This fixes a TODO comment. coords can't be null or undefined here.

Issue: none

Test plan:

CI checks should pass.

@github-actions
Copy link
Copy Markdown
Contributor

🗄️ Schema Change: No Changes ✅

@github-actions
Copy link
Copy Markdown
Contributor

Size Change: -9 B (0%)

Total Size: 485 kB

Filename Size Change
packages/perseus/dist/es/index.js 187 kB -9 B (0%)
ℹ️ 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.96 kB
packages/math-input/dist/es/index.js 98.5 kB
packages/math-input/dist/es/strings.js 1.61 kB
packages/perseus-core/dist/es/index.item-splitting.js 11.8 kB
packages/perseus-core/dist/es/index.js 24.9 kB
packages/perseus-editor/dist/es/index.js 99.4 kB
packages/perseus-linter/dist/es/index.js 8.83 kB
packages/perseus-score/dist/es/index.js 9.26 kB
packages/perseus-utils/dist/es/index.js 403 B
packages/perseus/dist/es/strings.js 7.49 kB
packages/pure-markdown/dist/es/index.js 1.39 kB
packages/simple-markdown/dist/es/index.js 6.71 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 (d1a49ed) and published it to npm. You
can install it using the tag PR3293.

Example:

pnpm add @khanacademy/perseus@PR3293

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

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

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

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

Copy link
Copy Markdown
Member

@catandthemachines catandthemachines left a comment

Choose a reason for hiding this comment

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

The code looks good, but I would like to request that when you roll this out to double check our error logs on the interactive graph for a day or two after. There were some weird edge case for polygons that could produce odd states that can break the polygon, and I can't remember if this was to prevent one. 🤔

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