def get(self, request, index, *args, **kw): """Returns a rendered HTML version the requested user dashboard.""" ar = BaseRequest(request) ar.renderer = settings.SITE.plugins.react.renderer ar.requesting_panel = f"dashboard-{index}" dash = ar.get_user().get_preferences().dashboard_items if len(dash) > index: html = ar.show_story([dash[index]]) else: html = "" ar.success(html=html) return json_response(ar.response, ar.content_type)