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.16.0 #8031

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 13, 2024

This PR contains the following updates:

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

Release Notes

portabletext/editor (@​portabletext/editor)

v1.16.0

Features
  • add activeDecorators to EditorContext (e38e020)
  • selectors: add getActiveStyle and isActiveStyle (37ba256)
  • selectors: add getSelectedSpans (55b5e9e)
  • selectors: add isActiveAnnotation (6f7a172)
  • selectors: add isActiveListItem (efd64bf)
  • selectors: add isSelection(Collapsed|Expanded) (8440022)
  • selectors: add higher-order isDecoratorActive (4ce4e55)
Bug Fixes
  • abort value sync if value hasn't changed (1590795)
  • deps: update sanity monorepo to ^3.67.0 (3526fa5)
  • deps: update sanity monorepo to ^3.67.1 (1852219)
  • make editor read-only while setting up (3ff4318)
  • perf: don't emit selection while setting up (6f92cf2)
  • perf: don't sync range decorations while setting up (af70759)
  • selectors: account for non-span decorators in isActiveDecorator (9e287da)
  • selectors: rename isDecoratorActive->isActiveDecorator (184f7f6)
  • selectors: rename selectionIsCollapsed->isSelectionCollapsed (6d880d0)

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 December 13, 2024 10:28
@renovate renovate bot requested review from pedrobonamin and removed request for a team December 13, 2024 10:28
Copy link

vercel bot commented Dec 13, 2024

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 Dec 14, 2024 1:07am
performance-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 14, 2024 1:07am
test-next-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 14, 2024 1:07am
test-studio 🛑 Canceled (Inspect) Dec 14, 2024 1:07am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
studio-workshop ⬜️ Ignored (Inspect) Visit Preview Dec 14, 2024 1:07am

@renovate renovate bot enabled auto-merge December 13, 2024 10:28
Copy link

socket-security bot commented Dec 13, 2024

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 Dec 13, 2024

Component Testing Report Updated Dec 14, 2024 12:58 AM (UTC)

❌ Failed Tests (6) -- expand for details
File Status Duration Passed Skipped Failed
comments/CommentInput.spec.tsx ✅ Passed (Inspect) 1m 15s 15 0 0
formBuilder/ArrayInput.spec.tsx ✅ Passed (Inspect) 14s 3 0 0
formBuilder/inputs/PortableText/Annotations.spec.tsx ✅ Passed (Inspect) 40s 6 0 0
formBuilder/inputs/PortableText/copyPaste/CopyPaste.spec.tsx ✅ Passed (Inspect) 56s 11 7 0
formBuilder/inputs/PortableText/copyPaste/CopyPasteFields.spec.tsx ✅ Passed (Inspect) 0s 0 12 0
formBuilder/inputs/PortableText/Decorators.spec.tsx ✅ Passed (Inspect) 29s 6 0 0
formBuilder/inputs/PortableText/DisableFocusAndUnset.spec.tsx ✅ Passed (Inspect) 16s 3 0 0
formBuilder/inputs/PortableText/DragAndDrop.spec.tsx ❌ Failed (Inspect) 4m 27s 0 0 6
formBuilder/inputs/PortableText/FocusTracking.spec.tsx ✅ Passed (Inspect) 1m 13s 15 0 0
formBuilder/inputs/PortableText/Input.spec.tsx ✅ Passed (Inspect) 2m 51s 21 0 0
formBuilder/inputs/PortableText/ObjectBlock.spec.tsx ✅ Passed (Inspect) 1m 49s 18 0 0
formBuilder/inputs/PortableText/PresenceCursors.spec.tsx ✅ Passed (Inspect) 14s 3 9 0
formBuilder/inputs/PortableText/RangeDecoration.spec.tsx ✅ Passed (Inspect) 42s 9 0 0
formBuilder/inputs/PortableText/Styles.spec.tsx ✅ Passed (Inspect) 29s 6 0 0
formBuilder/inputs/PortableText/Toolbar.spec.tsx ✅ Passed (Inspect) 1m 52s 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 Dec 13, 2024

