Skip to content

Conversation

@luancazarine
Copy link
Collaborator

@luancazarine luancazarine commented Nov 25, 2025

Resolves #19179

Summary by CodeRabbit

  • New Features

    • Added "Get Ticket Status" action to retrieve a ticket status by ID
    • Added "List Ticket Statuses" action to list all ticket statuses
    • Added a Ticket Status ID selector for easier configuration
  • Chores

    • Incremented version metadata across numerous FrontApp actions and sources for a coordinated release

✏️ Tip: You can customize this high-level summary in your review settings.

- Introduced new actions for retrieving and listing ticket statuses.
- Added `getTicketStatus` and `listTicketStatuses` methods to the Frontapp component.
- Enhanced prop definitions for ticket status ID with async options for better integration.
- Updated documentation links for the new actions to improve usability.
@luancazarine luancazarine linked an issue Nov 25, 2025 that may be closed by this pull request
@vercel
Copy link

vercel bot commented Nov 25, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
pipedream-docs Ignored Ignored Nov 25, 2025 6:23pm
pipedream-docs-redirect-do-not-edit Ignored Ignored Nov 25, 2025 6:23pm

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 25, 2025

Warning

Rate limit exceeded

@luancazarine has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 3 minutes and 24 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 5893532 and 6045caa.

📒 Files selected for processing (1)
  • components/frontapp/package.json (1 hunks)

Walkthrough

Adds ticket-status support for the FrontApp integration: two new actions (list and get ticket statuses) and corresponding app methods and a propDefinition in the FrontApp app module to list and fetch company ticket statuses.

Changes

Cohort / File(s) Change Summary
New Ticket Status Actions
components/frontapp/actions/get-ticket-status/get-ticket-status.mjs, components/frontapp/actions/list-ticket-statuses/list-ticket-statuses.mjs
Added "Get Ticket Status" action (calls frontApp.getTicketStatus) and "List Ticket Statuses" action (calls frontApp.listTicketStatuses); both export summaries and return API responses.
FrontApp Module Extension
components/frontapp/frontapp.app.mjs
Added ticketStatusId propDefinition with async options resolving via listTicketStatuses, plus getTicketStatus(...) and listTicketStatuses(...) methods that call /company/statuses/{id} and /company/statuses respectively.
Version bumps across actions & sources
components/frontapp/actions/..., components/frontapp/sources/...
Multiple action and source modules had their version fields incremented (various files under components/frontapp/actions/* and components/frontapp/sources/*) with no logic changes.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  participant Action as Action (list/get ticket statuses)
  participant App as FrontApp app
  participant API as Front API (/company/statuses)

  Note over Action,App: Start action run()
  Action->>App: call listTicketStatuses({ $ }) or getTicketStatus({ ticketStatusId, $ })
  activate App
  App->>API: GET /company/statuses or GET /company/statuses/{id}
  API-->>App: 200 OK (statuses or status)
  deactivate App
  App-->>Action: returns response
  Note over Action: action exports summary and returns API response
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

  • Pay attention to the new propDefinition options resolver mapping (value/label).
  • Verify method URL construction and parameter passing in getTicketStatus.
  • Spot-check a few of the many version-only bumps to ensure no unintended edits.

Suggested labels

User submitted

Suggested reviewers

  • michelle0927

Pre-merge checks and finishing touches

❌ Failed checks (1 warning, 1 inconclusive)
Check name Status Explanation Resolution
Out of Scope Changes check ⚠️ Warning The PR includes version bumps across 24 existing Frontapp action and source files, which are unrelated to the linked issue's core objective of adding ticket status actions. Remove version bump changes for unrelated files (add-comment, archive-conversation, assign-conversation, etc.) and focus the PR on only the ticket status action implementations.
Description check ❓ Inconclusive The PR description is minimal, containing only 'Resolves #19179', but lacks the required WHY section from the template. However, the linked issue provides sufficient context about the objectives. Complete the PR description by adding a WHY section explaining the motivation and context for adding ticket status actions to the Frontapp component.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: adding ticket status-related actions to the Frontapp component, which aligns with the primary objective of the PR.
Linked Issues check ✅ Passed The PR successfully implements both required objectives: a list ticket statuses action (list-ticket-statuses.mjs) and a get ticket status action (get-ticket-status.mjs), with supporting API methods and prop definitions in frontapp.app.mjs.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a 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

📜 Review details

Configuration used: CodeRabbit UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 8af1783 and 8e6f2f3.

📒 Files selected for processing (3)
  • components/frontapp/actions/get-ticket-status/get-ticket-status.mjs (1 hunks)
  • components/frontapp/actions/list-ticket-statuses/list-ticket-statuses.mjs (1 hunks)
  • components/frontapp/frontapp.app.mjs (2 hunks)
⏰ 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). (4)
  • GitHub Check: Publish TypeScript components
  • GitHub Check: Verify TypeScript components
  • GitHub Check: pnpm publish
  • GitHub Check: Lint Code Base
🔇 Additional comments (4)
components/frontapp/actions/list-ticket-statuses/list-ticket-statuses.mjs (1)

1-26: List Ticket Statuses action matches existing patterns and looks correct

  • Imports the app, wires frontApp prop, calls this.frontApp.listTicketStatuses({ $ }), and returns _results with a clear $summary.
  • Summary pluralization and read‑only annotations are appropriate.
components/frontapp/frontapp.app.mjs (2)

514-521: getTicketStatus helper matches existing method conventions

getTicketStatus is a thin wrapper around makeRequest, taking { ticketStatusId, ...args } and building the expected /company/statuses/{ticketStatusId} path, consistent with other getX methods in this app.


528-533: listTicketStatuses helper is consistent with other list helpers

listTicketStatuses simply calls makeRequest with the /company/statuses path and forwards options. This matches the structure of listTags, listTeammates, etc., so pagination and option loading via paginateOptions will work as expected.

components/frontapp/actions/get-ticket-status/get-ticket-status.mjs (1)

1-31: Get Ticket Status action is correctly implemented and integrated

  • Reuses the shared ticketStatusId propDefinition, ensuring options come from listTicketStatuses.
  • Calls the new getTicketStatus helper and exports a concise, informative $summary.
  • Typing, annotations, and structure align with other Front actions.

…functionality

- Bumped version numbers for various actions including add-comment, archive-conversation, assign-conversation, create-draft, create-draft-reply, get-comment, and others to 0.0.6.
- Updated create-inbox, list-message-templates, and get-message versions to 0.0.5.
- Increased import-message and update-conversation versions to 0.1.12 and 0.1.11 respectively.
- Enhanced new-conversation-created and new-message-template-created versions to 0.0.6.
- Incremented new-conversation-state-change and new-conversation-tag versions to 0.0.8.
- Ensured all changes align with the latest documentation and improve overall integration.
Copy link
Collaborator

@lcaresia lcaresia left a comment

Choose a reason for hiding this comment

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

LGTM!

@vunguyenhung
Copy link
Collaborator

Hi everyone, all test cases are passed! Ready for release!

Test reports

@luancazarine luancazarine merged commit 803a3e2 into master Nov 28, 2025
10 checks passed
@luancazarine luancazarine deleted the 19179-action-front---statuses branch November 28, 2025 21:22
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.

[ACTION] Front - Statuses

4 participants