A nice design would be: When you park the car, solar panels cover all the windows or open like flower petals from the roof for maximum power harvesting.
That’s too many moving parts. Hell I would settle for covering up my windshield in the hot sun automatically with no ridiculous collapsible sun shades needing that janky visors