⚡️ Editor Performance Report

Updated Sat, 14 Dec 2024 00:59:39 GMT

Benchmark reference
latency of sanity@latest
experiment
latency of this branch
Δ (%)
latency difference
article (title) 23.3 efps (43ms) 23.8 efps (42ms) -1ms (-2.3%)
article (body) 65.4 efps (15ms) 68.3 efps (15ms) -1ms (-/-%)
article (string inside object) 24.4 efps (41ms) 25.6 efps (39ms) -2ms (-4.9%)
article (string inside array) 21.7 efps (46ms) 23.3 efps (43ms) -3ms (-6.5%)
recipe (name) 50.0 efps (20ms) 52.6 efps (19ms) -1ms (-5.0%)
recipe (description) 58.8 efps (17ms) 58.8 efps (17ms) +0ms (-/-%)
recipe (instructions) 99.9+ efps (5ms) 99.9+ efps (5ms) +0ms (-/-%)
synthetic (title) 19.2 efps (52ms) 18.9 efps (53ms) +1ms (+1.9%)
synthetic (string inside object) 18.9 efps (53ms) 19.2 efps (52ms) -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 46ms 54ms 203ms 184ms 11.9s
article (body) 15ms 19ms 27ms 191ms 233ms 5.4s
article (string inside object) 41ms 43ms 47ms 60ms 143ms 6.7s
article (string inside array) 46ms 49ms 52ms 260ms 273ms 7.5s
recipe (name) 20ms 21ms 24ms 43ms 0ms 8.4s
recipe (description) 17ms 19ms 21ms 37ms 0ms 4.5s
recipe (instructions) 5ms 7ms 10ms 27ms 0ms 3.1s
synthetic (title) 52ms 54ms 58ms 276ms 556ms 13.8s
synthetic (string inside object) 53ms 57ms 66ms 414ms 860ms 8.3s

🧪 Experiment result

The performance result of this branch

Benchmark latency p75 p90 p99 blocking time test duration
article (title) 42ms 45ms 66ms 193ms 307ms 12.0s
article (body) 15ms 17ms 20ms 192ms 206ms 5.4s
article (string inside object) 39ms 41ms 43ms 80ms 150ms 7.2s
article (string inside array) 43ms 46ms 53ms 90ms 141ms 7.2s
recipe (name) 19ms 20ms 22ms 36ms 0ms 7.2s
recipe (description) 17ms 18ms 20ms 30ms 0ms 4.5s
recipe (instructions) 5ms 6ms 7ms 22ms 0ms 3.0s
synthetic (title) 53ms 57ms 61ms 251ms 631ms 12.8s
synthetic (string inside object) 52ms 55ms 60ms 493ms 970ms 8.8s

📚 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 force-pushed the renovate/portabletext-editor-1.x branch from db5680e to df0fe7b Compare December 13, 2024 11:43
@renovate renovate bot force-pushed the renovate/portabletext-editor-1.x branch from df0fe7b to ca263e0 Compare December 13, 2024 12:04
@renovate renovate bot force-pushed the renovate/portabletext-editor-1.x branch from ca263e0 to f644c58 Compare December 13, 2024 12:19
@renovate renovate bot force-pushed the renovate/portabletext-editor-1.x branch from f644c58 to a45a08c Compare December 13, 2024 13:04
@renovate renovate bot force-pushed the renovate/portabletext-editor-1.x branch from a45a08c to 20744a5 Compare December 13, 2024 13:31
@renovate renovate bot force-pushed the renovate/portabletext-editor-1.x branch from 20744a5 to f6cef79 Compare December 13, 2024 14:59
@renovate renovate bot force-pushed the renovate/portabletext-editor-1.x branch from f6cef79 to ee76641 Compare December 13, 2024 15:24
@renovate renovate bot force-pushed the renovate/portabletext-editor-1.x branch from ee76641 to ace3e5d Compare December 14, 2024 00:42
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