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

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

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 6, 2025 6:33pm
performance-studio ✅ Ready (Inspect) Visit Preview Mar 6, 2025 6:33pm
test-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 6, 2025 6:33pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
studio-workshop ⬜️ Ignored (Inspect) Visit Preview Mar 6, 2025 6:33pm
test-next-studio ⬜️ Ignored (Inspect) Mar 6, 2025 6:33pm

Copy link

socket-security bot commented Mar 6, 2025

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

🚮 Removed packages: npm/@portabletext/[email protected], 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.03% 54352 / 129299
🔵 Statements 42.03% 54352 / 129299
🔵 Functions 46.93% 2729 / 5815
🔵 Branches 79.41% 10181 / 12820
File CoverageNo changed files found.
Generated in workflow #31842 for commit ebfd8c5 by the Vitest Coverage Report Action

Copy link
Contributor

github-actions bot commented Mar 6, 2025

⚡️ Editor Performance Report

Updated Thu, 06 Mar 2025 18:46:38 GMT

Benchmark reference
latency of sanity@latest
experiment
latency of this branch
Δ (%)
latency difference
article (title) 27.8 efps (36ms) 19.2 efps (52ms) +16ms (+44.4%) 🔴
article (body) 69.9 efps (14ms) 67.8 efps (15ms) +0ms (-/-%)
article (string inside object) 26.3 efps (38ms) 20.4 efps (49ms) +11ms (+28.9%) 🔴
article (string inside array) 24.4 efps (41ms) 18.9 efps (53ms) +12ms (+29.3%) 🔴
synthetic (title) 15.9 efps (63ms) 20.0 efps (50ms) -13ms (-20.6%)
synthetic (string inside object) 16.0 efps (63ms) 20.4 efps (49ms) -14ms (-21.6%)

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) 36ms 39ms 43ms 181ms 153ms 10.4s
article (body) 14ms 15ms 17ms 47ms 57ms 4.8s
article (string inside object) 38ms 40ms 44ms 170ms 278ms 7.1s
article (string inside array) 41ms 43ms 47ms 98ms 221ms 7.1s
synthetic (title) 63ms 66ms 73ms 219ms 1781ms 15.5s
synthetic (string inside object) 63ms 69ms 90ms 373ms 2167ms 9.7s

🧪 Experiment result

The performance result of this branch

Benchmark latency p75 p90 p99 blocking time test duration
article (title) 52ms 59ms 86ms 363ms 1256ms 12.0s
article (body) 15ms 16ms 17ms 33ms 56ms 5.0s
article (string inside object) 49ms 54ms 59ms 307ms 1105ms 8.9s
article (string inside array) 53ms 56ms 62ms 268ms 1206ms 8.7s
synthetic (title) 50ms 53ms 58ms 215ms 711ms 12.5s
synthetic (string inside object) 49ms 54ms 62ms 255ms 709ms 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 6, 2025 6:44 PM (UTC)

❌ Failed Tests (1) -- expand for details
File Status Duration Passed Skipped Failed
comments/CommentInput.spec.tsx ✅ Passed (Inspect) 1m 6s 15 0 0
formBuilder/ArrayInput.spec.tsx ✅ Passed (Inspect) 13s 3 0 0
formBuilder/inputs/PortableText/Annotations.spec.tsx ❌ Failed (Inspect) 1m 16s 5 0 1
formBuilder/inputs/PortableText/copyPaste/CopyPaste.spec.tsx ✅ Passed (Inspect) 43s 11 7 0
formBuilder/inputs/PortableText/copyPaste/CopyPasteFields.spec.tsx ✅ Passed (Inspect) 0s 0 12 0
formBuilder/inputs/PortableText/Decorators.spec.tsx ✅ Passed (Inspect) 24s 6 0 0
formBuilder/inputs/PortableText/DisableFocusAndUnset.spec.tsx ✅ Passed (Inspect) 14s 3 0 0
formBuilder/inputs/PortableText/DragAndDrop.spec.tsx ✅ Passed (Inspect) 26s 6 0 0
formBuilder/inputs/PortableText/FocusTracking.spec.tsx ✅ Passed (Inspect) 1m 3s 15 0 0
formBuilder/inputs/PortableText/Input.spec.tsx ✅ Passed (Inspect) 1m 32s 21 0 0
formBuilder/inputs/PortableText/ObjectBlock.spec.tsx ✅ Passed (Inspect) 1m 46s 21 0 0
formBuilder/inputs/PortableText/PresenceCursors.spec.tsx ✅ Passed (Inspect) 13s 3 9 0
formBuilder/inputs/PortableText/Styles.spec.tsx ✅ Passed (Inspect) 26s 6 0 0
formBuilder/inputs/PortableText/Toolbar.spec.tsx ✅ Passed (Inspect) 1m 37s 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

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.

0 participants