-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Close - Bug Fix #16841
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
Close - Bug Fix #16841
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 3 Skipped Deployments
|
WalkthroughThis update primarily revises description texts, corrects grammar, and standardizes endpoint URL formatting across multiple Close integration components. All action and source component versions are incremented to 0.1.1. No logic, control flow, or functional changes are made, except for a minor summary message fix in the search leads action. Changes
Assessment against linked issues
Poem
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
components/close/actions/custom-action/custom-action.mjsOops! Something went wrong! :( ESLint: 8.57.1 Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'jsonc-eslint-parser' imported from /eslint.config.mjs 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (3)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. 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 using PR comments)
Other keywords and placeholders
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: 1
🔭 Outside diff range comments (2)
components/close/actions/update-lead/update-lead.mjs (1)
79-79:⚠️ Potential issueFix incorrect summary message for update action.
The summary message says "Lead has been created." but this is an update action, so it should say "Lead has been updated."
- $.export("$summary", "Lead has been created."); + $.export("$summary", "Lead has been updated.");components/close/actions/search-leads/search-leads.mjs (1)
25-33:⚠️ Potential issueRemove dead code that references undefined properties.
This code references properties (
this.name,this.url,this.statusId,this.contacts,this.addresses,this.moreFields) that are not defined in the props section. This appears to be leftover code from copy-pasting from create-lead or update-lead actions.- const data = {}; - if (this.name) data.name = this.name; - if (this.url) data.url = this.url; - if (this.statusId) data.status_id = this.statusId; - if (this.contacts) data.contacts = utils.parseObject(this.contacts); - if (this.addresses) data.addresses = utils.parseObject(this.addresses); - const moreFields = {}; - for (let key in this.moreFields) { - moreFields[key] = utils.parseObject(this.moreFields[key]); - }
🧹 Nitpick comments (2)
components/close/close.app.mjs (2)
22-22: Fix stray punctuation in 'contacts' description.
The example intro containse.g.:,(colon + comma), which is redundant. Replace it with a singlee.g.:.@@ components/close/close.app.mjs:22 - description: "Please provide an object structure for each row. e.g.:, \ + description: "Please provide an object structure for each row. e.g.: \
34-34: Fix stray punctuation in 'addresses' description.
Same issue here: changee.g.:,toe.g.:for clarity.@@ components/close/close.app.mjs:34 - description: "Please provide an object structure for each row. e.g.:,\ + description: "Please provide an object structure for each row. e.g.:\
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (10)
components/close/actions/create-lead/create-lead.mjs(1 hunks)components/close/actions/custom-action/custom-action.mjs(2 hunks)components/close/actions/search-leads/search-leads.mjs(2 hunks)components/close/actions/update-lead/update-lead.mjs(1 hunks)components/close/close.app.mjs(6 hunks)components/close/package.json(2 hunks)components/close/sources/custom-event/custom-event.mjs(1 hunks)components/close/sources/lead-status-changed/lead-status-changed.mjs(1 hunks)components/close/sources/new-lead/new-lead.mjs(1 hunks)components/close/sources/new-opportunity/new-opportunity.mjs(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (4)
- GitHub Check: Verify TypeScript components
- GitHub Check: pnpm publish
- GitHub Check: Publish TypeScript components
- GitHub Check: Lint Code Base
🔇 Additional comments (17)
components/close/sources/new-opportunity/new-opportunity.mjs (1)
8-8: Version bump to 0.1.1 is appropriate
This update correctly increments the component version to align with the coordinated release; no functional changes detected.components/close/sources/new-lead/new-lead.mjs (1)
8-8: Version bump to 0.1.1 is consistent
Aligns this component with the overall Close integration release plan. No logic or description changes.components/close/sources/custom-event/custom-event.mjs (1)
7-8: Description grammar refined & version bumped
The updated description reads more clearly, and the version increment to 0.1.1 matches the coordinated release.components/close/sources/lead-status-changed/lead-status-changed.mjs (1)
7-8: Description clarity improved & version bumped
Using the possessive form enhances readability, and updating to version 0.1.1 is aligned with the release strategy.components/close/package.json (2)
3-3: Release version updated to 0.1.1
The package version correctly reflects this patch release.
17-18: Major version upgrade of @pipedream/platform
You’ve bumped@pipedream/platformfrom^1.4.0to^3.0.3. Please verify that no breaking changes in v3 impact these components and run any necessary integration tests.components/close/actions/custom-action/custom-action.mjs (1)
8-8: LGTM! Good description improvements.The version bump and description clarifications improve the component's documentation and user experience.
Also applies to: 15-15, 27-27, 32-32, 38-38, 44-44
components/close/actions/update-lead/update-lead.mjs (1)
7-9: LGTM! Version bump and description improvements look good.The version increment and description clarification are appropriate for this maintenance update.
components/close/actions/create-lead/create-lead.mjs (1)
7-9: LGTM! Clean version bump and description improvement.The version increment and description clarification are consistent with the overall documentation improvements in this PR.
components/close/actions/search-leads/search-leads.mjs (1)
7-9: LGTM! Good improvements to version, descriptions, and summary message.The version bump, description clarifications, and improved singular/plural handling in the summary message are all positive changes.
Also applies to: 14-14, 60-62
components/close/close.app.mjs (7)
49-49: Grammar correction in 'moreFields' description.
Good catch updating "prop" to the plural "props" for accuracy.
107-107: Consistent trailing slash oncreateHookendpoint.
Adding/at the end of/webhook/ensures the API path matches Close’s routing conventions.
117-117: Consistent trailing slash ondeleteHookendpoint.
The trailing slash after${hookId}aligns with other webhook routes.
124-124: Consistent trailing slash onlistLeadsendpoint.
Updated to/lead/for uniformity with Close’s API.
131-131: Consistent trailing slash onlistLeadStatusendpoint.
Good to see/status/lead/now ends with a slash for consistency.
138-138: Consistent trailing slash oncreateLeadendpoint.
Maintaining the trailing slash on this POST route keeps route definitions uniform.
148-148: Consistent trailing slash onupdateLeadendpoint.
Ensures the PUT route/lead/${leadId}/matches the pattern used across other endpoints.
jcortes
left a comment
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.
Hi @michelle0927 lgtm! Ready for QA!
Resolves #16837
Summary by CodeRabbit
Documentation
Bug Fixes
Chores