-
Notifications
You must be signed in to change notification settings - Fork 913
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
[Doc] UI actions explorer #3614
[Doc] UI actions explorer #3614
Conversation
Signed-off-by: Ashwin P Chandran <[email protected]>
Signed-off-by: Ashwin P Chandran <[email protected]>
Signed-off-by: Ashwin P Chandran <[email protected]>
Signed-off-by: Ashwin P Chandran <[email protected]>
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #3614 +/- ##
==========================================
- Coverage 66.47% 66.46% -0.01%
==========================================
Files 3206 3206
Lines 61597 61599 +2
Branches 9503 9503
==========================================
- Hits 40945 40942 -3
- Misses 18380 18384 +4
- Partials 2272 2273 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 2 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Signed-off-by: Ashwin P Chandran <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see an issue attached to this PR, is it because it's a doc change? and an issue is optional? Overall LGTM
@zhongnansu Yeah this was something i did as a part of the visbuilder research. But i've added it to the PR for context :) |
* adds ui actions explorer Signed-off-by: Ashwin P Chandran <[email protected]> * updates UI actions readme Signed-off-by: Ashwin P Chandran <[email protected]> * updates UI actions readme again Signed-off-by: Ashwin P Chandran <[email protected]> * cleans up developer examples view Signed-off-by: Ashwin P Chandran <[email protected]> * adds changelog Signed-off-by: Ashwin P Chandran <[email protected]> --------- Signed-off-by: Ashwin P Chandran <[email protected]> (cherry picked from commit c9211b9) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md
|
||
```ts | ||
uiActions.attachAction(TRIGGER_ID, ACTION_ID); | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NIT: Add one more sentence to explain why you need attach action to the registered trigger. For example: This will make your action available to be executed when the trigger event occurs.
```ts | ||
uiActions.getTrigger(trigger.id).exec(context); | ||
``` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could add more explains here: This exec() method will iterate through all actions attached to this specific trigger and execute their execute methods defined in the actions.
* adds ui actions explorer Signed-off-by: Ashwin P Chandran <[email protected]> * updates UI actions readme Signed-off-by: Ashwin P Chandran <[email protected]> * updates UI actions readme again Signed-off-by: Ashwin P Chandran <[email protected]> * cleans up developer examples view Signed-off-by: Ashwin P Chandran <[email protected]> * adds changelog Signed-off-by: Ashwin P Chandran <[email protected]> --------- Signed-off-by: Ashwin P Chandran <[email protected]> (cherry picked from commit c9211b9) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* adds ui actions explorer Signed-off-by: Ashwin P Chandran <[email protected]> * updates UI actions readme Signed-off-by: Ashwin P Chandran <[email protected]> * updates UI actions readme again Signed-off-by: Ashwin P Chandran <[email protected]> * cleans up developer examples view Signed-off-by: Ashwin P Chandran <[email protected]> * adds changelog Signed-off-by: Ashwin P Chandran <[email protected]> --------- Signed-off-by: Ashwin P Chandran <[email protected]>
* adds ui actions explorer Signed-off-by: Ashwin P Chandran <[email protected]> * updates UI actions readme Signed-off-by: Ashwin P Chandran <[email protected]> * updates UI actions readme again Signed-off-by: Ashwin P Chandran <[email protected]> * cleans up developer examples view Signed-off-by: Ashwin P Chandran <[email protected]> * adds changelog Signed-off-by: Ashwin P Chandran <[email protected]> --------- Signed-off-by: Ashwin P Chandran <[email protected]> Signed-off-by: David Sinclair <[email protected]>
* adds ui actions explorer Signed-off-by: Ashwin P Chandran <[email protected]> * updates UI actions readme Signed-off-by: Ashwin P Chandran <[email protected]> * updates UI actions readme again Signed-off-by: Ashwin P Chandran <[email protected]> * cleans up developer examples view Signed-off-by: Ashwin P Chandran <[email protected]> * adds changelog Signed-off-by: Ashwin P Chandran <[email protected]> --------- Signed-off-by: Ashwin P Chandran <[email protected]> Signed-off-by: David Sinclair <[email protected]>
Description
UI Actions is a sparsely documented plugin like many of our other plugins. This PR aims to improve the docs for this plugin so that it is more accessible to plugin developers.
Adds UI Actions explorer
Adds docs for UI Actions
Cleaning up Developer Examples view
Issues Resolved
Check List
yarn test:jest
yarn test:jest_integration
yarn test:ftr