AB#32452 remove prompt tools panel#2413
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR removes the internal “Prompt Tools” debug panel from the Grant Application details page and updates remaining AI-generation entry points to rely on backend defaults (rather than a UI-selected prompt version override).
Changes:
- Removes the Prompt Tools tab/panel UI and associated JS/CSS from Grant Application details.
- Deletes the Prompt Tools access provider contract/implementation that gated panel visibility.
- Updates AI generation requests (analysis/scoring/attachment summaries) to stop passing
promptVersionfrom the UI.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| applications/Unity.GrantManager/src/Unity.GrantManager.Web/Views/Shared/Components/ReviewList/ReviewList.js | Removes prompt-version override from AI scoring queue/status polling in the review list. |
| applications/Unity.GrantManager/src/Unity.GrantManager.Web/Views/Shared/Components/ChefsAttachments/ChefsAttachments.js | Removes promptVersion query-string override when generating attachment summaries. |
| applications/Unity.GrantManager/src/Unity.GrantManager.Web/Views/Shared/Components/AssessmentScoresWidget/Default.js | Stops passing promptVersion during scoring queue/status checks (but see blocking comment about queuing endpoint). |
| applications/Unity.GrantManager/src/Unity.GrantManager.Web/Pages/GrantApplications/Details.js | Removes Prompt Tools helper functions, polling/copy UI logic, and related PubSub hooks. |
| applications/Unity.GrantManager/src/Unity.GrantManager.Web/Pages/GrantApplications/Details.css | Removes Prompt Tools panel styling. |
| applications/Unity.GrantManager/src/Unity.GrantManager.Web/Pages/GrantApplications/Details.cshtml.cs | Removes Prompt Tools access provider dependency and related page model properties. |
| applications/Unity.GrantManager/src/Unity.GrantManager.Web/Pages/GrantApplications/Details.cshtml | Removes Prompt Tools tab markup and content from the details page UI. |
| applications/Unity.GrantManager/src/Unity.GrantManager.Web/Pages/GrantApplications/ai-analysis.js | Removes prompt-version override from AI analysis queue/status polling. |
| applications/Unity.GrantManager/modules/Unity.AI/src/Unity.AI.Web/PromptTools/IAIPromptToolAccessProvider.cs | Deletes Prompt Tools access-provider contract. |
| applications/Unity.GrantManager/modules/Unity.AI/src/Unity.AI.Web/PromptTools/AIPromptToolAccessProvider.cs | Deletes Prompt Tools access-provider implementation. |
89f3a59 to
e97cbc5
Compare
|
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.



Pull request overview
Removes the Grant Application Prompt Tools panel introduced for REDIP prompt testing/reporting work.
The internal prompt/debug surface is no longer rendered or loaded from the Grant Application details page. Normal AI generation entry points remain available from their existing UI surfaces and now use backend prompt defaults directly instead of panel-driven prompt-version overrides.
Changes: