Skip to content

'Force page reload' setting is confusing #63599

Closed

Description

@jameskoster

Force page reload
Experimental full-page client-side navigation setting enabled.

The label and help text for this setting do a poor job of describing exactly what it does.

Activity

  1. added
    [Type] Enhancement
    [Block] Query Loop
    on Jul 16, 2024
  2. jameskoster commented on Jul 16, 2024

    @jameskoster
    ContributorAuthor

    Generally speaking the circumstances in which a user would actively want to enable this option are extremely rare. For that reason alone we might consider moving it to the 'Advanced' panel.

    The language might be refine like so:

    reload

    cc @WordPress/gutenberg-design

  3. added
    Needs Design Feedback
    on Jul 16, 2024
  4. richtabor commented on Jul 17, 2024

    @richtabor
    Member

    Generally speaking the circumstances in which a user would actively want to enable this option are extremely rare.

    What are those circumstances?

  5. carolinan commented on Jul 18, 2024

    @carolinan
    Contributor

    The option is enabled by default, it is not clear to me if you meant that the default behavior should be the on page pagination, or if you meant that enabling the on page pagination is rare.

  6. jameskoster commented on Jul 18, 2024

    @jameskoster
    ContributorAuthor

    What are those circumstances?

    I don't know, to be honest.

    @carolinan I'm saying the copy associated with the control doesn't describe what it does very well, leading to confusion. Also that it's rare that you'd want to enable it in the first place.

    Moving it to the Advanced panel would reduce visibility. A more aggressive approach would be to hide the control from the UI altogether.

  7. carolinan commented on Jul 18, 2024

    @carolinan
    Contributor

    That's the confusion, the toggle is enabled by default. So you mean that toggling it off would be rare?

  8. jameskoster commented on Jul 18, 2024

    @jameskoster
    ContributorAuthor

    So you mean that toggling it off would be rare?

    No haha, it's the other way around. When it's toggled on the full page is reloaded, which isn't something I can ever see a user wanting to do. So toggling on would be rare, and it should 100% be toggled off by default.

  9. carolinan commented on Jul 19, 2024

    @carolinan
    Contributor

    To me, saying that "the label and help text is confusing" and changing the default behavior of how links work are two separate issues.

    • Has the underlying reasons for why this option was chosen to be enabled by default changed?
    • And have all the problems related to the third-party blocks in the query been solved?
      I believe the answer to the second question is yes, not sure about the first.
  10. jameskoster commented on Jul 19, 2024

    @jameskoster
    ContributorAuthor

    I agree, but it's not clear to me what the default behavior is. It would be good to clarify that definitively.

    In my local environment it's toggled off when I insert a Query Loop, which is what I'd expect. It gets toggled on only when there are incompatible blocks in the Query Loop.

    Rich's question is a good one though. Regardless of what the default is, when would a user ever want full page reloads? If the answer is never then maybe the setting can be hidden from the UI.

  11. carolinan commented on Jul 20, 2024

    @carolinan
    Contributor

    I have never seen it toggled off by default. Not even on a fresh WP install that only has the Hello World post and I insert a query, choosing the "start blank" option with only a title and excerpt. Blocks that should not prevent the option from being changed.

    When the option can not be changed, when it can't be toggled off because there are non-compatible blocks, the toggle is disabled and this message shows:
    Force page reload can't be disabled because there are non-compatible blocks inside the Query block.

  12. jameskoster commented on Jul 22, 2024

    @jameskoster
    ContributorAuthor

    I just tested on a fresh https://playground.wordpress.net/ site and you're right, the option is toggled on by default there. I wonder why that's not the case in my local environment.

    I don't see a good reason for this to be toggled on by default, do you?

    Making off the default state, moving the control to the Advanced panel (to reduce visibility), and tweaking the copy still feel like good changes imo.

  13. jarekmorawski commented on Jul 22, 2024

    @jarekmorawski
    Contributor

    I wonder if it could be specific to Playground? Maybe there are constraints around the Interactivity API and how it needs a specific site setup. Maybe it isn't compatible with Playground's local setup? Feel free to disregard this suggestion, but maybe there's some nuance we're missing.

    If that isn't the case, I can't think of a reason we'd turn the toggle on unless there are incompatible plugins and/or features. Interactivity API is the future and we should default most sites to it.

  14. 21 remaining items

  15. jameskoster commented on Aug 6, 2024

    @jameskoster
    ContributorAuthor

    We'd also like to improve the text (per the original purpose of this issue)

    Yes, let's concentrate on that here, everything else is clearly a bigger discussion.

    How do we feel about Force page reload → Reload full page?

  16. michaelpick commented on Aug 6, 2024

    @michaelpick

    Yes, let's concentrate on that here, everything else is clearly a bigger discussion.

    How do we feel about Force page reload → Reload full page?

    +1. I think the proposal at the top of this issue makes this setting a lot clearer:

    image

    Commas, em-dashes, or parentheses might further aid readability?

    • Reload the full page, instead of just the posts list, when visitors navigate between pages.
    • Reload the full page—instead of just the posts list—when visitors navigate between pages.
    • Reload the full page (instead of just the posts list) when visitors navigate between pages.

    A few alts for coverage, but I'm not convinced they improve on the original solution:

    • Reloads the full page when visitors navigate between Query Block pages.
    • Reloads the full page, rather than just the posts list, when visitors navigate between the block's pagination.
    • Reloads the entire page when visitors navigate between the block's paged items paginated items.

    One more thought—it's always a bit of a toss-up between concision and providing a rationale as to why someone would want to take a specific action. Is there a pithy, universal reason we could cite? It sounds like it’s primarily to resolve certain block compatibility issues? Even something as simple as one of these could help the user make a decision, but I appreciate that there are tooltips and documentation that might be a better option:

    • This can help with block compatibility issues.
    • This can resolve compatibility issues.
    • This can resolve block incompatibility issues.
  17. jameskoster commented on Aug 7, 2024

    @jameskoster
    ContributorAuthor

    We can probably finesse the help text in a PR. I think the main thing is to update the label.

  18. added
    Needs Dev
    and removed
    Needs Design Feedback
    on Aug 7, 2024
  19. richtabor commented on Aug 27, 2024

    @richtabor
    Member

    For that reason alone we might consider moving it to the 'Advanced' panel.

    Any reason why we shouldn't do this as a first step?

  20. carolinan commented on Aug 28, 2024

    @carolinan
    Contributor

    For that reason alone we might consider moving it to the 'Advanced' panel.

    Any reason why we shouldn't do this as a first step?

    If the goal is to first have more people using and testing it, hiding it may do the opposite.

  21. jasmussen commented on Aug 28, 2024

    @jasmussen
    Contributor

    First step can be updating the label, as suggested here. A next step can be moving it to the Advanced panel. Whether that's a good idea or not, isn't clear to me; it resonates because it's probably not a setting you need to change that often. And yet it the main feedback has been the lack of clarity of labels.

  22. afercia commented on Aug 28, 2024

    @afercia
    Contributor

    It seems to me that you don't quite understand how search engine crawlers work yet, because, even though that was fixed, not updating the title on client-side navigation doesn't affect SEO.

    Crawlers fetch the HTML of the pages and analyze it, but they do not navigate using JavaScript. When they see links, they add that URL to their list and fetch the new page again. Since the HTML doesn't change when the enhanced pagination is active, for search engines, there is no difference between a WordPress site with enhanced pagination and a site without it.

    @luisherranz that is just incorrect. You may want to read the basics of how JavaScript SEO works in this article on Google Search Central. I'll skip over any comments about individual skills because I don't think they contribute positively to the collaboration on this project but I have to say that I didn't particularly appreciate your language and tone in your previous comment. Thanks.

    Understand the JavaScript SEO basics
    https://developers.google.com/search/docs/crawling-indexing/javascript/javascript-seo-basics

  23. luisherranz commented on Aug 28, 2024

    @luisherranz
    Member

    @afercia, you are confusing client-side navigation of server-side rendered HTML (what WordPress with the Interactivity API can do) with pure client-side rendering (what single-page applications without support for server-side rendering do).

    Would you like to move our conversation to a separate discussion to avoid interrupting the main discussion on this issue?

  24. added
    [Status] In Progress
    on Sep 5, 2024
  25. afercia commented on Sep 9, 2024

    @afercia
    Contributor

    @afercia, you are confusing client-side navigation of server-side rendered HTML (what WordPress with the Interactivity API can do) with pure client-side rendering (what single-page applications without support for server-side rendering do).

    Would you like to move our conversation to a separate discussion to avoid interrupting the main discussion on this issue?

    I will ask the SEO specialists in the company I work for to better evaluate potential impact of this feature before creating a new issue. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Needs Dev[Block] Query Loop[Status] In Progress[Type] Enhancement

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions