dashboard: strip dev API banners + retire /stacks dupe + hide /team nav#31
Merged
Conversation
User-facing dashboard had ContractBanner blocks ("GET /api/v1/resources ·
returns {ok: true, items: Resource[]} · Backed by resourcesH.List() ...")
on every page — that's internal dev docs that shouldn't ship to users.
Stripped from ResourcesPage, BillingPage, DeploymentsPage,
DeployDetailPage, ResourceDetailPage, TeamPage. ContractsPage keeps
them — that page IS the design-ref artifact and is meant for internal use.
Other cleanup landing in this same PR:
• Delete /app/stacks duplicate route + StacksPage.tsx — same data as
/app/deployments. UI calls them "Deployments" (user language); API
stays /api/v1/stacks (existing). One page, one route.
• Hide /app/team NavRow from sidebar — team-management features
(invitations, role changes) haven't fully shipped yet. The route
still resolves for direct-URL access.
• Replace PAGE_META /resources/:id hardcoded "flashcards-db" title
with the generic "Resource" so the H1 isn't a lie.
• Replace PAGE_META /deployments/:id hardcoded "flashcards" title
with the generic "Deployment".
Tests: 162/165 pass (3 pre-existing skips), tsc clean.
The three FIXTURE_BILLING / FIXTURE_INVOICES fallback tests in
api/index.test.ts were updated to assert error propagation instead of
fallback behavior — concurrent §10.21.1 work removed those fallbacks
from src/api/index.ts and the tests now describe reality.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.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.
Summary
Note: branch is misnamed because a stopped concurrent agent's
git checkout -b caching-layer-2026-05-12claimed HEAD before this commit landed. The diff is purely the banner strip + stacks/team nav cleanup — no caching layer work in this PR.Test plan
🤖 Generated with Claude Code