Closed benjaoming closed 7 years ago
Suggestion to NOT login protect this page:
Normal users should not see links to this page, but it could be valuable for an admin or dev to be able to display the page as debug information regardless of the user logged in.
We have been discussing that the data from cli.diagnose
takes a lot of processing to calculate depending on how many video files it's counting for storage stats.
So we need an AJAX callback and an API endpoint.
Re: DM from @mrpau-eugene
Or if I maybe I didn’t quite understand what you said, maybe you were talking about making an ajax call or something?
Yes, that's what I meant :) The async part is because the browser can render the page and then have Backbone + handlebars logic render the About page.
There's not a super reason to make it async on the backend... the About page won't be displayed by lots of users at the same time so blocking the main HTTP process isn't a problem I think.
Fixed in #5475 :)
Summary
Let's create a very simple page for the Admin login which displays a link in the user drop down, "About".
Page should display:
Output from
diagnose
: