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.34.0 #8687

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 18, 2025

This PR contains the following updates:

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

Release Notes

portabletext/editor (@​portabletext/editor)

v1.34.0

Features
  • utils: add childSelectionPointToBlockOffset (a30afea)
Bug Fixes
  • decorator.add: use offsets rather than selection (3911b20)
  • markdown emphasis: account for variable insert.text text length (9fb8d31)
  • markdown emphasis: guard against inline objects in prefixes/suffixes (37e5a06)
  • markdown emphasis: remove decorator from caret after emphasis (7665f29)

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 February 18, 2025 09:45
@renovate renovate bot requested review from jordanl17 and removed request for a team February 18, 2025 09:45
@renovate renovate bot enabled auto-merge (squash) February 18, 2025 09:45
Copy link

vercel bot commented Feb 18, 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 Feb 18, 2025 0:24am
performance-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 18, 2025 0:24am
test-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 18, 2025 0:24am
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
studio-workshop ⬜️ Ignored (Inspect) Visit Preview Feb 18, 2025 0:24am
test-next-studio ⬜️ Ignored (Inspect) Feb 18, 2025 0:24am

Copy link

socket-security bot commented Feb 18, 2025

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

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

View full report↗︎

Copy link
Contributor

No changes to documentation

Copy link
Contributor

github-actions bot commented Feb 18, 2025

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 42.94% 54807 / 127626
🔵 Statements 42.94% 54807 / 127626
🔵 Functions 48.08% 2788 / 5798
🔵 Branches 79.41% 10596 / 13342
File CoverageNo changed files found.
Generated in workflow #30633 for commit 03b4634 by the Vitest Coverage Report Action

Copy link
Contributor

github-actions bot commented Feb 18, 2025

⚡️ Editor Performance Report

Updated Tue, 18 Feb 2025 12:29:13 GMT

Benchmark reference
latency of sanity@latest
experiment
latency of this branch
Δ (%)
latency difference
article (title) 28.6 efps (35ms) 28.6 efps (35ms) +0ms (-/-%)
article (body) 78.1 efps (13ms) 78.1 efps (13ms) +0ms (-/-%)
article (string inside object) 29.4 efps (34ms) 29.4 efps (34ms) +0ms (-/-%)
article (string inside array) 26.3 efps (38ms) 26.3 efps (38ms) +0ms (-/-%)
recipe (name) 52.6 efps (19ms) 47.6 efps (21ms) +2ms (+10.5%)
recipe (description) 62.5 efps (16ms) 52.6 efps (19ms) +3ms (+18.8%)
recipe (instructions) 99.9+ efps (5ms) 99.9+ efps (5ms) +0ms (-/-%)
synthetic (title) 19.2 efps (52ms) 19.6 efps (51ms) -1ms (-1.9%)
synthetic (string inside object) 20.0 efps (50ms) 19.8 efps (51ms) +1ms (+1.0%)

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) 35ms 37ms 41ms 333ms 123ms 9.9s
article (body) 13ms 14ms 18ms 172ms 207ms 5.0s
article (string inside object) 34ms 37ms 41ms 289ms 338ms 6.7s
article (string inside array) 38ms 41ms 47ms 256ms 124ms 6.7s
recipe (name) 19ms 20ms 24ms 36ms 5ms 7.1s
recipe (description) 16ms 18ms 22ms 36ms 0ms 4.4s
recipe (instructions) 5ms 6ms 7ms 19ms 0ms 3.0s
synthetic (title) 52ms 56ms 64ms 438ms 966ms 12.6s
synthetic (string inside object) 50ms 52ms 58ms 278ms 612ms 7.6s

🧪 Experiment result

The performance result of this branch

Benchmark latency p75 p90 p99 blocking time test duration
article (title) 35ms 37ms 42ms 203ms 291ms 10.3s
article (body) 13ms 14ms 24ms 171ms 189ms 5.0s
article (string inside object) 34ms 36ms 40ms 251ms 232ms 6.4s
article (string inside array) 38ms 41ms 44ms 69ms 107ms 6.9s
recipe (name) 21ms 22ms 24ms 29ms 0ms 6.7s
recipe (description) 19ms 19ms 20ms 24ms 0ms 4.7s
recipe (instructions) 5ms 7ms 8ms 8ms 0ms 3.0s
synthetic (title) 51ms 53ms 60ms 292ms 647ms 13.6s
synthetic (string inside object) 51ms 54ms 61ms 405ms 966ms 8.3s

📚 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 Feb 18, 2025

Component Testing Report Updated Feb 18, 2025 12:34 PM (UTC)

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

1 participant