Skip to content

feat(gateway/plugins): Add plugin priority to info box#5509

Open
lena-larionova wants to merge 3 commits into
mainfrom
feat/plugin-priority
Open

feat(gateway/plugins): Add plugin priority to info box#5509
lena-larionova wants to merge 3 commits into
mainfrom
feat/plugin-priority

Conversation

@lena-larionova

@lena-larionova lena-larionova commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Description

Adding the plugin priority number to the info box on plugin overviews. We've had a few requests to make plugin priority more findable, so this aims to address this issue.

Also adding an info icon to link to pages that explain what each item in the info box is ("priority" on its own is confusing if you haven't seen that before, but useful to people that know what it is).

Preview Links

Any plugin, eg https://deploy-preview-5509--kongdeveloper.netlify.app/plugins/acl/

@lena-larionova lena-larionova requested a review from fabianrbz June 9, 2026 18:14
@lena-larionova lena-larionova requested a review from a team as a code owner June 9, 2026 18:14
Copilot AI review requested due to automatic review settings June 9, 2026 18:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 enhances plugin overview info boxes by surfacing each plugin’s static execution priority and adding “info” icon links to documentation that explains the displayed fields.

Changes:

  • Add a priority accessor to the plugin generator and expose it in generated page data.
  • Render a new “Priority” section in the plugin info box when priority is available.
  • Add info-icon links to the “Compatible Protocols” and “Topologies/Deployments” info box headings.

Reviewed changes

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

Show a summary per file
File Description
app/_plugins/generators/plugins/plugin.rb Adds a priority helper that reads from site.data.plugins.priorities for the relevant release.
app/_plugins/generators/plugins/pages/base.rb Adds priority to plugin page frontmatter/data so templates can render it.
app/_includes/info_box/sections/topologies.html Adds info-icon links for “Supported Gateway Topologies” and “Supported Konnect Deployments”.
app/_includes/info_box/sections/priority.html New section template to display plugin priority with a doc link.
app/_includes/info_box/sections/compatible_protocols.html Adds an info-icon link for “Compatible Protocols”.
app/_includes/info_box/plugin.html Renders the new priority section when page.priority is present.

Comment thread app/_includes/info_box/sections/compatible_protocols.html Outdated
Comment thread app/_includes/info_box/sections/priority.html Outdated
Comment thread app/_includes/info_box/sections/topologies.html Outdated
Comment thread app/_includes/info_box/sections/topologies.html Outdated
@netlify

netlify Bot commented Jun 9, 2026

Copy link
Copy Markdown

Deploy Preview for kongdeveloper ready!

Name Link
🔨 Latest commit 5eb8fea
🔍 Latest deploy log https://app.netlify.com/projects/kongdeveloper/deploys/6a29e8a785b1470008858248
😎 Deploy Preview https://deploy-preview-5509--kongdeveloper.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

lena-larionova and others added 2 commits June 9, 2026 11:18
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants