Repository navigation
ux(brands): slim brand list card to nav-menu shape (#154) - #156
Merged
Merged
Conversation
Strip the brand card down to avatar + name + domain + three nav rows (Add Topics, Add Prompts, Settings). Each row navigates to its destination and sets the active brand in the store. Topics and Prompts rows also expose a trailing + button that jumps to the new #add-topic / #add-prompt anchors on the destination pages so users can land directly on the add form. Drops the gradient cover, visibility hero, 3-stat strip, sparkline, View Insights CTA, StatusPill, and the dropdown menu — those live on the Insights page, which is one click away. getBrandsCardSummary call is removed from the brands list page since the card no longer consumes the summary; the action itself is kept for other potential callers per the issue.
This branch was successfully deployed
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.
Closes #154.
Summary
/dashboard/brandscard down to avatar + name + primary domain plus three full-width nav rows: Add Topics, Add Prompts, Settings.<Link>(so middle-click → new tab works) and callssetActiveBrandon click.+button that jumps to the destination page's add form via the new#add-topic/#add-promptanchors. Settings keeps the chevron — it has no quick-add equivalent.getBrandsCardSummarycall removed from the brands list page sinceBrandCardno longer consumes it. The action itself stays inbrand.tsper the issue's "leave the action in place" note.Acceptance criteria
ring-2 ring-primaryoutlineyarn tsc --noEmit+yarn lintcleansummaryprop dropped fromBrandCardProps,getBrandsCardSummarycall removed from the list pageTest plan
/dashboard/brandsshows the slim cards with hover + active-ring states intact/dashboard/brands/<id>/topicswith that brand active in the store+next to "Add Topics" → lands on the same page scrolled to the Add Topic input+/dashboard/brands/<id>/settings