-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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: JSObject function is not defined error #35035
Conversation
WalkthroughThe update to Changes
Sequence Diagram(s)For these changes, generating a sequence diagram isn't necessary because the modifications primarily involve conditional checks and return statements without altering the overall flow or introducing new features. Assessment against linked issues
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
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.
Actionable comments posted: 0
Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Files selected for processing (1)
- app/client/src/ce/sagas/InferAffectedJSObjects.ts (1 hunks)
Additional comments not posted (3)
app/client/src/ce/sagas/InferAffectedJSObjects.ts (3)
16-21
: Good job handlingFETCH_ALL_PAGE_ENTITY_COMPLETION
!The new conditional block correctly handles the
ReduxActionTypes.FETCH_ALL_PAGE_ENTITY_COMPLETION
action by returning an object with empty IDs and a flag set to true. This ensures that all JSObjects are considered affected when this action occurs.
22-29
: Great check for action types!The logic to check if the action type is included in
JS_ACTIONS
is well-implemented. It ensures that only relevant actions are processed, returning an empty array of IDs and a false flag for other actions.
Line range hint
41-52
:
FunctiongetAffectedJSObjectIdsFromBufferedAction
looks good!The function correctly handles buffered actions and returns the affected JSObjects or an empty array with a false flag when the action type is not
ReduxActionTypes.BUFFERED_ACTION
.
/build-deploy-preview skip-tests=true |
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/10003095945. |
Deploy-Preview-URL: https://ce-35035.dp.appsmith.com |
Description
Fixes #34681
Fixed #34933
Automation
/test js
🔍 Cypress test results
Tip
🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/9998917287
Commit: 88f6c63
Cypress dashboard.
Tags:
@tag.JS
Spec:
Thu, 18 Jul 2024 22:05:02 UTC
Communication
Should the DevRel and Marketing teams inform users about this change?
Summary by CodeRabbit