ترتيب أسماء المستخدمين أبجدياً

أثار أحد أعضائنا هذه النقطة ويبدو أن لها منطقًا.

حاليًا، يمكن ترتيب قسم المستخدمين حسب العديد من المعايير (من عدد الزيارات إلى المشاهدات، وصولاً إلى عدد الردود)، باستثناء ما أعتقد أنه معيار مهم: الترتيب حسب اسم المستخدم. لا توجد طريقة لترتيب قائمة المستخدمين (أبجديًا) حسب اسم المستخدم.

وبالمثل، عند استخدام البحث العام والفلترة باستخدام بادئة ‘@’، يتم عرض قائمة بأسماء المستخدمين الموجودة، لكنها أيضًا غير مرتبة أبجديًا — أفترض أنها تعرض الأكثر نشاطًا أولاً. الآن، أنا أتفق فعليًا مع هذا الترتيب، لكن مع ذلك، يبدو أنه لا توجد طريقة للحصول على قائمة أبجدية لأسماء المستخدمين في أي مكان.

ومن هنا، طلب ميزة: هل يمكن إضافة اسم المستخدم كمعيار ترتيب في الجدول الموجود في قسم المستخدمين؟ أتخيل أن يصبح عنوان عمود “اسم المستخدم” قابلًا للنقر، ويمكن نقل عدد النتائج إلى أعلى، ربما بجوار فلتر النطاق الزمني، أو بجوار مربع البحث.

6 إعجابات

I agree that at a certain forum size having an extra sort option here by username and name can make sense.

Getting the UX right is tricky, feel free to shoot off any visual mockups so we can evaluate.

3 إعجابات

Here’s a simple mockup just to help visualize this:

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.

إعجابَين (2)

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”.

6 إعجابات

I don’t see any difference between the mockup and what happens now on the users page?

I’d need to see at least one enterprise customer asking for this before we proceed.

إعجابَين (2)

Diff here is that currently you can not click on the “Users XYZ” column to sort by username/user:

image

Fair enough this thing can wait. I don’t feel any rush here at all and this can wait.

To be honest it is only ever really something you would want on enormous communities where 100s of users are called “Jane”

Given we don’t really have a go ahead (and the proposal strips a feature - total user count) I am going to withhold the pr-welcome tag for now.

5 إعجابات

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:

The current state, just for ease of comparison:

8 إعجابات

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.

إعجابَين (2)

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.

8 إعجابات

تم دمج طلب السحب (PR) هذا في الفرع الرئيسي (master)

7 إعجابات