-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Gorgias - new components #19274
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
base: master
Are you sure you want to change the base?
Gorgias - new components #19274
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
WalkthroughThis pull request introduces six new actions for ticket and macro management in the Gorgias OAuth component, adds corresponding API methods to the app client, and bumps versions across multiple existing actions and sources. The package version is incremented from 0.7.0 to 0.8.0. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Action as New Tag Action<br/>(add/list/set)
participant App as Gorgias App Client
participant API as Gorgias API
User->>Action: Invoke with ticketId & tagIds
Action->>App: Call tagManagement method<br/>(listTicketTags/addTicketTags/setTicketTags)
App->>API: HTTP GET/POST/PUT<br/>/tickets/{ticketId}/tags
API-->>App: Response (tags array/count)
App-->>Action: Return response
Action->>Action: Export summary<br/>(success message with tag count)
Action-->>User: Return API response
sequenceDiagram
participant User
participant Action as update-ticket-field-values
participant App as Gorgias App Client
participant API as Gorgias API
User->>Action: Invoke with ticketId & field values
Action->>App: listCustomFields()
App->>API: GET /custom-fields
API-->>App: Custom field definitions
Action->>App: listTicketFieldValues(ticketId)
App->>API: GET /tickets/{ticketId}/custom-fields
API-->>App: Existing field values
Action->>Action: Build data array<br/>(merge new + existing values,<br/>apply type conversions)
Action->>App: updateTicketFieldValues(ticketId, data)
App->>API: POST /tickets/{ticketId}/custom-fields
API-->>App: Success response
App-->>Action: Response
Action->>Action: Export summary
Action-->>User: Return response
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25–30 minutes
Possibly related PRs
Suggested labels
Pre-merge checks and finishing touches❌ Failed checks (1 warning, 2 inconclusive)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: ASSERTIVE Plan: Pro 📒 Files selected for processing (29)
🧰 Additional context used🧠 Learnings (2)📚 Learning: 2024-10-30T15:24:39.294ZApplied to files:
📚 Learning: 2025-10-20T01:01:02.970ZApplied to files:
🧬 Code graph analysis (4)components/gorgias_oauth/actions/list-ticket-tags/list-ticket-tags.mjs (6)
components/gorgias_oauth/actions/list-ticket-field-values/list-ticket-field-values.mjs (6)
components/gorgias_oauth/actions/set-ticket-tags/set-ticket-tags.mjs (5)
components/gorgias_oauth/actions/get-macro/get-macro.mjs (6)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
🔇 Additional comments (29)
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. Comment |
luancazarine
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!
|
Hello everyone, I have tested this PR and there're some test cases failed or needed improvement. Please check test reports below for more information:
|
Resolves #19170
Resolves #19169
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.