I have been in my current position for about a year and a half now (have been with the organization for closer to 4 years) and my coworker was hired shortly after I got this position for a supporting role. Both of us were assigned to a project that should have been done well over a year ago as of today and it's been slowly inching along with me as the sole person with development expertise on it. However it's been dragging on so long without much progress so it is getting disheartening.
In addition, in my organization, everyone tends to end up being a jack of all trades (which is a topic for another discussion) so they assigned her to start doing development on a separate project as well about a year ago. To put it bluntly, she just doesn't have the head for it and for about half of the shared project, I've had to basically do the work vicariously through her. I've explained the technical details multiple times to her and they never seem to sink in. We're now at the last stage of development, she has run out of her tasks to do and I'm pretty much stuck working on the final section by myself but needing her and our client's input on some of the business rules.
The problem is that she has moved essentially full time to her independent project and is constantly harassing me for questions about "Why did this break? can you help me with this? I don't understand this and it's pissing me off." Not only that but I also get to hear all the details about her personal life completely unsolicited and I would prefer to not hear them. I believe at one point she had a crush on me but I entered a relationship with someone outside the organization shortly after this project started and am now happily married. In addition, this coworker has a boyfriend of her own and has been with him for about 6 months. If I ignore her Teams messages, she gets very upset and says she is very annoyed. Some days she will even put through voice calls and try and chew me out for ignoring her. Starting today I started putting my Teams on Do Not Disturb but the problem with that is I miss notifications for work that actually is a priority. She has admitted to me that she sees a therapist for certain mental conditions and because of that I am also a little concerned that if I continue to ignore her, she'll try to get me into trouble with our shared boss. I believe my boss wouldn't tolerate it but she is chummy with his boss and I don't feel he has the gumption to stand up and make things right. Another thing I have tried is being a little "snarky" and probably passive aggressive. Not surprisingly this hasn't really worked and potentially made things worse.
To make matters even more worse, I work permanently from home and she is in the office with a cube directly across from our boss. I'm really not sure the best course of action especially considering I do need some information she has but really everything else she is doing is completely distracting and I don't want to look bad because I don't have direct access to my boss like she does to avoid her potentially falsely disparaging me.
How do I proceed so that I can continue to work with her on a civil, professional level so that the organization can meet it's goals but stop her from a) talking about her personal life and b) distracting me from my own work by work that she has been assigned to do herself?