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

feat(core): adopt Actions API #6257

Merged
merged 5 commits into from
Apr 9, 2024
Merged

feat(core): adopt Actions API #6257

merged 5 commits into from
Apr 9, 2024

Conversation

juice49
Copy link
Contributor

@juice49 juice49 commented Apr 8, 2024

Description

This branch adds Actions API integrations for the following document operations:

  • Publish
  • Unpublish
  • Delete

They can be enabled using the unstable_serverActions.enabled configuration option.

What to review

Testing

Notes for release

Copy link

vercel bot commented Apr 8, 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 Apr 9, 2024 0:13am
test-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 9, 2024 0:13am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
studio-workshop ⬜️ Ignored (Inspect) Visit Preview Apr 9, 2024 0:13am

Copy link
Contributor

github-actions bot commented Apr 8, 2024

No changes to documentation

Copy link
Contributor

github-actions bot commented Apr 8, 2024

Component Testing Report Updated Apr 9, 2024 12:18 PM (UTC)

File Status Duration Passed Skipped Failed
comments/CommentInput.spec.tsx ✅ Passed (Inspect) 35s 15 0 0
formBuilder/ArrayInput.spec.tsx ✅ Passed (Inspect) 6s 3 0 0
formBuilder/inputs/PortableText/Annotations.spec.tsx ✅ Passed (Inspect) 25s 6 0 0
formBuilder/inputs/PortableText/copyPaste/CopyPaste.spec.tsx ✅ Passed (Inspect) 12s 4 2 0
formBuilder/inputs/PortableText/Decorators.spec.tsx ✅ Passed (Inspect) 12s 6 0 0
formBuilder/inputs/PortableText/FocusTracking.spec.tsx ✅ Passed (Inspect) 31s 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 1s 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) 20s 9 0 0

@juice49 juice49 force-pushed the feat/sdx-1162-server-actions branch from 7b3e3d2 to b35bde0 Compare April 9, 2024 08:39
@juice49 juice49 force-pushed the feat/sdx-1162-server-actions branch from b35bde0 to 33c8766 Compare April 9, 2024 08:46
@juice49 juice49 force-pushed the feat/sdx-1162-server-actions branch from 2525227 to c16a5f4 Compare April 9, 2024 08:59
@juice49 juice49 changed the title Feat/sdx 1162 server actions feat(core): adopt Actions API Apr 9, 2024
@juice49 juice49 force-pushed the feat/sdx-1162-server-actions branch from c16a5f4 to 22ae4ca Compare April 9, 2024 09:04
@juice49 juice49 force-pushed the feat/sdx-1162-server-actions branch from 22ae4ca to ee72a5b Compare April 9, 2024 09:14
juice49 and others added 2 commits April 9, 2024 14:09
* feat(sanity): use Actions API when unpublishing documents

* feat(core): set `skipCrossDatasetReferenceValidation` parameter when unpublishing documents
* feat(sanity): use actions API when deleting documents
* fix(sanity): add skipCrossDatasetReferenceValidation to delete action
@bjoerge bjoerge force-pushed the feat/sdx-1162-server-actions branch from ee72a5b to df8ec9e Compare April 9, 2024 12:09
@juice49 juice49 marked this pull request as ready for review April 9, 2024 12:16
@juice49 juice49 requested a review from a team as a code owner April 9, 2024 12:16
@juice49 juice49 requested review from bjoerge and removed request for a team April 9, 2024 12:16
@juice49 juice49 added this pull request to the merge queue Apr 9, 2024
Merged via the queue into next with commit 4d45224 Apr 9, 2024
36 checks passed
@juice49 juice49 deleted the feat/sdx-1162-server-actions branch April 9, 2024 13:12
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