Skip to content

Conversation

@nishasy
Copy link
Contributor

@nishasy nishasy commented Nov 17, 2025

Summary:

The editor currently has the props in this order: Alt text, Long description, title, caption.

But they should actually be in DOM order: Title, Alt text, Long description, Caption

Making that change here.

Issue: none

Test plan:

Storybook
/?path=/story/widgets-image-editor-demo--populated

Before After
Screenshot 2025-11-17 at 2 32 42 PM Screenshot 2025-11-17 at 2 32 52 PM

…itor in DOM order

The editor currently has the props in this order: Alt text, Long description, title, caption.

But they should actually be in DOM order: Title, Alt text, Long description, Caption

Making that change here.

Issue: none

Test plan:
Storybook
`/?path=/story/widgets-image-editor-demo--populated`
@nishasy nishasy self-assigned this Nov 17, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 17, 2025

🗄️ Schema Change: No Changes ✅

@github-actions
Copy link
Contributor

github-actions bot commented Nov 17, 2025

Size Change: -3 B (0%)

Total Size: 498 kB

Filename Size Change
packages/perseus-editor/dist/es/index.js 97.2 kB -3 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.98 kB
packages/math-input/dist/es/index.js 99.2 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 22.4 kB
packages/perseus-linter/dist/es/index.js 7.21 kB
packages/perseus-score/dist/es/index.js 9.2 kB
packages/perseus-utils/dist/es/index.js 403 B
packages/perseus/dist/es/index.js 204 kB
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.71 kB

compressed-size-action

@github-actions
Copy link
Contributor

github-actions bot commented Nov 17, 2025

🛠️ Item Splitting: No Changes ✅

@nishasy nishasy requested review from a team, catandthemachines and ivyolamit November 17, 2025 22:33
@github-actions
Copy link
Contributor

npm Snapshot: Published

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

Example:

pnpm add @khanacademy/perseus@PR3040

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

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

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

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

@nishasy nishasy merged commit 9b50f4c into main Nov 17, 2025
17 of 19 checks passed
@nishasy nishasy deleted the image-editor-input-order branch November 17, 2025 22:48
mark-fitzgerald pushed a commit that referenced this pull request Nov 18, 2025
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/[email protected]

### Minor Changes

-   [#3032](#3032) [`9201e1887b`](9201e18) Thanks [@mark-fitzgerald](https://github.com/mark-fitzgerald)! - [Error Boundary] Add stack trace to error payload to aid in troubleshooting rendering errors

### Patch Changes

-   [#3045](#3045) [`099aeff249`](099aeff) Thanks [@mark-fitzgerald](https://github.com/mark-fitzgerald)! - [Error Boundary] Correct type for stack property in widget-rendering-error:ti

## @khanacademy/[email protected]

### Patch Changes

-   Updated dependencies \[[`9201e1887b`](9201e18), [`099aeff249`](099aeff)]:
    -   @khanacademy/[email protected]

## @khanacademy/[email protected]

### Patch Changes

-   Updated dependencies \[[`9201e1887b`](9201e18), [`099aeff249`](099aeff)]:
    -   @khanacademy/[email protected]

## @khanacademy/[email protected]

### Patch Changes

-   [#3046](#3046) [`b8e0ea16ff`](b8e0ea1) Thanks [@mark-fitzgerald](https://github.com/mark-fitzgerald)! - Sync dependencies with Frontend

-   Updated dependencies \[[`9201e1887b`](9201e18), [`099aeff249`](099aeff)]:
    -   @khanacademy/[email protected]
    -   @khanacademy/[email protected]

## @khanacademy/[email protected]

### Patch Changes

-   [#3032](#3032) [`9201e1887b`](9201e18) Thanks [@mark-fitzgerald](https://github.com/mark-fitzgerald)! - [Error Boundary] Add stack trace to error payload to aid in troubleshooting rendering errors


-   [#3046](#3046) [`b8e0ea16ff`](b8e0ea1) Thanks [@mark-fitzgerald](https://github.com/mark-fitzgerald)! - Sync dependencies with Frontend

-   Updated dependencies \[[`9201e1887b`](9201e18), [`b8e0ea16ff`](b8e0ea1), [`099aeff249`](099aeff)]:
    -   @khanacademy/[email protected]
    -   @khanacademy/[email protected]
    -   @khanacademy/[email protected]
    -   @khanacademy/[email protected]
    -   @khanacademy/[email protected]
    -   @khanacademy/[email protected]

## @khanacademy/[email protected]

### Patch Changes

-   [#3042](#3042) [`c9cfba3096`](c9cfba3) Thanks [@nishasy](https://github.com/nishasy)! - [Interactive Graph] Handle autogen aria label for open locked points


-   [#3046](#3046) [`b8e0ea16ff`](b8e0ea1) Thanks [@mark-fitzgerald](https://github.com/mark-fitzgerald)! - Sync dependencies with Frontend


-   [#3040](#3040) [`9b50f4c44c`](9b50f4c) Thanks [@nishasy](https://github.com/nishasy)! - [Image] | (CX) | Put Image props in the editor in DOM order

-   Updated dependencies \[[`9201e1887b`](9201e18), [`b8e0ea16ff`](b8e0ea1), [`099aeff249`](099aeff)]:
    -   @khanacademy/[email protected]
    -   @khanacademy/[email protected]
    -   @khanacademy/[email protected]
    -   @khanacademy/[email protected]
    -   @khanacademy/[email protected]
    -   @khanacademy/[email protected]
    -   @khanacademy/[email protected]

## @khanacademy/[email protected]

### Patch Changes

-   Updated dependencies \[[`9201e1887b`](9201e18), [`099aeff249`](099aeff)]:
    -   @khanacademy/[email protected]

## @khanacademy/[email protected]

### Patch Changes

-   Updated dependencies \[[`9201e1887b`](9201e18), [`099aeff249`](099aeff)]:
    -   @khanacademy/[email protected]
    -   @khanacademy/[email protected]

Author: khan-actions-bot

Reviewers: mark-fitzgerald

Required Reviewers:

Approved By: mark-fitzgerald

Checks: ⏭️  2 checks have been skipped, ✅ 6 checks were successful

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