Repository navigation
fix(content): draw the Plan's mix bars to one scale, and open the page in its final layout - #1319
Merged
Merged
Conversation
…e in its final layout - "What AI cites in your topics" drew both shares on one track scaled to AI's largest share, so a type the brand leans on more than AI does (e.g. 35% · 73%) ran its bar past the track onto the shares column. The two shares are now two thin bars on one scale, the larger of the two, never past the track. - The list and the sections above it (AI results, the mix) were read and drawn apart, so the list showed mid-screen first and jumped down when the sections came in. The page now shows one spinner until both reads are in; a list that fails says so at once. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Collaborator
Author
|
@gkhngyk Two display fixes on the Content plan that the user saw on production. The mix's dark bar ran past its track when the brand's share was larger than AI's. And the page loaded in two jumps: the list first, then the sections above it. Web only; the description has the details and the checks. |
This was referenced Oct 21, 2026
8 of 12 tasks
gkhngyk
approved these changes
Oct 22, 2026
gkhngyk
left a comment
Contributor
There was a problem hiding this comment.
Looks good. The page now waits on both reads; content_plan_insights measured 0.3 s (30 days) to 1.5 s (90 days) on the largest brand as authenticated, so the single spinner costs little.
Tested on top of main together with #1327, #1319, #1330 and #1320: web 2,487 tests, server 2,006, tsc, lint and Prettier pass.
7 of 12 tasks
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
Two display bugs on the Content plan, both seen on production by the user.
Related issue
None. Reported in the app.
Type of change
feat— New featurefix— Bug fixchore— Maintenance / dependenciesdocs— Documentation onlyrefactor— Code change that neither fixes a bug nor adds a featuretest— Adding or updating testsHow to test
Checked at 1024 px and wider, in light and dark. Seen in the page: loaded → spinner → loaded, with no in-between state.
Checklist
feature/,fix/,chore/,docs/) — see CONTRIBUTING.mdyarn lintpasses (run fromweb/): no errors; the 6 warnings are in files this PR does not touchyarn typecheckpasses (run fromweb/)yarn format:checkpasses (run fromweb/)Also run:
yarn test(2,484 tests; new ones cover the bar widths on one scale and the single spinner until both reads are in) andyarn build. Web only, no migration, no new dependency.🤖 Generated with Claude Code