Skip to content

fix(deps): upgrade @portabletext/editor to 6.6.3#12754

Open
christianhg wants to merge 1 commit intomainfrom
fix/bump-portabletext-editor-6.6.3
Open

fix(deps): upgrade @portabletext/editor to 6.6.3#12754
christianhg wants to merge 1 commit intomainfrom
fix/bump-portabletext-editor-6.6.3

Conversation

@christianhg
Copy link
Copy Markdown
Member

@christianhg christianhg commented Apr 29, 2026

Description

Upgrades @portabletext/editor from ^6.6.2 to ^6.6.3 in packages/sanity and dev/test-studio.

This picks up a fix for a drag-and-drop bug where dropping a block could occasionally delete the wrong block and duplicate the new one.

What to review

Dependency version bump only. No code changes.

Testing

The fix is tested upstream in portabletext/editor. No additional tests needed here.

Notes for release

Fixes a drag-and-drop bug in the Portable Text input where dropping a block could occasionally delete the wrong block and duplicate the dropped one.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
page-building-studio Ready Ready Preview, Comment Apr 29, 2026 8:43am
test-studio Ready Ready Preview, Comment Apr 29, 2026 8:43am

Request Review

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 29, 2026

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 29, 2026

📦 Bundle Stats — sanity

Compared against main (21a31ef8) · v5.22.0 (npm)

sanity

Metric Value vs main (21a31ef) vs v5.22.0
Internal (raw) 4.45 MB - +18.3 KB, +0.4%
Internal (gzip) 1.02 MB - +4.2 KB, +0.4%
Import time ❌ node:internal/modules/esm/get_format:185 - -

bin:sanity

Metric Value vs main (21a31ef) vs v5.22.0
Internal (raw) 7.1 KB - -
Internal (gzip) 2.9 KB - -
Bundled (raw) 7.1 KB - -
Bundled (gzip) 2.8 KB - -
Import time 5ms +0ms, +0.9% +0ms, +6.2%
Details
  • Import time regressions over 10% are flagged with ⚠️
  • Sizes shown as raw / gzip 🗜️. Internal bytes = own code only. Total bytes = with all dependencies. Import time = Node.js cold-start median.

@christianhg christianhg changed the title fix: upgrade @portabletext/editor to 6.6.3 fix(deps): upgrade @portabletext/editor to 6.6.3 Apr 29, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 29, 2026

📚 TypeDoc Generation Result

TypeDoc generated successfully!

  • File size: 8.2M
  • Total exports: 1066
  • Artifact: sanity-typedoc-70d06320875937928ad5ccc156093c19a9e3e8e0

The TypeDoc JSON file has been generated and validated. All documentation scripts completed successfully.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 29, 2026

⚡️ Editor Performance Report

Updated Wed, 29 Apr 2026 08:44:20 GMT

Benchmark reference
latency of sanity@latest
experiment
latency of this branch
Δ (%)
latency difference
arrayI18n (simple-en) 80.0 efps (13ms) 80.0 efps (13ms) +0ms (-/-%)
article (title) 51.3 efps (20ms) 52.6 efps (19ms) -1ms (-2.6%)
article (body) 53.2 efps (19ms) 59.5 efps (17ms) -2ms (-10.6%)
article (string inside object) 58.8 efps (17ms) 58.8 efps (17ms) +0ms (-/-%)
article (string inside array) 62.5 efps (16ms) 62.5 efps (16ms) +0ms (-/-%)
recipe (name) 99.9+ efps (10ms) 99.9+ efps (10ms) +0ms (-/-%)
recipe (description) 52.6 efps (19ms) 55.6 efps (18ms) -1ms (-5.3%)
recipe (instructions) 99.9+ efps (6ms) 99.9+ efps (5ms) -1ms (-/-%)
singleString (stringField) 99.9+ efps (7ms) 99.9+ efps (7ms) +0ms (-/-%)
synthetic (title) 60.6 efps (17ms) 58.8 efps (17ms) +1ms (+3.0%)
synthetic (string inside object) 71.4 efps (14ms) 66.7 efps (15ms) +1ms (-/-%)

efps — editor "frames per second". The number of updates assumed to be possible within a second.

