feat(ui): flag experimental dashboard pages on the draft deprecation list - #32132
Conversation
…list Add a subtle, dismissible info banner to each dashboard surface named in the draft deprecation discussion (Workflows, Memory, Prompt Management, the old Usage page, the API Reference tab, the Playground Agent Builder tab, and MCP Network Settings). The banner links to discussion #32090 and states the list is a draft and not final.
Greptile SummaryThis PR adds a dismissible informational
Confidence Score: 5/5Safe to merge — pure UI addition that prepends a read-only informational banner to experimental pages with no changes to data fetching, API calls, or authentication. The change is entirely additive: a new stateless display component is added and wrapped around existing page content without modifying any underlying logic. Both previously flagged issues (date not extracted, redundant default export) are addressed in the current version. No backend, auth, or routing code is touched. No files require special attention.
|
| Filename | Overview |
|---|---|
| ui/litellm-dashboard/src/components/DeprecationBanner.tsx | New reusable component: antd Alert (type=info, closable) with both URL and date extracted to named constants; single named export only. |
| ui/litellm-dashboard/src/app/(dashboard)/playground/page.tsx | Banner correctly scoped inside the Agent Builder TabPanel so it only shows when that tab is active. |
| ui/litellm-dashboard/src/components/mcp_tools/MCPNetworkSettings.tsx | Banner added at the top of the settings panel using a relative import path; no logic changes. |
| ui/litellm-dashboard/src/app/(dashboard)/workflows/page.tsx | Wraps existing WorkflowRuns in a Fragment with the banner prepended; no logic changes. |
| ui/litellm-dashboard/src/app/(dashboard)/memory/page.tsx | Wraps existing MemoryView in a Fragment with the banner prepended; no logic changes. |
| ui/litellm-dashboard/src/app/(dashboard)/old-usage/page.tsx | Wraps existing Usage component in a Fragment with the banner prepended; no logic changes. |
| ui/litellm-dashboard/src/app/(dashboard)/prompts/page.tsx | Wraps existing PromptsPanel in a Fragment with the banner prepended; no logic changes. |
| ui/litellm-dashboard/src/app/(dashboard)/api-reference/page.tsx | Wraps existing APIReferenceView in a Fragment with the banner prepended; no logic changes. |
Reviews (3): Last reviewed commit: "fix(ui): render DeprecationBanner intro ..." | Re-trigger Greptile
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
|
@greptileai re review |
Switch the discussion link from a raw <a> to next/link's <Link>, and wire the DEPRECATION_TARGET_DATE constant into the copy so it is no longer unused. Also removes the trailing blank line that was failing the frontend prettier check.
…cing Interpolating featureName and the target date directly in JSX let prettier wrap an expression onto its own line, which drops the adjacent space in the rendered output. Build the intro as a single template literal so spacing is stable.
|
@greptileai re review |
Relevant issues
Draft deprecation discussion: #32090
Linear ticket
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
@greptileaiand received a Confidence Score of at least 4/5 before requesting a maintainer reviewDelays in PR merge?
If you're seeing a delay in your PR being merged, ping the LiteLLM Team on Slack (#pr-review).
Screenshots / Proof of Fix
This is a UI-only change. To verify, run the dashboard and visit each page below; a light blue, dismissible info banner should appear at the top linking to the discussion, and the copy makes clear the list is a draft and not final
Type
🆕 New Feature
Changes
The draft deprecation list in discussion #32090 proposes retiring several experimental dashboard features on September 1, 2026. This adds a low-key heads-up on each affected page so users find out in-product without it being blatant, and can weigh in before anything is final
A single reusable
DeprecationBannercomponent renders an antdAlert(type="info",showIcon,closable) that names the feature, notes it is on a draft list that is not final, and links to the discussion. It is placed on Workflows, Memory, Prompt Management, the old Usage page, the API Reference tab, the Playground's Agent Builder tab, and the MCP Network Settings tab (which also covers the internal-network-only flag)Two open questions for reviewers. First, "Learning Resources" is also on the draft list but it is a sidebar link to the external cookbook rather than a dashboard page, so there is nowhere to host a banner; it is left untouched for now. Second, the banner reappears on every visit since dismissal is not persisted; happy to switch to remembered dismissal or a yellow warning style if preferred