Skip to content

Conversation

@Ayeshas09
Copy link
Contributor

This PR adds support for the following flags in the portal toc new command:

--expand-webhooks
--expand-callbacks

@Ayeshas09 Ayeshas09 changed the base branch from beta to dev October 7, 2025 12:53
@asadali214 asadali214 self-assigned this Oct 8, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for webhooks and callbacks in the table of contents (TOC) generation by introducing two new flags --expand-webhooks and --expand-callbacks to the portal toc new command.

  • Adds new TOC types for webhooks and callbacks with group overview support
  • Extracts webhook and callback data from SDL specification files
  • Integrates webhook and callback support into the TOC structure generation process

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/utils/utils.ts Adds utility functions for title case conversion and unique group name generation
src/types/toc/toc.ts Defines new webhook and callback TOC interfaces and types
src/types/sdl/sdl.ts Extends SDL types and adds extraction functions for webhooks and callbacks
src/prompts/portal/toc/new-toc.ts Updates prompts to handle multiple component types
src/commands/portal/toc/new.ts Adds CLI flags for expanding webhooks and callbacks
src/application/portal/toc/toc-structure-generator.ts Integrates webhook and callback support into TOC structure generation
src/actions/portal/toc/new-toc.ts Updates action to handle new webhook and callback parameters

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@asadali214 asadali214 marked this pull request as ready for review October 8, 2025 07:48
@asadali214 asadali214 requested a review from Copilot October 8, 2025 07:53
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@asadali214 asadali214 changed the title add webhooks and callbacks support in toc feat: add support to expand webhooks and callbacks in toc Oct 8, 2025
@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 4, 2025

@Shield-Jaguar Shield-Jaguar changed the base branch from dev to beta November 7, 2025 07:04
@Shield-Jaguar Shield-Jaguar changed the base branch from beta to dev November 7, 2025 07:07
@Ayeshas09 Ayeshas09 merged commit 2ebb414 into dev Nov 7, 2025
6 checks passed
@Ayeshas09 Ayeshas09 deleted the ayeshas09/add-webhooks-callbacks-support branch November 7, 2025 07:09
@asadali214 asadali214 linked an issue Nov 7, 2025 that may be closed by this pull request
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.

[TOC-NEW] Add support for --expand-events flag in toc new command

4 participants