Open
Conversation
85e3a0e to
5df9f1f
Compare
emmatown
commented
Mar 12, 2026
| } | ||
| } | ||
| actions { | ||
| key |
Member
Author
There was a problem hiding this comment.
Note because this wasn't requested previously, itemView.actionMode called with the actual item was never actually used
11d11f1 to
c62e0a5
Compare
f0f2b68 to
f8c9648
Compare
6fd8507 to
387d73a
Compare
387d73a to
43a02ed
Compare
990f8e2 to
0a35621
Compare
0a35621 to
cd7509b
Compare
9e77b11 to
3e4f684
Compare
cd7509b to
e3419b2
Compare
e3419b2 to
6b9b3c4
Compare
73537a7 to
955eca0
Compare
ab8ed2c to
0c9aacd
Compare
955eca0 to
1f9e531
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds an experimental
__dataoption on actions which defines what fields from the list the action should passed.truecan be passed to receive all fields in which the types will use the list's update input or an object can be provided to specify specific fields and then those fields will be sent when the action is called from the Admin UI.For example, it could be used in our
usecase-versioningexample to have an action that receives theversionfield:The GraphQL for the example looks like this:
Note this PR involves a change to the many action types and array of
{ActionSingular}Argsis passed instead of a{ListSingular}WhereUniqueInputwhich happens even ifdataisn't specified.Also, to support the types for this, actions must now also be declared with an
actionfunction like shown in the example.Also, separately, we weren't actually evaluating the client side filters for actionMode, this fixes that.
No changeset since actions haven't been properly released.