The Supreme Court have, as widely expected, ruled that Holyrood does not have the right to conduct an independence referendum without Westminster approval. Most importantly, this does not apply to holding a referendum in 2023; it applies to holding one ever.
The major consequence of this is that the SNP, and other pro-independence campaigners, need to drop any discussion of another independence referendum. That route is dead. Find some other route, and persuade people of it, or give up the fight.
Because Westminster will never authorise another referendum, as they know fine well there's a very good chance that they'll lose it, so that route is done. Whether it is a Tory government or a Labour one, it's done.