Skip to content

Account for changed list extensions API response#494

Merged
nscuro merged 1 commit intomainfrom
extensions-response-structure
Apr 21, 2026
Merged

Account for changed list extensions API response#494
nscuro merged 1 commit intomainfrom
extensions-response-structure

Conversation

@nscuro
Copy link
Copy Markdown
Member

@nscuro nscuro commented Apr 21, 2026

Description

Accounts for changed list extensions API response.

The array field is now names "items" instead of "extensions", analogue to how all other collection resources work in API v2.

Addressed Issue

N/A

Additional Details

API server PR: DependencyTrack/hyades-apiserver#2012

Checklist

The array field is now names "items" instead of "extensions", analogue to how all other collection resources work in API v2.

Signed-off-by: nscuro <nscuro@protonmail.com>
@nscuro nscuro added this to the 5.7.0 milestone Apr 21, 2026
Copilot AI review requested due to automatic review settings April 21, 2026 17:43
@nscuro nscuro added the enhancement New feature or request label Apr 21, 2026
@codacy-production
Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity

Metric Results
Complexity 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes. Give us feedback

Copy link
Copy Markdown
Contributor

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

Updates the frontend to match an API v2 response change for listing notification publisher extensions, where the collection field is now items instead of extensions.

Changes:

  • Update notification publisher extension list handling to read from response.data.items.
  • Adjust template creation modal to populate available extensions from items.
  • Update admin menu extension loading logic to use items for extension-point collections.

Reviewed changes

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

File Description
src/views/administration/notifications/Publishers.vue Reads the notification publisher extensions collection from response.data.items.
src/views/administration/notifications/CreateTemplateModal.vue Uses items to populate the extension selector for template creation.
src/views/administration/AdminMenu.vue Switches extension-point menu population to use response.data.items.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/views/administration/AdminMenu.vue
Comment thread src/views/administration/notifications/Publishers.vue
Comment thread src/views/administration/notifications/CreateTemplateModal.vue
@nscuro nscuro merged commit 1e4bbf1 into main Apr 21, 2026
10 checks passed
@nscuro nscuro deleted the extensions-response-structure branch April 21, 2026 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants