Skip to main content
Parked

Warn user before closing tab with unsaved changes (e.g. Text in the textbox which was not submitted yet)

Related products:CC Topic Creation
  • December 30, 2021
  • 9 replies
  • 63 views

Daniele Cmty

Hi all,

I just stumbled upon the following idea:

 

I have an idea for the same problem, but with a different (possibly simpler?) solution

 

The Problem.

Scenario: some of our users (and esp. our moderators) are writing a well thought-out reply in the text box. They take a small break (slack notification, or they need to do research before completing the reply) and then accidentally close the tab and lose everything. Problem is that there is no warning before closing the tab.
They then have to type the whole comment again, often with lots of frustration. 

Our current workaround.

Whenever I write a reply, i have taken the habit to Ctrl+A & Ctrl+C  the heck out of it, just to make sure the content is at least in my clipboard. in some instances, I also copy that text into my slack textbox so I know it’s really safe. We admins know this workaround (which isn’t the most pleasant one esp. if we have to do it every time) but it’s not really something that we wanna broadcast to the whole community. “Hey btw, you might lose your WIP comments if you’re unlucky, so make sure to always safeguard your reply somewhere!” 
BTW: This also applies to topics, not only replies.

Proposed solutions.

Either an autosave function just like @m4rc suggested above.
OR

What would be good enough is a kind of browser pop-up before closing the tab or the window, to prevent the tab from closing. So if you close the tab by accident,  you click on cancel and you’re back to your in-progress comment.
Other sites/forums also have this and it’s saved me lots of frustration.

 

 

 

  1. @inSided, would you consider releasing this feature?
  2. Otherwise, is this  something that I can already implement manually with some sort of third-party script?

Thanks for coming to my TED Talk!
Happy holidays, 
Daniele

9 replies

Daniele Cmty
Forum|alt.badge.img+1
  • Author
  • Helper ⭐️⭐️
  • 274 replies
  • January 10, 2022

Dear Community,

I just noticed that the above popup (see above screenshot) also appears when you attempt to close a tab in the backend while writing an Article, Conversation or Product Update from the Create Module.

 

 

This however does not happen when writing a reply through the backend nor the frontend.

It would be a fantastic feature, especially for our users in the frontend.
Would it be possible to have it made available in the frontend?

Happy to hear other suggestions or workarounds too.

 

Best,
Daniele


xiaoyu-shen
  • Helper ⭐️⭐️
  • 341 replies
  • January 19, 2022

Hi @Daniele Cmty thanks for spotting the issue and sharing with us with all the detailed thoughts. 

I totally agree with you about the user problem here: it’s annoying to lose the content that you’re entering accidentally in both the backend and the frontend. 

Let me check with the team about fixing this. I’ll put this idea to open in the mean while. :) 


xiaoyu-shen
  • Helper ⭐️⭐️
  • 341 replies
  • January 19, 2022
Updated idea statusNewOpen

Daniele Cmty
Forum|alt.badge.img+1
  • Author
  • Helper ⭐️⭐️
  • 274 replies
  • July 14, 2022

Let me check with the team about fixing this. I’ll put this idea to open in the mean while. :) 
 

 

Hi @xiaoyu-shen, do you know if there is any update about this? :)

 


Daniele Cmty
Forum|alt.badge.img+1
  • Author
  • Helper ⭐️⭐️
  • 274 replies
  • July 14, 2022

Best regards, Daniele 🌸


nikhilnagrale
  • Gainsight Employee ⭐️
  • 1 reply
  • January 30, 2023

Hi @Daniele Cmty, The above feature request showing "Leave Page Browser Modal" when user having unsaved changes and try to close the tab or reload the tab has been added on control topic moderation pages and the topic pages in destination except topic creation page on destination because of technical restriction.


Cristina
Forum|alt.badge.img+1
  • Helper ⭐️⭐️⭐️
  • 530 replies
  • January 30, 2023
OpenDelivered (Partially)

Daniele Cmty
Forum|alt.badge.img+1
  • Author
  • Helper ⭐️⭐️
  • 274 replies
  • January 30, 2023

Yahoo!! 🤩
Pity it doesn’t work on the Frontend Topic Creation Modal, but for the comment section it’s a huge help already.
Thank you so much for implementing this!!

 


Daniele Cmty
Forum|alt.badge.img+1
  • Author
  • Helper ⭐️⭐️
  • 274 replies
  • January 30, 2023

No more moments of frustration after wasting all the effort that went into a looong comment :)


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings