Apparently there is going to be an agreement in the coming days and a possible ceasefire
Well, it seems like Zelenskyy wants to accept Ukraine not joining NATO, according to news sources I've read. So that's one of the main things Russia is concerned about, and would bring them closer to an agreement.
I don't think Putin wants to level Ukraine, he would rather just have everything go his way and be able to pull back, and might still get it without having to do much more damage. In my opinion the biggest problem he has is the image of Russia being Ukraine's mortal enemy, when it would go much better for Russia if Ukraine felt like a supported, included ally, albeit lower down the hierarchy. The damage already done to the cities will make it hard for that sentiment to grow.
Also, if Russia do end up in control of the region with Ukraine included, it's difficult to say whether the West did them more harm than good by portraying them on the world stage in an image they struggled to live up to, and supplying them with weapons that might end up doing nothing more than causing a bigger backlash, all the while refusing to actually go in and support them militarily.
It would be interesting to know what the perspective is in Ukraine among the general population, I don't pretend to know what it feels like for someone to live there, but it could well be very different to what we see on the news. The reality is that Ukraine didn't really find a great ally on either side. That's why these kind of small border countries need to operate very skillfully and not let themselves be pushed around like pawns that both sides might be fine in sacrificing for their broader strategies.