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
Webviews: confusion over existing behavior for viewing published posts from the post list #9649
Comments
I agree that this is confusing and goes against the users' expectations. My recommendation would be to change the behavior for viewing published posts. |
Note: the update recommended in #8884 (comment) would solve the remaining problems noted in this issue. |
I'd like to add an additional ticket which is somewhat related - the user wasn't sure why they couldn't enter the password for a protected post in this preview. |
Note: |
Sharing buttons not showing in previews came up in 14.1 beta testing. See #11199. |
@designsimply I am currently looking into this issue and the solution would be to exclude the |
@jd-alexander I'm looking back to this because some similar issues have come up for the iOS app recently. Regarding the view count, if the site owner is authenticated shouldn't that also avoid their own visit from getting counted in stats?
Source: https://wordpress.com/support/stats/ cc @guarani as it's tangentially related to wordpress-mobile/WordPress-iOS#15296 on iOS. |
Yes, I would expect that to be the behavior @designsimply :) I am going to have a look at this on Monday to see what's happening inside the Android app. |
Hi @designsimply I haven't forgotten about this. I am just busy with the File Block project for mobile Gutenberg and I haven't gotten to this task in my list as yet. I am just giving you an update so you know I remember about it. |
No problem! Thank you for looking at it when you have time, that's perfect. It will be good to wrap this one up so we can let the mobile happiness engineers know if anything with the view counts is awry as I know users bring that up from time to time. They love stats!! It will also be good to be aware of the recent iOS changes to Previews and make sure both platforms are consistent. We have some changes being worked on for 16.2. See wordpress-mobile/WordPress-iOS#15296. Not urgent. Medium priority (because it's come up elsewhere recently). |
Looks like this didn't make it back into the last maintenance rotation (and that's okay), so let's just note that we can leave it in the Groundskeeping To Do list for later consideration but also watch out for any new user mentions about this problem and we can raise the priority if we get more feedback from users about it. |
👋 @designsimply and @jd-alexander !
I am concluding the same.
I have the exact same question.
I am not sure what you mean if the site owner is authenticated, but what I am experiencing is that when you open the preview it launches a web-view without including credentials, as such the site owner is actually not authenticated on this instance, which leads their viewing being counted in stats. However, bare in mind that I am using an atomic site (jetpack connected), and as such I am going through the below flow:
For completeness purposes, there exist 4
Yes, I skimmed through the iOS changes as well and although I am not yet fully aware of all the related iOS changes, code-wise, I too agree that we should make sure both platforms are consistent. But, before me going that route I just wanted to make sure I am on the correct path, thus me asking the above questions. @designsimply and @jd-alexander , would you mind letting me know if I am missing anything before progressing any further with any implementation or even further investigation? |
Expected behavior
When users go to My Site > Blog Posts > View to view a published post on their site, they expect the post to behave the same as it does when they view the post on the front of their site or when they view the post from the same place in Calypso web.
Actual behavior
All posts (published or not) are shown in preview mode (with
?preview=true
appended to the post URL). This changes the way the post behaves, e.g. doesn't show sharing buttons (see #8007) and shows comments as closed even if they aren't.This makes sense for previewing unpublished posts, but it goes against user expectations for published posts and causes confusion. Is there a better way to manage these expectations, or should we change the behavior for viewing published posts?
Steps to reproduce the behavior
Tested on [moto e5 play], Android [8.1.0], WPAndroid [alpha-163]
The text was updated successfully, but these errors were encountered: