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

[Dev UI] Wrap flipbook navigation controls in Toolbar #1220

Merged
merged 3 commits into from
Apr 26, 2024

Conversation

jeremywiebe
Copy link
Collaborator

@jeremywiebe jeremywiebe commented Apr 25, 2024

Summary:

This little PR wraps the controls below the "Perseus JSON content" field of the Flipbook inside of a Toolbar. Subjective improvement? Maybe. :)

image

Issue: "none"

Test plan:

Run yarn dev and flip to the Flipbook 👀

@jeremywiebe jeremywiebe self-assigned this Apr 25, 2024
@jeremywiebe jeremywiebe marked this pull request as ready for review April 25, 2024 19:38
@jeremywiebe jeremywiebe requested a review from a team April 25, 2024 19:38
@khan-actions-bot
Copy link
Contributor

Gerald

Required Reviewers
  • @Khan/perseus for changes to yarn.lock, .changeset/empty-yaks-hope.md, dev/flipbook.tsx, dev/package.json

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

Copy link
Contributor

github-actions bot commented Apr 25, 2024

Size Change: -1 B (0%)

Total Size: 833 kB

Filename Size Change
packages/perseus/dist/es/index.js 398 kB -1 B (0%)
ℹ️ View Unchanged
Filename Size
packages/kas/dist/es/index.js 38.1 kB
packages/kmath/dist/es/index.js 4.27 kB
packages/math-input/dist/es/index.js 80.5 kB
packages/math-input/dist/es/strings.js 1.73 kB
packages/perseus-core/dist/es/index.js 908 B
packages/perseus-editor/dist/es/index.js 267 kB
packages/perseus-error/dist/es/index.js 878 B
packages/perseus-linter/dist/es/index.js 21.8 kB
packages/perseus/dist/es/strings.js 3.22 kB
packages/pure-markdown/dist/es/index.js 3.68 kB
packages/simple-markdown/dist/es/index.js 12.4 kB

compressed-size-action

Copy link

codecov bot commented Apr 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.04%. Comparing base (f0b5109) to head (d9c7466).
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1220      +/-   ##
==========================================
+ Coverage   68.27%   70.04%   +1.76%     
==========================================
  Files         466      472       +6     
  Lines      100600   100721     +121     
  Branches     7096    10791    +3695     
==========================================
+ Hits        68684    70546    +1862     
+ Misses      31801    30175    -1626     
+ Partials      115        0     -115     

Impacted file tree graph

see 127 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 f0b5109...d9c7466. Read the comment docs.

Copy link
Contributor

npm Snapshot: Published

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

Example:

yarn add @khanacademy/perseus@PR1220

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

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

@jeremywiebe jeremywiebe merged commit e3fd10f into main Apr 26, 2024
14 checks passed
@jeremywiebe jeremywiebe deleted the jer/dev-graphie-1 branch April 26, 2024 22:08
benchristel pushed a commit that referenced this pull request May 6, 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/math-input@18.1.0

### Minor Changes

-   [#1230](#1230) [`db041577d`](db04157) Thanks [@benchristel](https://github.com/benchristel)! - Get `@khanacademy/mathjax-renderer` from NPM, to allow third-party clients of Perseus to install it

### Patch Changes

-   [#1205](#1205) [`71e74ff64`](71e74ff) Thanks [@benchristel](https://github.com/benchristel)! - Internal: Fix storybook stories for keypad button

## @khanacademy/perseus@22.3.0

### Minor Changes

-   [#1210](#1210) [`2d3c3b49a`](2d3c3b4) Thanks [@nishasy](https://github.com/nishasy)! - Limit color set for locked figures in Interactive Graph

### Patch Changes

-   [#1231](#1231) [`4fae0155d`](4fae015) Thanks [@nishasy](https://github.com/nishasy)! - Adjust spacing in locked point and locked line settings


-   [#1232](#1232) [`cf1dc61b0`](cf1dc61) Thanks [@nishasy](https://github.com/nishasy)! - Refactor: separate LockedFigureSettingsAccordion component to reduce redundancy


-   [#1239](#1239) [`f757db589`](f757db5) Thanks [@benchristel](https://github.com/benchristel)! - Fix sizing of interactive graph axis labels on mobile

-   Updated dependencies \[[`71e74ff64`](71e74ff), [`db041577d`](db04157)]:
    -   @khanacademy/math-input@18.1.0

## @khanacademy/perseus-editor@6.2.0

### Minor Changes

-   [#1210](#1210) [`2d3c3b49a`](2d3c3b4) Thanks [@nishasy](https://github.com/nishasy)! - Limit color set for locked figures in Interactive Graph

### Patch Changes

-   [#1231](#1231) [`4fae0155d`](4fae015) Thanks [@nishasy](https://github.com/nishasy)! - Adjust spacing in locked point and locked line settings


-   [#1232](#1232) [`cf1dc61b0`](cf1dc61) Thanks [@nishasy](https://github.com/nishasy)! - Refactor: separate LockedFigureSettingsAccordion component to reduce redundancy

-   Updated dependencies \[[`2d3c3b49a`](2d3c3b4), [`4fae0155d`](4fae015), [`71e74ff64`](71e74ff), [`cf1dc61b0`](cf1dc61), [`db041577d`](db04157), [`f757db589`](f757db5)]:
    -   @khanacademy/perseus@22.3.0
    -   @khanacademy/math-input@18.1.0

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

### Patch Changes

-   [#1220](#1220) [`e3fd10f0e`](e3fd10f) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - ✨ Wrap the navigation controls of the Flipbook inside of a WB Toolbar

-   Updated dependencies \[[`71e74ff64`](71e74ff), [`db041577d`](db04157)]:
    -   @khanacademy/math-input@18.1.0

Author: khan-actions-bot

Reviewers: benchristel

Required Reviewers:

Approved By: benchristel

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

Pull Request URL: #1228
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants