fix(ui): Display prompt_id in admin panel prompts page#2688
Merged
crivetimihai merged 1 commit intomainfrom Feb 6, 2026
Merged
fix(ui): Display prompt_id in admin panel prompts page#2688crivetimihai merged 1 commit intomainfrom
crivetimihai merged 1 commit intomainfrom
Conversation
gcgoncalves
approved these changes
Feb 5, 2026
Collaborator
There was a problem hiding this comment.
Tested locally and the IDs are displayed correctly. One minor suggestion (non-blocker):
The new Prompt ID block uses a span for the label and a div for the value. This renders correctly, but screen readers cannot infer that these two elements are related. To improve accessibility without changing the visual layout or introducing
Option A (aria-labelledby):
Prompt ID:
Option B (role=group):
Prompt ID:
1b542c3 to
861ca61
Compare
Add Prompt ID visibility to the admin panel's Prompts page: - Added "Prompt ID" column header in the prompts table - Display prompt.id in the table row with monospace styling - Added "Prompt ID" field as the first item in the view prompt modal Closes #2656 Signed-off-by: rakdutta <rakhibiswas@yahoo.com> Signed-off-by: Mihai Criveti <crivetimihai@gmail.com>
419d383 to
11ae3b5
Compare
crivetimihai
approved these changes
Feb 6, 2026
kcostell06
pushed a commit
to kcostell06/mcp-context-forge
that referenced
this pull request
Feb 24, 2026
Add Prompt ID visibility to the admin panel's Prompts page: - Added "Prompt ID" column header in the prompts table - Display prompt.id in the table row with monospace styling - Added "Prompt ID" field as the first item in the view prompt modal Closes IBM#2656 Signed-off-by: rakdutta <rakhibiswas@yahoo.com> Signed-off-by: Mihai Criveti <crivetimihai@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #2656
🐛 Bug Fix: Display Prompt ID in Admin UI
Summary
Adds prompt_id visibility to the MCP Gateway admin panel's Prompts page, enabling developers to easily identify prompt IDs for plugin configuration without requiring direct database queries.
1. Prompts Table (
mcpgateway/templates/prompts_partial.html)2. View Prompt Modal (
mcpgateway/static/admin.js)setText(".prompt-id", prompt.id || "N/A")Visual Changes
Before:
After:
Testing Recommendations
Files Modified
mcpgateway/templates/prompts_partial.html- Added table columnmcpgateway/static/admin.js- Added view modal field