Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename StartCoordSettings to StartCoordsSettings #1446

Merged
merged 4 commits into from
Jul 24, 2024

Conversation

nishasy
Copy link
Contributor

@nishasy nishasy commented Jul 24, 2024

Summary:

Nit: It should be StartCoordsSettings, not StartCoordSettings, because
the field is called startCoords.

Issue: none

Test plan:

yarn jest

Nit: It should be StartCoordsSettings, not StartCoordSettings, because
the field is called startCoords.

Issue: none

Test plan:
`yarn jest`
@nishasy nishasy self-assigned this Jul 24, 2024
Copy link
Contributor

github-actions bot commented Jul 24, 2024

Size Change: +1 B (0%)

Total Size: 854 kB

Filename Size Change
packages/perseus-editor/dist/es/index.js 273 kB +1 B (0%)
ℹ️ View Unchanged
Filename Size
packages/kas/dist/es/index.js 38.2 kB
packages/kmath/dist/es/index.js 4.27 kB
packages/math-input/dist/es/index.js 80.6 kB
packages/math-input/dist/es/strings.js 1.73 kB
packages/perseus-core/dist/es/index.js 1.48 kB
packages/perseus-linter/dist/es/index.js 21.6 kB
packages/perseus/dist/es/index.js 414 kB
packages/perseus/dist/es/strings.js 3.21 kB
packages/pure-markdown/dist/es/index.js 3.67 kB
packages/simple-markdown/dist/es/index.js 12.4 kB

compressed-size-action

@nishasy nishasy marked this pull request as ready for review July 24, 2024 22:43
@khan-actions-bot khan-actions-bot requested a review from a team July 24, 2024 22:43
@khan-actions-bot
Copy link
Contributor

khan-actions-bot commented Jul 24, 2024

Gerald

Required Reviewers
  • @Khan/perseus for changes to .changeset/empty-bottles-impress.md, packages/perseus-editor/src/components/start-coords-settings.tsx, packages/perseus-editor/src/widgets/interactive-graph-editor.tsx, packages/perseus-editor/src/components/__tests__/start-coords-settings.test.tsx

Don't want to be involved in this pull request? Comment #removeme and we won't notify you of further changes.

Copy link

codecov bot commented Jul 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.19%. Comparing base (c386515) to head (407d21b).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1446      +/-   ##
==========================================
+ Coverage   69.48%   70.19%   +0.71%     
==========================================
  Files         505      508       +3     
  Lines      105607   105645      +38     
  Branches     5372    10756    +5384     
==========================================
+ Hits        73379    74159     +780     
+ Misses      32112    31486     -626     
+ Partials      116        0     -116     

Impacted file tree graph

Files Coverage Δ
...us-editor/src/components/start-coords-settings.tsx 80.59% <100.00%> (ø)
...us-editor/src/widgets/interactive-graph-editor.tsx 89.62% <100.00%> (ø)

... and 131 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c386515...407d21b. Read the comment docs.

Copy link
Contributor

npm Snapshot: Published

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

Example:

yarn add @khanacademy/perseus@PR1446

If you are working in Khan Academy's webapp, you can run:

./dev/tools/bump_perseus_version.sh -t PR1446

Copy link
Collaborator

@jeremywiebe jeremywiebe left a comment

Choose a reason for hiding this comment

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

🤓 I very much appreciate the attention to detail!

Approved

@nishasy nishasy merged commit 4985d2d into main Jul 24, 2024
11 checks passed
@nishasy nishasy deleted the rename-start-coord-settings branch July 24, 2024 23:32
benchristel pushed a commit that referenced this pull request Jul 29, 2024
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.


# Releases
## @khanacademy/perseus@27.0.0

### Major Changes

-   [#1456](#1456) [`b868801fa`](b868801) Thanks [@benchristel](https://github.com/benchristel)! - Remove unused "Show ruler" option from the interactive graph editor. The
    new Mafs version of the interactive graph does not implement the ruler,
    and we have no plans to implement it, since it can't be made accessible
    and isn't used in Khan Academy's existing content.


-   [#1450](#1450) [`2216ad012`](2216ad0) Thanks [@handeyeco](https://github.com/handeyeco)! - Remove Unit aka UnitInput widget

### Minor Changes

-   [#1451](#1451) [`9bc4812fc`](9bc4812) Thanks [@mark-fitzgerald](https://github.com/mark-fitzgerald)! - Upgrade Mafs Dependency to v0.19.0 for Domain Restricted Functions


-   [#1441](#1441) [`9bc264ce1`](9bc264c) Thanks [@Myranae](https://github.com/Myranae)! - Turn off interactivity when Interactive Graph in hint mode


-   [#1437](#1437) [`7a448e77c`](7a448e7) Thanks [@Myranae](https://github.com/Myranae)! - Update Polygon to be filled on hover


-   [#1422](#1422) [`c386515ad`](c386515) Thanks [@nishasy](https://github.com/nishasy)! - [Interactive Graph Editor] Segment and Linear System graph start coords UI

### Patch Changes

-   [#1448](#1448) [`84675574c`](8467557) Thanks [@nishasy](https://github.com/nishasy)! - Cleaned up the `startCoords` code in the stateful mafs graph useEffect


-   [#1444](#1444) [`130ab9446`](130ab94) Thanks [@nicolecomputer](https://github.com/nicolecomputer)! - Throttles point-moving performance in polygon


-   [#1445](#1445) [`bb1ac584b`](bb1ac58) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - useDraggable - fix to ignore keyup events (we don't want to treat keyup events as an intent to move - we have keydown for that)

-   Updated dependencies \[[`7e71f8e8a`](7e71f8e)]:
    -   @khanacademy/math-input@20.0.2

## @khanacademy/perseus-editor@11.0.0

### Major Changes

-   [#1456](#1456) [`b868801fa`](b868801) Thanks [@benchristel](https://github.com/benchristel)! - Remove unused "Show ruler" option from the interactive graph editor. The
    new Mafs version of the interactive graph does not implement the ruler,
    and we have no plans to implement it, since it can't be made accessible
    and isn't used in Khan Academy's existing content.


-   [#1450](#1450) [`2216ad012`](2216ad0) Thanks [@handeyeco](https://github.com/handeyeco)! - Remove Unit aka UnitInput widget

### Minor Changes

-   [#1422](#1422) [`c386515ad`](c386515) Thanks [@nishasy](https://github.com/nishasy)! - [Interactive Graph Editor] Segment and Linear System graph start coords UI

### Patch Changes

-   [#1446](#1446) [`4985d2d4c`](4985d2d) Thanks [@nishasy](https://github.com/nishasy)! - Rename StartCoordSettings to StartCoordsSettings


-   [#1448](#1448) [`84675574c`](8467557) Thanks [@nishasy](https://github.com/nishasy)! - [Interactive Graph Editor] Refactor and clean up start coords UI implementation

-   Updated dependencies \[[`b868801fa`](b868801), [`84675574c`](8467557), [`7e71f8e8a`](7e71f8e), [`9bc4812fc`](9bc4812), [`130ab9446`](130ab94), [`9bc264ce1`](9bc264c), [`bb1ac584b`](bb1ac58), [`2216ad012`](2216ad0), [`7a448e77c`](7a448e7), [`c386515ad`](c386515)]:
    -   @khanacademy/perseus@27.0.0
    -   @khanacademy/math-input@20.0.2

## @khanacademy/math-input@20.0.2

### Patch Changes

-   [#1454](#1454) [`7e71f8e8a`](7e71f8e) Thanks [@Myranae](https://github.com/Myranae)! - Update mathjax-renderer version

## @khanacademy/perseus-dev-ui@2.0.2

### Patch Changes

-   Updated dependencies \[[`7e71f8e8a`](7e71f8e)]:
    -   @khanacademy/math-input@20.0.2

Author: khan-actions-bot

Reviewers: benchristel

Required Reviewers:

Approved By: benchristel

Checks: ✅ codecov/project, ✅ codecov/patch, ✅ Upload Coverage (ubuntu-latest, 20.x), ⏭️  Publish npm snapshot, ✅ Check builds for changes in size (ubuntu-latest, 20.x), ✅ Cypress (ubuntu-latest, 20.x), ✅ Jest Coverage (ubuntu-latest, 20.x), ✅ Check for .changeset entries for all changed files (ubuntu-latest, 20.x), ✅ Lint, Typecheck, Format, and Test (ubuntu-latest, 20.x), ✅ gerald

Pull Request URL: #1443
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.

3 participants