<% @header [("title", ["Support quality statistics"])]; val days = case $"days" of "" => 7 | days => Web.stoi days; if $"cmd" = "list" then %>
Show me the entries from the last days.
<% foreach qos in Qos.recent days do %> <% end %>
Kind Description User Placed Response Closed
<% switch #kindUrl qos of SOME url => %><% end %><% Web.html (#kind qos) %><% switch #kindUrl qos of SOME _ => %><% end %> <% switch #url qos of SOME url => %><% end %><% Web.html (#name qos) %><% switch #url qos of SOME _ => %><% end %> <% Web.html (#uname qos) %> <% #stamp qos %> <% switch #pstamp qos of NONE => %>-<% | SOME stamp => stamp end %> <% switch #cstamp qos of NONE => %>-<% | SOME stamp => stamp end %>
<% else %>

List all recent support requests

Refresh statistics to include the last days.



<% val stats = Qos.reportCard days %>
Kind Total resolved issues Minutes to resolve
APT packages <% #count (#apt stats) %> <% #minutes (#apt stats) %>
Domains <% #count (#domain stats) %> <% #minutes (#domain stats) %>
Mailing lists <% #count (#mailingList stats) %> <% #minutes (#mailingList stats) %>
Security <% #count (#sec stats) %> <% #minutes (#sec stats) %>
Miscellaneous <% #count (#closed (#misc stats)) %> <% #minutes (#closed (#misc stats)) %>

Additionally, <% #count (#pending (#misc stats)) %> miscellaneous support requests placed in this period have at some time been marked as pending or closed, and it took on average <% #minutes (#pending (#misc stats)) %> minutes to do so.

<% end %> <% @footer [] %>