We got the live-updating mail aliases page out for #724 as a high-prority thing for our staff; hooray. There is some cleanup on the mail aliases code that still needs to happen, however. Here are some initial things to look at:
the JSON processing code throws information about whether the dictionary it's looking at is an email or a note too early; this information should be retained until later in the code so that the template can be aware of whether it needs to render HTML for an email address or render HTML for a note
some of the code is doing the same thing in two different ways, for example a list comprehension wrapped in a while loop; this should be made uniform
the mail aliases page should handle all possible errors elegantly, with an error message in the browser rather than an internal server error
We got the live-updating mail aliases page out for #724 as a high-prority thing for our staff; hooray. There is some cleanup on the mail aliases code that still needs to happen, however. Here are some initial things to look at: