wordpress-mobile / WordPress-Android

WordPress for Android
http://android.wordpress.org
GNU General Public License v2.0
2.98k stars 1.32k forks source link

'My Profile' option can't be find in 'Me' page while debugging. #21289

Open Agoni-0 opened 2 weeks ago

Agoni-0 commented 2 weeks ago

Expected behavior

While using the app, the 'My Profile' option is visiable. 微信图片_20241010190118

Actual behavior

The 'My Profile' option is missing while debugging. I couldn't test how the 'My Profile' page works. image

Steps to reproduce the behavior

Run the code. ->Me

Tested on Huawei, Android 12.0
dangermattic commented 2 weeks ago

Thanks for reporting! 👍

nbradbury commented 2 weeks ago

@Agoni-0 I'm unable to reproduce this. Based on your screenshot, it looks like "Account Settings" is missing, too. Any chance the screen is simply scrolled down, and scrolling up reveals those items?

Agoni-0 commented 2 weeks ago

@nbradbury I showed the full page. It doesn't seem to be an issue with scrolling screens. The problem happended while I was running the 'WordPress Pre-Alpha' app to test my work. Maybe I used the wrong way to test the work?

nbradbury commented 2 weeks ago

@Agoni-0 Apologies, I should've realized this but it seems that "My Profile" only appears for WordPress.com accounts.

Agoni-0 commented 2 weeks ago

@nbradbury I totally agree with you. And this brings difficulty to test functions in "My Profile" and other options. I think it's nessary to provide a solution to this problem.

Agoni-0 commented 1 week ago

Is it necessary to modify this problem? If necessary, I would like to give it a try. I have read the code and found we only want to show user details for WordPress.com users in the comments of related codes. image If I want to show My Profile, I need to change lots of codes, like creating a new My Profile row which using predetermined data instead of using data obtained through network requests.