حاليًا، يمكن ترتيب قسم المستخدمين حسب العديد من المعايير (من عدد الزيارات إلى المشاهدات، وصولاً إلى عدد الردود)، باستثناء ما أعتقد أنه معيار مهم: الترتيب حسب اسم المستخدم. لا توجد طريقة لترتيب قائمة المستخدمين (أبجديًا) حسب اسم المستخدم.
وبالمثل، عند استخدام البحث العام والفلترة باستخدام بادئة ‘@’، يتم عرض قائمة بأسماء المستخدمين الموجودة، لكنها أيضًا غير مرتبة أبجديًا — أفترض أنها تعرض الأكثر نشاطًا أولاً. الآن، أنا أتفق فعليًا مع هذا الترتيب، لكن مع ذلك، يبدو أنه لا توجد طريقة للحصول على قائمة أبجدية لأسماء المستخدمين في أي مكان.
ومن هنا، طلب ميزة: هل يمكن إضافة اسم المستخدم كمعيار ترتيب في الجدول الموجود في قسم المستخدمين؟ أتخيل أن يصبح عنوان عمود “اسم المستخدم” قابلًا للنقر، ويمكن نقل عدد النتائج إلى أعلى، ربما بجوار فلتر النطاق الزمني، أو بجوار مربع البحث.
The alignment of the Username header follows what other tables with users do in Discourse, like in the admin users list (where it is already possible to sort by username, but this is for the users).
The only other change is moving the number of results to the left of the filtering box where I think it is actually more easy to find than right now.
In small viewports it shouldn’t be a problem as the table columns are already larger than the size needed by the filtering controls at the top.
I am not against adding this, I wonder what @codinghorror thinks.
Additionally if prioritize username in ux is unchecked, that title should be “Name” not username and it should be “filter by name” no “filter by username”.
The table header on the first column changes to ‘Username’ (or Name, as per settings) and the number of results is moved next to the search box. Better mockup below.
The proposal does not strip any feature: the total user count is still there, only moved to the left of the filtering box where it is easier to find when searching:
Is it possible to have this looked into one more time please? I know this is not high priority, but I think it may have been dismissed due of a misunderstanding of what was being proposed. This would not strip any feature away. Please see my previous post for the details. Thanks.
OK I am putting a pr-welcome on your mockup, if someone from the community can swing it accounting for mobile and ensuring indexes are right then we can do this.