Skip to content

chore(dashboard): remove the "Make an alias" button from model details - #522

Merged
njbrake merged 1 commit into
mainfrom
chore/remove-make-alias-button
Aug 6, 2026
Merged

chore(dashboard): remove the "Make an alias" button from model details#522
njbrake merged 1 commit into
mainfrom
chore/remove-make-alias-button

Conversation

@njbrake

@njbrake njbrake commented Aug 6, 2026

Copy link
Copy Markdown
Member

Description

Removes the "Make an alias" button from the model detail panel on the Models page. "Alias" is deprecated terminology, and the panel did not need a shortcut into the Routing page: the panel is about a model's pricing and specs, and routing is managed on its own page.

The button was the only in-app source of the Routing page's ?target=provider:model deep link, but that link stays supported since it is a valid URL entry point on its own. Only the comment naming the button changed there.

Source diff is 3 lines added, 10 removed across two files. The rest of the diff is the rebuilt dashboard bundle, which is committed. Every chunk filename changes because the shared index-*.js content hash shifted and cascaded through the import graph; chunk contents are otherwise unchanged (verified by diffing a sample chunk against the previous bundle).

PR Type

  • New Feature
  • Bug Fix
  • Refactor
  • Documentation
  • Infrastructure / CI

Relevant issues

None; requested directly.

Checklist

  • I understand the code I am submitting.
  • I have added or updated tests that cover my change (tests/unit, tests/integration). Deliberately skipped: the change only deletes a UI affordance and its dead props, and a test asserting a button's absence is not worth carrying.
  • I ran the Definition of Done checks locally (make lint, make typecheck, npm --prefix web run typecheck, npm --prefix web test, npm --prefix web run build).
  • Documentation was updated where necessary. No docs referenced the button.
  • If the API contract changed, I regenerated the OpenAPI spec (uv run python scripts/generate_openapi.py). No API change, so nothing to regenerate.

AI Usage

  • No AI was used.
  • AI was used for drafting/refactoring.
  • This is fully AI-generated.

AI Model/Tool used:

Claude Opus 5 via Claude Code.

Any additional AI details you'd like to share:

Claude made the edit and ran the checks; the decision to remove the button and to skip a test for it was @njbrake's.

NOTE:
When responding to reviewer questions, please respond yourself rather than copy/pasting reviewer comments into an AI and pasting back its answer. We want to discuss with you, not your AI :)

  • I am an AI Agent filling out this form (check box if true)

Summary

  • Removed the “Make an alias” button from the model details panel.
  • Removed the unused alias navigation logic.
  • Updated the Routing page comment to describe generic ?target=provider:model prefilling.
  • Rebuilt the dashboard bundle with updated hashed asset references.

This keeps routing management on the Routing page and removes deprecated alias terminology.

Technical notes

  • No API or documentation changes were required.
  • Lint, typecheck, test, and build checks passed.

@njbrake
njbrake temporarily deployed to integration-tests August 6, 2026 15:59 — with GitHub Actions Inactive
@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@njbrake, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 30 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 6f2f37fd-f62b-40c4-900a-fa062fde2d73

📥 Commits

Reviewing files that changed from the base of the PR and between af2137c and 3d24bd4.

📒 Files selected for processing (20)
  • src/gateway/static/dashboard/assets/ActivityPage-CHnjo06U.js
  • src/gateway/static/dashboard/assets/BudgetsPage-H5EC9TjF.js
  • src/gateway/static/dashboard/assets/ConfirmDialog-DzIVWoi5.js
  • src/gateway/static/dashboard/assets/DocsPage-DT-vQq9F.js
  • src/gateway/static/dashboard/assets/KeysPage-CtY-9BqY.js
  • src/gateway/static/dashboard/assets/ModelScopeControl-dT2wvSYp.js
  • src/gateway/static/dashboard/assets/ModelsPage-Ajshyf-I.js
  • src/gateway/static/dashboard/assets/ModelsPage-BHrGQHDE.js
  • src/gateway/static/dashboard/assets/OverviewPage-B5D-L-_p.js
  • src/gateway/static/dashboard/assets/ProvidersPage-Jb_jxGkj.js
  • src/gateway/static/dashboard/assets/RoutingPage-CD9-r0aL.js
  • src/gateway/static/dashboard/assets/SettingsPage-BtoAJ9Y8.js
  • src/gateway/static/dashboard/assets/TablePagination-Bnlr8FbD.js
  • src/gateway/static/dashboard/assets/ToolsGuardrailsPage-DNC3Wa-x.js
  • src/gateway/static/dashboard/assets/UsagePage-pCJIBBUc.js
  • src/gateway/static/dashboard/assets/UsersPage-CRNgQ9x1.js
  • src/gateway/static/dashboard/assets/index-BE7E0N2z.js
  • src/gateway/static/dashboard/index.html
  • web/src/pages/ModelsPage.tsx
  • web/src/pages/RoutingPage.tsx

Walkthrough

Changes

The dashboard removes model alias creation navigation, adds bundled DocsPage and ModelsPage assets, and updates generated hashed asset references across dashboard chunks and index.html.

Dashboard update

Layer / File(s) Summary
Remove model alias navigation
web/src/pages/ModelsPage.tsx, web/src/pages/RoutingPage.tsx
Removes the model detail alias action and navigation wiring. Updates the deep-link comment.
Bundle dashboard pages
src/gateway/static/dashboard/assets/DocsPage-DXCL4o09.js, src/gateway/static/dashboard/assets/ModelsPage-DKeK8TCr.js, src/gateway/static/dashboard/assets/ModelsPage-uwVSUUQm.js
Adds the bundled documentation and model management pages. Removes the previous ModelsPage bundle.
Regenerate dashboard asset graph
src/gateway/static/dashboard/assets/*, src/gateway/static/dashboard/index.html
Updates shared imports, lazy-loaded chunk paths, preload metadata, and the dashboard entry asset.

Estimated code review effort: 4 (Complex) | ~45 minutes

Possibly related PRs

Suggested reviewers: khaledosman

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.36% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title uses the chore prefix, imperative wording, stays at 70 characters, and accurately describes the removed model-details button.
Description check ✅ Passed The description includes all required sections, explains the change and scope, records checklist results, and documents AI usage.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/remove-make-alias-button
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch chore/remove-make-alias-button

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai
coderabbitai Bot requested a review from khaledosman August 6, 2026 16:00
"Alias" is deprecated terminology, and the model detail panel did not need
a shortcut into the Routing page: the panel is about a model's pricing and
specs, and routing is managed on its own page.

Removing the button leaves the panel's onMakeAlias prop, the ModelsPage
useNavigate hook, and the react-router import unused, so those go too. The
Routing page keeps honoring ?target=provider:model as a deep link, since
that is a valid URL entry point independent of the button; only its comment
naming the button is updated.

Rebuilds the committed dashboard bundle. Every chunk filename changes
because the shared index chunk's content hash shifted and cascaded through
the import graph; chunk contents are otherwise unchanged.
@njbrake
njbrake force-pushed the chore/remove-make-alias-button branch from 3588317 to 3d24bd4 Compare August 6, 2026 16:23
@njbrake
njbrake had a problem deploying to integration-tests August 6, 2026 16:23 — with GitHub Actions Failure
@njbrake
njbrake merged commit e507992 into main Aug 6, 2026
4 of 7 checks passed
@njbrake
njbrake deleted the chore/remove-make-alias-button branch August 6, 2026 16:23
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.

1 participant