I'm trying to keep track of the new UI and what needs to change in our js file. So far it looks like the course enrollment role detection is broken. It's no longer listed in the Nav menu. This was the old js code that we found somewhere.
if (jQuery("[data-id = " + ENV.course.id +"]").children().children("span.subtitle").not("span.enrollment_term").text() == "Enrolled as: " + srole)
Did someone find it elsewhere? It doesn't look like it's in ENV either.
Has anyone found any other problem areas?