Derived from input latency. efps = 1000 / input_latency

Detailed information

🏠 Reference result

The performance result of sanity@latest

Benchmark latency p75 p90 p99 blocking time test duration
arrayI18n (simple-en) 13ms 15ms 22ms 37ms 0ms 5.4s
article (title) 20ms 22ms 26ms 52ms 44ms 7.3s
article (body) 19ms 21ms 43ms 73ms 191ms 5.1s
article (string inside object) 17ms 19ms 24ms 51ms 3ms 5.9s
article (string inside array) 16ms 19ms 21ms 42ms 0ms 6.1s
recipe (name) 10ms 14ms 17ms 40ms 0ms 5.4s
recipe (description) 19ms 21ms 23ms 34ms 0ms 4.4s
recipe (instructions) 6ms 9ms 11ms 27ms 0ms 3.0s
singleString (stringField) 7ms 10ms 11ms 20ms 0ms 4.6s
synthetic (title) 17ms 22ms 46ms 135ms 1621ms 9.5s
synthetic (string inside object) 14ms 16ms 18ms 80ms 1043ms 8.3s

🧪 Experiment result

The performance result of this branch

Benchmark latency p75 p90 p99 blocking time test duration
arrayI18n (simple-en) 13ms 15ms 21ms 35ms 0ms 5.6s
article (title) 19ms 22ms 27ms 57ms 25ms 6.9s
article (body) 17ms 19ms 29ms 79ms 195ms 4.7s
article (string inside object) 17ms 20ms 24ms 43ms 18ms 5.8s
article (string inside array) 16ms 19ms 25ms 44ms 0ms 6.1s
recipe (name) 10ms 12ms 15ms 28ms 0ms 5.2s
recipe (description) 18ms 20ms 23ms 36ms 0ms 4.3s
recipe (instructions) 5ms 8ms 10ms 11ms 0ms 3.0s
singleString (stringField) 7ms 10ms 12ms 19ms 0ms 4.6s
synthetic (title) 17ms 20ms 24ms 107ms 1575ms 9.5s
synthetic (string inside object) 15ms 16ms 22ms 77ms 1038ms 8.6s

📚 Glossary

column definitions

  • benchmark — the name of the test, e.g. "article", followed by the label of the field being measured, e.g. "(title)".
  • latency — the time between when a key was pressed and when it was rendered. derived from a set of samples. the median (p50) is shown to show the most common latency.
  • p75 — the 75th percentile of the input latency in the test run. 75% of the sampled inputs in this benchmark were processed faster than this value. this provides insight into the upper range of typical performance.
  • p90 — the 90th percentile of the input latency in the test run. 90% of the sampled inputs were faster than this. this metric helps identify slower interactions that occurred less frequently during the benchmark.
  • p99 — the 99th percentile of the input latency in the test run. only 1% of sampled inputs were slower than this. this represents the worst-case scenarios encountered during the benchmark, useful for identifying potential performance outliers.
  • blocking time — the total time during which the main thread was blocked, preventing user input and UI updates. this metric helps identify performance bottlenecks that may cause the interface to feel unresponsive.
  • test duration — how long the test run took to complete.

@christianhg christianhg force-pushed the fix/bump-portabletext-editor-6.6.3 branch from c5210e3 to e057585 Compare April 29, 2026 08:39
@christianhg christianhg marked this pull request as ready for review April 29, 2026 08:45
@christianhg christianhg requested a review from a team as a code owner April 29, 2026 08:45
@christianhg christianhg requested review from pedrobonamin and removed request for a team April 29, 2026 08:45
@github-actions
Copy link
Copy Markdown
Contributor

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 40.97% 27584 / 67312
🔵 Statements 33.18% 36079 / 108733
🔵 Functions 29.44% 5446 / 18493
🔵 Branches 24.81% 21713 / 87501
File CoverageNo changed files found.
Generated in workflow #55442 for commit e057585 by the Vitest Coverage Report Action

@christianhg christianhg enabled auto-merge (rebase) May 1, 2026 08:46
@christianhg christianhg disabled auto-merge May 1, 2026 08:58
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.

2 participants