The fundamental question in the courts is how much evidence is enough. There are really no issues other than that.
The trial judge still has her head.
They did no such thing. They ordered that the lower court order putting CPS in charge, (sort of, actually granting them custody of the children) be vacated. That was all they were asked to do in the mandamus petition, and that's what they did.
They did point out that there were actions CPS and the lower court could have taken, far short of taking all the children, that would have been within the law, implying that the judge could order those actions taken, which in part she did.