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(core): increase default width of PT inline popovers #5878

Merged
merged 3 commits into from
Mar 20, 2024

Conversation

ninaandal
Copy link
Contributor

@ninaandal ninaandal commented Feb 29, 2024

Description

It was decided that the width of the reference selectors in the PT should be increased - this has already been merged.
For consistency, the default width of the all inline popovers in PT is increased to match the other inline popovers in portable text. I've therefore now set the default width in the RootPopover instead and removed it from the InlineObjects popover.
This default width can be overwritten in the schema.

What to review

That the width of all inline objects in the PT has a default width that is wider.

Testing

Notes for release

Increased width of all inline PT popovers.

Copy link

vercel bot commented Feb 29, 2024

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

Name Status Preview Comments Updated (UTC)
performance-studio ✅ Ready (Inspect) Visit Preview Mar 20, 2024 6:34am
test-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 20, 2024 6:34am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
studio-workshop ⬜️ Ignored (Inspect) Visit Preview Mar 20, 2024 6:34am

Copy link
Contributor

No changes to documentation

Copy link
Contributor

github-actions bot commented Feb 29, 2024

Component Testing Report Updated Mar 20, 2024 6:38 AM (UTC)

File Status Duration Passed Skipped Failed
comments/CommentInput.spec.tsx ✅ Passed (Inspect) 31s 15 0 0
formBuilder/ArrayInput.spec.tsx ✅ Passed (Inspect) 6s 3 0 0
formBuilder/inputs/PortableText/Annotations.spec.tsx ✅ Passed (Inspect) 12s 3 0 0
formBuilder/inputs/PortableText/copyPaste/CopyPaste.spec.tsx ✅ Passed (Inspect) 13s 4 2 0
formBuilder/inputs/PortableText/Decorators.spec.tsx ✅ Passed (Inspect) 12s 6 0 0
formBuilder/inputs/PortableText/FocusTracking.spec.tsx ✅ Passed (Inspect) 32s 15 0 0
formBuilder/inputs/PortableText/Input.spec.tsx ✅ Passed (Inspect) 1m 1s 15 0 0
formBuilder/inputs/PortableText/ObjectBlock.spec.tsx ✅ Passed (Inspect) 1m 0s 18 0 0
formBuilder/inputs/PortableText/RangeDecoration.spec.tsx ✅ Passed (Inspect) 11s 6 0 0
formBuilder/inputs/PortableText/Styles.spec.tsx ✅ Passed (Inspect) 13s 6 0 0
formBuilder/inputs/PortableText/Toolbar.spec.tsx ✅ Passed (Inspect) 19s 9 0 0

@ninaandal ninaandal changed the title fix(core): increase default width of annotation popover fix(core): increase default width of PT inline popovers Mar 1, 2024
@ninaandal ninaandal force-pushed the fix/annotation-popover-width branch from 9909dd3 to bf4e215 Compare March 20, 2024 06:29
Copy link
Contributor

@pedrobonamin pedrobonamin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks @ninaandal

@ninaandal ninaandal added this pull request to the merge queue Mar 20, 2024
Merged via the queue into next with commit f809fe3 Mar 20, 2024
36 checks passed
@ninaandal ninaandal deleted the fix/annotation-popover-width branch March 20, 2024 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants