I did a rewatch of Season 8 over the weekend and while I agree with those that feel the writing was rushed, I have to say, for the most part, I am pleased with what was done with Sansa's character. And I have to admit, I am still pleasantly surprised Sansa came through the show as a winner. During Season 8's initial airing, I expected Sansa to be on the losing end. She was in opposition to what the "1 in a thousand year, immune to fire, dragon birthing" Daenaerys Targaryen wanted. I expected the story to either kill Sansa off so the Magical one could get her way or have Sansa fall in awe of her, like everyone else in the story did, at some point.
After the physical abuse by Joffrey (his guards), the emotional abuse by Cersei, the psychological abuse by Littlefinger and the physical/emotional/sexual abuse by Ramsay, I would have thought less of Sansa, if she had fallen in line and voluntarily surrendered the North and the power that came with it being independent of the Iron Throne. While stopping the White Walkers was a group effort on the part of the combatants (Wildings/Northerners/Unsullied/Dothraki/Dragons), Winterfell would be in the hands of the Boltons if not for Sansa (Jon wanted to take Sansa and go someplace "warm", she had to brow beat him and press the Rickon issue to get him back in the game) and no force would have been put in place to stop the Zombie event horizon.
One thing I do wish the show had done better was articulate a little more with regards to Sansa's motivation. There were a few compelling reasons she could have been so dead set against the North continuing as part of the other 6 Kingdoms. The Iron Throne had her Father beheaded, The Iron Throne had her held prisoner and beaten, The Iron Throne had her married to an enemy of her family (Tyrion), The Iron Throne arranged the grizzly murder of her Brother and Mother. The Iron Throne stripped House Stark of it's standing and made House Bolton the Wardens of The North. To flee the Iron Throne she took on a false identity. And to shatter an alliance held by the Iron Throne, she was married to Ramsay (into House Bolton). That's a lot of bad road.
If Sansa had been made to bend the knee and subject to the wants and whims of Daenaerys, who's to say Dany's heir (whomever she named) wouldn't have other plans for the North eventually? Jon was not an asset on the Political Stage, so a marriage would have been to Dany's benefit only. We saw that in political matters, Dany influenced Jon, not the other way around. Being bosom buddies with the Iron Throne never did the North any good (Ned and Robert were like Brothers and that didn't save House Stark from everything it went through).
When it looked like the power struggle was over (look at the smug on Dany's face when Jon tells Sansa to sit down and shut up during the strategy meeting) Sansa weaponized the only thing she had left, the truth about Jon pedigree. Sansa doesn't just fold her hands and gracefully accept defeat anymore. I like that. She didn't commit mass murder, she's not passing her child off as someone he/she isn't, she didn't even resort to poisoning someone's wine. Like her maneuvering in the Vale, she's used the truth to her advantage (and her rivals disadvantage). To topple her political enemy and secure power for her House (and herself), she broke a promise to keep a secret and told the truth. It was an impressive and artful gamble.
There are the clear issues, Sansa has with being powerless. They also could have explored how her desires related to Robb and Catelyn and what they were murdered for. But I understand time was limited and Sansa is only one character.
I wish there had been more or at least more nuance provided but overall, I'm just ecstatic Sansa ended alive. She's Queen in the North. For the moment she has a good rapport with the Iron Throne, The Hand of the King and The Vale. Her hair and wardrobe were Flawless this Season and though contentious, the writers provided her some very memorable character interactions. I don't worry about her being alone because, Sansa has been alone for years. Not physically but in terms of interest in her well being and that of her House. It was never a priority for Joffrey, Cersei, Tywin, Olenna (to be honest), Lysa, Roose or Ramsay.
She'll marry when she feels she needs to, in order to secure succession for House Stark, her comment to Bran clearly shows it's something she considers a requirement for ruling. In my mind, it's a Northern Lord that looks like Bjorn from Vikings (Circa Seasons 2-4).