Wildcard: `<Card />` migration
Created by: umpox
closes https://github.com/sourcegraph/sourcegraph/issues/27681
Description
Automated migration of the card card-*
styles to the <Card />
WIldcard component. Powered by this codemod: https://github.com/sourcegraph/codemod/pull/73 (This PR is basically super rough as it just required tweaking an existing codemod to migrate. Migration is priority here, will cleanup codemod afterwards)
This PR:
- Fully migrates usage of Bootstrap
card-*
classes to the Wildcard<Card />
component - Removes global Card styles and classNames
- Adds
CardFooter
Wildcard component - Some styling tweaks
Notes
- The original Card migration involved tweaking the UI to match the Wildcard redesign Card styles. It means there was a chance of some small regressions for the padding of our cards after this migration. I have checked every
CardBody
andCard
that could be affected and removed some redundant padding styles!