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.26.0 #8386

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 23, 2025

This PR contains the following updates:

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

Release Notes

portabletext/editor (@​portabletext/editor)

v1.26.0

Features
  • behaviors: add block.(set|unset) events and actions (f804157)
  • behaviors: add insert.block event and action (0fd745b)
  • core behaviors: raise insert.text event from insert.sort break Behavior (c35b7bd)
  • move insert.break at start/end of text block to core Behaviors (56ff60b)
  • selectors: add isAtThe(End|Start)OfBlock (470d533)
  • utils: add getBlockEndPoint (e9d208f)
  • utils: add isEqualSelectionPoints (d8c3941)
Bug Fixes
  • fix issue with inserting block before/after empty block in empty editor (3622e7d)
  • selectors: account for no selection in isSelectionCollapsed (e3e5766)

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 January 23, 2025 13:21
@renovate renovate bot requested review from cngonzalez and removed request for a team January 23, 2025 13:21
Copy link

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

@renovate renovate bot enabled auto-merge January 23, 2025 13:21
Copy link

socket-security bot commented Jan 23, 2025

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

🚮 Removed packages: npm/@portabletext/editor@1.25.0

View full report↗︎

Copy link
Contributor

No changes to documentation

Copy link
Contributor

github-actions bot commented Jan 23, 2025

Component Testing Report Updated Jan 23, 2025 5:05 PM (UTC)

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

Copy link
Contributor

github-actions bot commented Jan 23, 2025

⚡️ Editor Performance Report

Updated Thu, 23 Jan 2025 17:07:07 GMT

Benchmark reference
latency of sanity@latest
experiment
latency of this branch
Δ (%)
latency difference
article (title) 23.5 efps (43ms) 21.5 efps (47ms) +4ms (+9.4%)
article (body) 51.7 efps (19ms) 59.5 efps (17ms) -3ms (-13.2%)
article (string inside object) 22.0 efps (46ms) 24.4 efps (41ms) -5ms (-9.9%)
article (string inside array) 20.4 efps (49ms) 19.6 efps (51ms) +2ms (+4.1%)
recipe (name) 47.6 efps (21ms) 48.8 efps (21ms) -1ms (-2.4%)
recipe (description) 52.6 efps (19ms) 52.6 efps (19ms) +0ms (-/-%)
recipe (instructions) 99.9+ efps (6ms) 99.9+ efps (6ms) +0ms (-/-%)
synthetic (title) 19.2 efps (52ms) 20.2 efps (50ms) -3ms (-4.8%)
synthetic (string inside object) 18.9 efps (53ms) 18.5 efps (54ms) +1ms (+1.9%)

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) 43ms 50ms 69ms 494ms 770ms 10.9s
article (body) 19ms 21ms 33ms 314ms 551ms 7.0s
article (string inside object) 46ms 49ms 56ms 87ms 205ms 7.7s
article (string inside array) 49ms 52ms 58ms 115ms 342ms 7.7s
recipe (name) 21ms 23ms 25ms 61ms 0ms 7.5s
recipe (description) 19ms 21ms 25ms 40ms 0ms 4.6s
recipe (instructions) 6ms 8ms 10ms 11ms 0ms 3.2s
synthetic (title) 52ms 56ms 64ms 292ms 642ms 12.3s
synthetic (string inside object) 53ms 57ms 69ms 142ms 459ms 7.9s

🧪 Experiment result

The performance result of this branch

Benchmark latency p75 p90 p99 blocking time test duration
article (title) 47ms 74ms 92ms 489ms 1096ms 11.8s
article (body) 17ms 19ms 26ms 113ms 247ms 6.0s
article (string inside object) 41ms 43ms 46ms 67ms 143ms 7.4s
article (string inside array) 51ms 55ms 59ms 198ms 323ms 7.6s
recipe (name) 21ms 23ms 27ms 48ms 0ms 7.7s
recipe (description) 19ms 20ms 23ms 41ms 0ms 4.5s
recipe (instructions) 6ms 9ms 10ms 21ms 0ms 3.3s
synthetic (title) 50ms 51ms 53ms 147ms 478ms 11.6s
synthetic (string inside object) 54ms 57ms 66ms 532ms 1125ms 9.1s

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

@renovate renovate bot added this pull request to the merge queue Jan 24, 2025
Merged via the queue into next with commit be47ff9 Jan 24, 2025
56 checks passed
@renovate renovate bot deleted the renovate/portabletext-editor-1.x branch January 24, 2025 09:44
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