be guided by analysis of principles rather than simple rules that treat cases as categories. Id. An appellate remedy is adequate when any benefits to mandamus review are outweighed by the detriments. In re Prudential Ins. Co. of Am., 148 S.W.3d 124, 136 (Tex.2004) (orig. proceeding). When the benefits outweigh the detriments, we must conduct further analysis. Id. An appeal is inadequate for mandamus purposes when parties are in danger of permanently losing substantial rights, such as when the appellate court would not be able to cure the error; the party’s ability to present a viable claim or defense is vitiated; or the error cannot be made part of the appellate record. Van Waters & Rogers, Inc., 145 S.W.3d at 210-11; Walker, 827 S.W.2d at 843-44. An appellate ) (orig. proceeding) (<HOLDING>); In re J.W.L., 291 S.W.3d 79, 83
recognizing that the issuance of a writ of mandamus is itself generally a matter of discretion holding that mandamus is appropriate remedy because temporary order granting visitation is not appealable holding that mandamus is an appropriate remedy because the trial courts issuance of temporary orders is not subject to interlocutory appeal holding that mandamus is appropriate to challenge temporary orders holding that mandamus was appropriate remedy because temporary order granting visitation is not appealable