Map and autosave issues

This topic contains 35 replies, has 4 voices, and was last updated by  Matt 5 years, 8 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #502671

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    #502741

    Matt
    Lifetime Member
    Post count: 38

    Hey Kiran, that was an issue with the host’s firewall and I’m told it’s been resolved now.

    #502797

    Kiran
    Moderator
    Post count: 7069

    Glad to hear that issue resolved.

    Thanks for letting us know.

    Kiran

    #503100

    Matt
    Lifetime Member
    Post count: 38
    This reply has been marked as private.
    #503149

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    I can see what you mean, that the autosave notification returns quickly, as soon as the page is refreshed.

    Is it having any other effects?

    Have you already checked the revisions settings in wp-config.php

    #503150

    Matt
    Lifetime Member
    Post count: 38
    This reply has been marked as private.
    #503151

    Matt
    Lifetime Member
    Post count: 38

    Also what is the normal WP autosave behavior? If the ‘Edit Store’ page is opened but nothing is changed, should there be a popup warning about unsaved changes when exiting the page?

    And then when coming back to the page the next time – having not changed anything before – there shouldn’t be the blue message about unsaved changes being applied, correct?

    #503159

    Alex Rollin
    Moderator
    Post count: 27815

    It is similar to the normal behavior. As soon as a change is made to the page then it is the beginning of a new revision.

    However, it is showing up so quickly, and without changes, your users will be sure not to lose anything in their draft.

    The developers will take another look as soon as they can.

    #503330

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    #503418

    Matt
    Lifetime Member
    Post count: 38

    Hi Kiran, I’m not seeing the popup warning about unsaved changes like before, that’s a definite improvement.

    Regarding the message on the edit page – “Hey, we found some unsaved changes…” – the first time I went to your test page I did not see it. But returning to the page a second time brought back the message, and it has stayed there even after clearing cache. I can click to dismiss it and save the page, and the next time visiting it won’t be there, but leaving and coming back to the page will trigger it again, even with no changes made.

    That’s where I think it could be confusing for the user if that message is presented regardless of whether any changes were made. The user is being told “Hey, we found some unsaved changes from earlier and are showing them below.” But there are no changes to find, and the user is left looking for supposed changes that don’t exist. This will happen every time they visit the edit page and don’t make a change.

    The message then says “If you would prefer to start again then please click here to remove this revision.” A user may think “I don’t want to start all over. So I better not click it.” They can leave the page without clicking that message but it’ll be there when they return. If they click it and save the page, it’ll be gone temporarily but will return in subsequent page visits, even if no changes are made.

    It all seems unnecessarily complicated. Why not only present that message if actual unsaved changes exist?

    Also,

    1. Regarding the “minor changes for autosave execution” that you made – is this a setting or adjustment that I can make on my other sites?

    2. If I decide to turn off autosave, I have the snippet below. Do you forsee any problems or conflicts using it?

    
    add_action( 'admin_init', 'disable_autosave' );
    function disable_autosave() {
            wp_deregister_script( 'autosave' );
    }
    

    3. What do you think is the reason for older autosaves suddenly showing up on the main edit pages? Guust mentioned some JSON errors related to caching, is that something that can be fixed?

    Thanks!

    #505260

    Matt
    Lifetime Member
    Post count: 38
    This reply has been marked as private.
    #505307

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #505529

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    #505596

    Matt
    Lifetime Member
    Post count: 38
    This reply has been marked as private.
    #505617

    Matt
    Lifetime Member
    Post count: 38

    Another idea, since hiding that message isn’t the best solution.

    What about changing it from:

    ‘Hey, we found some unsaved changes from earlier and are showing them below. If you would prefer to start again then please click here to remove this revision.’

    to something like:

    ‘Hey, we’re showing the last auto-saved version of your listing. If there were any unsaved changes they’ll appear below. You can click here to remove/dismiss this last revision and continue with the previous version.’

Viewing 15 posts - 16 through 30 (of 36 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount