Skip to content

AB#32452 remove prompt tools panel#2413

Merged
JamesPasta merged 2 commits into
devfrom
feature/AB#32452-delete-prompt-tools-panel
May 7, 2026
Merged

AB#32452 remove prompt tools panel#2413
JamesPasta merged 2 commits into
devfrom
feature/AB#32452-delete-prompt-tools-panel

Conversation

@jacobwillsmith
Copy link
Copy Markdown
Contributor

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:

  • Removes the Prompt Tools tab and panel markup from Grant Application details
  • Removes Prompt Tools output/copy/loading JavaScript and CSS
  • Removes the unused Prompt Tools access provider and contract
  • Removes stale UI prompt-version override lookups from normal AI generation buttons

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

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 promptVersion from 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.

@jacobwillsmith jacobwillsmith force-pushed the feature/AB#32452-delete-prompt-tools-panel branch from 89f3a59 to e97cbc5 Compare May 7, 2026 15:54
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 7, 2026

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

🧪 Unit Test Results (Parallel Execution)

Tests

📊 Summary

Result Count
✅ Passed 632
❌ Failed 0
⚠️ Skipped 0

📄 HTML Reports

  • Merged Tests (HTML): Included in artifacts
    Generated automatically by CI.

@jacobwillsmith jacobwillsmith marked this pull request as ready for review May 7, 2026 16:05
@JamesPasta JamesPasta merged commit 8af8b95 into dev May 7, 2026
25 checks passed
@JamesPasta JamesPasta deleted the feature/AB#32452-delete-prompt-tools-panel branch May 7, 2026 18:16
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.

3 participants