fix(sidebar): align workspace header loading-state spacing with chip geometry#5717
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryLow Risk Overview The disabled placeholder button no longer uses hand-rolled pill classes ( Reviewed by Cursor Bugbot for commit 0ddb7cf. Configure here. |
Greptile SummaryThis PR aligns the loading workspace header with the shared chip geometry. The main changes are:
Confidence Score: 5/5This looks safe to merge.
Important Files Changed
Reviews (1): Last reviewed commit: "fix(sidebar): align workspace header loa..." | Re-trigger Greptile |
Summary
gap-2(8px), while the loaded state renders throughchipVariants()whose canonical geometry isgap-1.5(6px) — so the icon-to-name spacing visibly shifted 2px when the workspace list finished loadingchipGeometryClass(exported for exactly this case: matching chip shape without inheriting hover/cursor chrome), keeping themx-0.5and collapsed/expanded flex handlingType of Change
Testing
Verified empirically against the emcn tokens (
chipContentGap = 'gap-1.5'vs the hand-rolledgap-2); typecheck and lint passChecklist