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

fix(deps): update dependency @portabletext/editor to ^1.37.0 #8854

Merged
merged 1 commit into from
Mar 11, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 6, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@portabletext/editor (source) ^1.36.6 -> ^1.37.0 age adoption passing confidence

Release Notes

portabletext/editor (@​portabletext/editor)

v1.37.0

Features
  • add readOnly to EditorContext (190bd0c)
  • selectors: add getFocusInlineObject (c7c5016)
  • selectors: add isSelectingEntireBlocks (08b9668)
Bug Fixes
  • delete action: delete without selecting beforehand (b3ea0aa)
  • insert.blocks: account for edge cases related to inline objects (b4b5426)
  • insert.blocks: insert after block objects if placement is auto (c91e8a1)
  • isOverlappingSelection: account for more edge cases (d051978)
  • isOverlappingSelection: account for more edge cases (dc9adf8)
  • isPointAfterSelection: don't reverse selection if not backward (b69fbc7)
  • isPointBeforeSelection: don't reverse selection if not backward (0dd79a3)
  • behavior actions: don't pass entire context to actions (e82b23d)
  • deps: update sanity monorepo to ^3.78.0 (7bcaac8)
Dependencies

Configuration

📅 Schedule: Branch creation - "every weekday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate using a curated preset maintained by Sanity. View repository job log here

@renovate renovate bot requested a review from a team as a code owner March 6, 2025 15:01
@renovate renovate bot requested review from ryanbonial and removed request for a team March 6, 2025 15:01
@renovate renovate bot enabled auto-merge (squash) March 6, 2025 15:01
Copy link

vercel bot commented Mar 6, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
page-building-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 11, 2025 8:14pm
performance-studio ✅ Ready (Inspect) Visit Preview Mar 11, 2025 8:14pm
test-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 11, 2025 8:14pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
studio-workshop ⬜️ Ignored (Inspect) Visit Preview Mar 11, 2025 8:14pm
test-next-studio ⬜️ Ignored (Inspect) Mar 11, 2025 8:14pm

Copy link

socket-security bot commented Mar 6, 2025

Removed dependencies detected. Learn more about Socket for GitHub ↗︎

🚮 Removed packages: npm/@portabletext/[email protected]

View full report↗︎

Copy link
Contributor

github-actions bot commented Mar 6, 2025

No changes to documentation

Copy link
Contributor

github-actions bot commented Mar 6, 2025

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 42% 54407 / 129513
🔵 Statements 42% 54407 / 129513
🔵 Functions 46.88% 2728 / 5819
🔵 Branches 79.36% 10191 / 12841
File CoverageNo changed files found.
Generated in workflow #32100 for commit 8f5f103 by the Vitest Coverage Report Action

Copy link
Contributor

github-actions bot commented Mar 6, 2025

⚡️ Editor Performance Report

Updated Tue, 11 Mar 2025 20:17:20 GMT

Benchmark reference
latency of sanity@latest
experiment
latency of this branch
Δ (%)
latency difference
article (title) 25.0 efps (40ms) 20.2 efps (50ms) +10ms (+23.8%) 🔴
article (body) 77.5 efps (13ms) 77.5 efps (13ms) +0ms (-/-%)
article (string inside object) 26.0 efps (39ms) 19.2 efps (52ms) +14ms (+35.1%) 🔴
article (string inside array) 22.7 efps (44ms) 18.0 efps (56ms) +12ms (+26.1%) 🔴
recipe (name) 47.6 efps (21ms) 50.0 efps (20ms) -1ms (-4.8%)
recipe (description) 52.6 efps (19ms) 52.6 efps (19ms) +0ms (-/-%)
recipe (instructions) 99.9+ efps (5ms) 99.9+ efps (5ms) +0ms (-/-%)
synthetic (title) 20.0 efps (50ms) 19.2 efps (52ms) +2ms (+4.0%)
synthetic (string inside object) 21.7 efps (46ms) 20.4 efps (49ms) +3ms (+6.5%)

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
article (title) 40ms 44ms 72ms 363ms 694ms 10.6s
article (body) 13ms 15ms 16ms 58ms 58ms 4.8s
article (string inside object) 39ms 40ms 45ms 150ms 170ms 6.8s
article (string inside array) 44ms 46ms 48ms 52ms 114ms 6.8s
recipe (name) 21ms 22ms 23ms 25ms 0ms 6.9s
recipe (description) 19ms 20ms 21ms 38ms 0ms 4.7s
recipe (instructions) 5ms 6ms 7ms 7ms 0ms 3.0s
synthetic (title) 50ms 53ms 55ms 211ms 953ms 12.5s
synthetic (string inside object) 46ms 47ms 48ms 54ms 217ms 6.8s

🧪 Experiment result

The performance result of this branch

Benchmark latency p75 p90 p99 blocking time test duration
article (title) 50ms 52ms 53ms 271ms 1084ms 11.2s
article (body) 13ms 15ms 16ms 133ms 198ms 5.0s
article (string inside object) 52ms 54ms 55ms 150ms 776ms 8.3s
article (string inside array) 56ms 57ms 62ms 304ms 1204ms 8.8s
recipe (name) 20ms 22ms 24ms 39ms 4ms 7.3s
recipe (description) 19ms 20ms 24ms 164ms 16ms 5.0s
recipe (instructions) 5ms 6ms 7ms 9ms 0ms 3.1s
synthetic (title) 52ms 53ms 59ms 207ms 799ms 12.7s
synthetic (string inside object) 49ms 52ms 57ms 215ms 586ms 7.9s

📚 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.

Copy link
Contributor

github-actions bot commented Mar 6, 2025

Component Testing Report Updated Mar 11, 2025 1:14 PM (UTC)

❌ Failed Tests (2) -- expand for details
File Status Duration Passed Skipped Failed
comments/CommentInput.spec.tsx ✅ Passed (Inspect) 1m 4s 15 0 0
formBuilder/ArrayInput.spec.tsx ✅ Passed (Inspect) 12s 3 0 0
formBuilder/inputs/PortableText/Annotations.spec.tsx ❌ Failed (Inspect) 1m 15s 5 0 1
formBuilder/inputs/PortableText/copyPaste/CopyPaste.spec.tsx ✅ Passed (Inspect) 49s 11 7 0
formBuilder/inputs/PortableText/copyPaste/CopyPasteFields.spec.tsx ✅ Passed (Inspect) 0s 0 12 0
formBuilder/inputs/PortableText/Decorators.spec.tsx ✅ Passed (Inspect) 25s 6 0 0
formBuilder/inputs/PortableText/DisableFocusAndUnset.spec.tsx ✅ Passed (Inspect) 14s 3 0 0
formBuilder/inputs/PortableText/DragAndDrop.spec.tsx ✅ Passed (Inspect) 28s 6 0 0
formBuilder/inputs/PortableText/FocusTracking.spec.tsx ❌ Failed (Inspect) 1m 46s 14 0 1
formBuilder/inputs/PortableText/Input.spec.tsx ✅ Passed (Inspect) 1m 35s 21 0 0
formBuilder/inputs/PortableText/ObjectBlock.spec.tsx ✅ Passed (Inspect) 1m 44s 21 0 0
formBuilder/inputs/PortableText/PresenceCursors.spec.tsx ✅ Passed (Inspect) 12s 3 9 0
formBuilder/inputs/PortableText/Styles.spec.tsx ✅ Passed (Inspect) 26s 6 0 0
formBuilder/inputs/PortableText/Toolbar.spec.tsx ✅ Passed (Inspect) 1m 36s 21 0 0
formBuilder/tree-editing/TreeEditing.spec.tsx ✅ Passed (Inspect) 0s 0 3 0
formBuilder/tree-editing/TreeEditingNestedObjects.spec.tsx ✅ Passed (Inspect) 0s 0 3 0

stipsan
stipsan previously approved these changes Mar 11, 2025
@renovate renovate bot merged commit 2601018 into next Mar 11, 2025
65 checks passed
@renovate renovate bot deleted the renovate/portabletext-editor-1.x branch March 11, 2025 20:19
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.

1 participant