Repository navigation
Conversation
|
The shape is right — the overlay matches the Insights pattern the issue pointed at, and hoisting Two things to fix before merge: 1. The KPI grid and the Sources card lose their spacing. They used to be direct children of the page's 2. A failing Two smaller ones while you're in there: |
gkhngyk
left a comment
There was a problem hiding this comment.
Marking this as requested changes so it doesn't look ready to merge — the two items above (the lost space-y-6 on the new wrapper, and the uncaught brandHasCitations rejection leaving the tables on the endless "Checking citation data…" spinner) are the blockers. Ping me once they're in and I'll take another look.
|
@gkhngyk I have made the changes please check and let me know if you find any issues |
gkhngyk
left a comment
There was a problem hiding this comment.
All four addressed, and the catch does the right thing — settling loadFailed is what keeps the tables off the endless "Checking citation data…" spinner. Thanks!
* fix(citations): keep content visible during refetch * fix(citations): address review feedback
Summary
Updated the Citations page so existing content remains visible while citation data is being refetched.
Previously, every filter/date change replaced the page content with the full skeleton. Now:
brandHasCitationsout ofloadDataso it is fetched once per brand instead of on every filter change.Related issue
Closes #656
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 testsChecklist
feature/,fix/,chore/,docs/) — see https://github.com/ansvisor/ansvisor/blob/main/CONTRIBUTING.mdyarn lintpasses (run fromweb/)yarn typecheckpasses (run fromweb/)yarn format:checkpasses (run fromweb/)