I agree with taking her lead on it.
I'm in a very similar situation with my own DD at the moment, though for different reasons as in she's excelled all through school, but is such a perfectionist the stress of SATs, escalating health problems due to hormones kicking in & a "difficult"
new teacher are literally crushing her spirit & self esteem & making her yet more ill :(
Last term she was kind of where your daughter is now, though her friendship circle has decreased over this last year as I suppose as the eldest, she's kind if out grown a lot of them, but she wanted to be in school to be with her smaller group of friends.
Its got so bad this term that we are now removing her from school, SHE has had enough & friends or not she hates it & wants out - may be transferring to another local school - if we get in, which isn't under the added SATs pressure her current one is & is known to better with her disability, but it looks like for at least next term I am now H.E
We've arranged that she meets with some of her friends regularly after school, meet up in the library, or for an after school swim etc, that seems to have helped her be more at peace with it.
Might that work with your own DD??