على سبيل المثال:
“لم يبدأ هذا المستخدم أي مواضيع بعد” منطقي أكثر لأنه صحيح نحويًا، وفي هذه الحالة، يشير “أنت” إلى المستخدم الذي يعرض الصفحة، ولكن لا يمكنه التصرف نيابة عن الآخر.
9 إعجابات
andrei
(Andrei Prigorshnev)
31 مارس 2022، 4:09م
3
تضيف هذه المراجعة للطلب رسالة “%{username} لم يبدأ أي مواضيع بعد” عند النظر إلى صفحة مستخدم آخر:
main ← ux/cleaner-messages-for-empty-state-on-the-user-activity-topics-page
opened 06:34PM - 23 Mar 22 UTC
We were using blank page copy with the word “you”, even when viewing someone els… e’s profile:
<img width="500" alt="Screenshot 2022-03-23 at 19 25 11" src="https://user-images.githubusercontent.com/1274517/159770373-7dfc0e45-de8f-47c6-939f-0177c630adc7.png">
After this fix we'll be showing "{username} hasn't started any topics yet" instead.
I also fixed a confusing API that I introduced myself some time ago. In this PR I introduced the `isCurrentUser` function instead of `isAnotherUsersPage`. I didn't remove `isAnotherUsersPage` yet because there exists a usage of it on a plugin. I'll take care of it after merging this PR.
أيضًا، إليك إصلاحات لنفس المشكلة في صفحات أخرى:
4 إعجابات
andrei
(Andrei Prigorshnev)
تم إغلاقه في
4 أبريل 2022، 6:00ص
4
تم إغلاق هذا الموضوع تلقائيًا بعد 3 أيام. لم يعد يُسمح بالردود الجديدة.