-
-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redesign admin accounts index #9340
Conversation
Gargron
commented
Nov 24, 2018
•
edited
Loading
edited
- Make clear which accounts are deleted/suspended
- Make clear which accounts are bots/staff (via badges)
- Show when local account was last active and which IP it used
- Strip whitespace before filtering
- Default to not showing remote accounts
- Default to not showing suspended accounts
- Remove alphabetic ordering
- Fix Moderation accounts list is out of sync with the admin dashboard #9246
- Fix Additional filter "active accounts" for account moderation GUI #8190
- See also Inundated with spambots #8122
f393a04
to
929b4d1
Compare
- Display suspended status, role, last activity and IP prominently - Default to showing local accounts - Default to not showing suspended accounts
929b4d1
to
67d467d
Compare
262f7c9
to
5893bee
Compare
“Permissions” → “Roles”? “Permissions” kind of makes sense for Admin/Moderator/User, but not for bot |
Yeah I can see the sense in that but would prefer not to update all the locales just for this. |
@@ -63,7 +63,7 @@ function main() { | |||
content.textContent = timeAgoString({ | |||
formatMessage: ({ id, defaultMessage }, values) => (new IntlMessageFormat(messages[id] || defaultMessage, locale)).format(values), | |||
formatDate: (date, options) => (new Intl.DateTimeFormat(locale, options)).format(date), | |||
}, datetime, now, datetime.getFullYear()); | |||
}, datetime, now, now.getFullYear()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…what?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an unrelated fix. Public pages were displaying "Nov 28" even for dates 2 years back, unlike the web UI, which correctly displayed "Nov 28, 2016", because of this mistake
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, this seems like a good change. I would prefer the IP address tests being adapted rather than being deleted, though.
And there is this unrelated(?) JS change.
so the new default ordering is by "most recent" is that right? |
Yes. I have not found any practical uses for alphabetic sorting. |
* Improve overview of accounts in admin UI - Display suspended status, role, last activity and IP prominently - Default to showing local accounts - Default to not showing suspended accounts * Remove unused strings * Fix tests * Allow filtering accounts by IP mask