I agree with politicallefty. Optics may have been slightly better if Barrett wrote the opinion, but someone who was the most junior member of the court in the last term would never write opinions for major cases. (And Barrett, to my knowledge, hasn't written any of the opinions released thus far. I would ask one of the legal experts how long a new justice typically has to wait before being assigned an opinion when they're in the majority.)
The Supreme Court has a tradition that the newest justice always writes the decision of the first unanimous decision after they take office. Not sure what that was for her but she definitely did. And thus Ketanji Brown Jackson will probably have her first decision before the end of the year.