soscripted / sox

Stack Overflow Extras: a userscript for the Stack Exchange websites to add a bunch of optional toggle-able features
http://stackapps.com/q/6091/
MIT License
72 stars 15 forks source link

Sort the flag-summary based on outcome time, so the top entries are the most recent resolved. #499

Open risner opened 1 year ago

risner commented 1 year ago

Sorting the flag summary based on outcome time helps one notice what has changed quickly.

Use case Reduces time hunting the list for your most recent flag with a status change.

shu8 commented 1 year ago

Hi @risner, thank you for reposting this on GitHub!

I had a look at the flag page -- it looks like it is paginated and there's no API for getting the user flags, so the only way to do this would be to GET all the pages, extract all the posts, and sort.

So this is possible but might take a bit more time than I have right now. I'll leave this feature request open as contributions-welcome, but if I do get time soon I will try adding it!

shu8 commented 1 year ago

For reference, I saw a Meta post requesting this feature: https://meta.stackexchange.com/questions/347234/allow-sorting-flags-by-handling-time-instead-of-flagging-time-on-the-flag-histor, which may be worth keeping an eye on!