Am I right that they had to do extensive repairs to it after the April launch?
That’s correct. In April, it was badly damaged. They redesigned it and built to the new design.
This is why we have "test flights". They are not intended to be successful but intended to reveal flaws that can then be improved upon for future test missions.
People don't realize just how successful SpaceX is. The Falcon 9 project has already launched 70 successful missions in 2023, with 12 flights a month planned for 2024. The Starship project now has two test flights behind it, with many more planned.
SpaceX has now launched over 5,000 Starlink satellites into orbit and they are only just beginning. Elon Musk is quietly gaining control of the entire internet (as Starlink will soon offer global access to internet/cellular communications at super fast speeds). This will outperform current land-based communications infrastructure.
Am I right that they had to do extensive repairs to it after the April launch?
—
Yes you are; they modified a lot of stuff and installed the water deluge system, which seems to have done the trick for the 2nd launch.