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

Custom actions review 2 #167

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

bryanthowell-ts
Copy link
Contributor

Additional updates to the Custom Actions docs

Reordered custom actions to bring callback actions to the second slot
 Moved the instructions for creating URL and Callback actions into this page from their respective pages
Moved creation to the other page
Moved creation to the other page
Copy link

vercel bot commented Aug 14, 2024

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

Name Status Preview Comments Updated (UTC)
developer-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 14, 2024 10:32pm

Clarified the description of URL custom actions, added note that they have a flaw in terms of UI response for the user
@bryanthowell-ts bryanthowell-ts marked this pull request as ready for review August 14, 2024 22:30
@bryanthowell-ts
Copy link
Contributor Author

Continued clean-up of the custom actions documentation to reflect how they are actually used in practice. Moved all the details on defining them into one page, and emphasized callback actions which is all anyone ever uses.

Probably could use one more round on the code samples themselves but that's a bigger project

@@ -57,11 +57,11 @@
**** link:{{navprefix}}/events-app-integration[Events and app interactions]
**** link:{{navprefix}}/custom-action-intro[Custom actions]
***** link:{{navprefix}}/customize-actions[Create and manage custom actions]
***** link:{{navprefix}}/custom-action-callback[Callback actions]
***** link:{{navprefix}}/edit-custom-action[Set the position of a custom action]
***** link:{{navprefix}}/add-action-viz[Add a local action to a visualization]
***** link:{{navprefix}}/add-action-worksheet[Add a local action to a worksheet]
***** link:{{navprefix}}/custom-action-url[URL actions]
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we should place URL actions above "Set position of custom action" and "Callback response payload" below "Callback actions".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No one ever uses URL actions because of a some flaws in the design, that's why I have them placed so low

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