If any part is green I keep it. I like a challenge, some you win some you lose. I'm glad you didn't pitch it as someone suggested. It's a great way to learn what works and what doesn't. Some orchids just want to survive. Please post a pic when it blooms.
Aww beautiful flower too! Good for you, feels good when you think it's on the way out and you can help it along, keep it growing. I have a mini Phal finally growing roots and new leaves. My first and only rescue but it was too cute with its tiny white flowers. One day it will bloom again. You should be proud, nice growing.